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
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
仮想マシンにおけるスタックの管理
言語処理系Slackミートアップ#4(2021/07/11)
monochrome
July 11, 2021
More Decks by monochrome
See All by monochrome
RubyKaigi2026: Invariants in my own Ruby
sisshiki1969
0
23
Improving my own Ruby thereafter
sisshiki1969
1
250
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
1
1.1k
Improve my own Ruby
sisshiki1969
1
590
My own Ruby, thereafter
sisshiki1969
0
420
Running Optcarrot (faster) on my own Ruby.
sisshiki1969
1
320
Rustでゴミ集め
sisshiki1969
1
380
RustでつくるRubyのFiber
sisshiki1969
0
330
Shinjuku.rs#15 Rustでつくるx86アセンブラ
sisshiki1969
0
1.8k
Other Decks in Programming
See All in Programming
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
140
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
850
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
Go 1.27 における memory allocation の高速化
andpad
0
170
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
160
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
140
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
400
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
850
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
480
What's New in Android 2026
veronikapj
0
260
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
120
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Six Lessons from altMBA
skipperchong
29
4.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
470
Building Applications with DynamoDB
mza
96
7.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
280
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
200
Testing 201, or: Great Expectations
jmmastey
46
8.2k
The agentic SEO stack - context over prompts
schlessera
0
860
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
640
Optimizing for Happiness
mojombo
378
71k
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