Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
仮想マシンにおけるスタックの管理
Search
monochrome
July 11, 2021
Programming
0
180
仮想マシンにおけるスタックの管理
言語処理系Slackミートアップ#4(2021/07/11)
monochrome
July 11, 2021
Tweet
Share
More Decks by monochrome
See All by monochrome
My own Ruby, thereafter
sisshiki1969
0
270
Running Optcarrot (faster) on my own Ruby.
sisshiki1969
1
180
Rustでゴミ集め
sisshiki1969
1
300
RustでつくるRubyのFiber
sisshiki1969
0
260
Shinjuku.rs#15 Rustでつくるx86アセンブラ
sisshiki1969
0
1.6k
fukuoka.rb#202 RustでつくるRuby
sisshiki1969
1
780
RustでつくるRubyのFiber
sisshiki1969
0
460
Rustでつくるガーベジコレクタ
sisshiki1969
0
650
Other Decks in Programming
See All in Programming
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.4k
ナレッジイネイブリングにAIを活用してみる ゆるSRE勉強会 #9
nealle
0
170
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
260
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
130
AWS Step Functions は CDK で書こう!
konokenj
5
870
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
120
Google Cloudとo11yで実現するアプリケーション開発者主体のDB改善
nnaka2992
1
110
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
300
推しメソッドsource_locationのしくみを探る - はじめてRubyのコードを読んでみた
nobu09
2
360
はじめての Go * WASM * OCR
sgash708
1
120
技術を改善し続ける
gumioji
0
180
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Making Projects Easy
brettharned
116
6k
Building an army of robots
kneath
303
45k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
BBQ
matthewcrist
87
9.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Documentation Writing (for coders)
carmenintech
68
4.6k
Visualization
eitanlees
146
15k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Transcript
プログラミング言語Slack 定期ミートアップ 2021/07/11 仮想マシンにおけるスタック・ヒープのハンドリング monochrome ruruby: https://github.com/sisshiki1969/ruruby
def g end def f g() end f() toplevel Virtual
Context stack
def g end def f g() end f() toplevel f
Virtual Context stack
def g end def f g() end f() toplevel f
g Virtual Context stack
def g end def f g() end f() toplevel f
Virtual Context stack
def g end def f g() end f() toplevel Virtual
Context stack
t = 100 3.times do b1 = 0 end toplevel
block Virtual Context stack b1 t
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel f Virtual Context stack f1
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel f Virtual Context stack f1 block b1 Heap space
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel f Virtual Context stack block b1 Heap space f’ f1
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel Virtual Context stack block b1 Heap space f’ f1 p
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel Virtual Context stack block b1 Heap space f’ f1 p
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel Virtual Context stack block b1 Heap space f’ f1 p g
def f f1 = 5 Proc.new do b1 = 1
g() end end p = f() p.call() toplevel Virtual Context stack block b1 Heap space f’ f1 p