Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Rust Stack vs Heap usage
Deepu K Sasidharan
March 29, 2020
3
43k
Rust Stack vs Heap usage
Deepu K Sasidharan
March 29, 2020
Tweet
Share
More Decks by Deepu K Sasidharan
See All by Deepu K Sasidharan
Is containerless the future of Kubernetes?
deepu105
0
120
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
210
Is Rust a great language for building Kubernetes ecosystem
deepu105
0
330
How to Secure Your Node.js Containers on Kubernetes With Best Practices
deepu105
0
41
Let's Talk About Foreign Functions In Java
deepu105
0
160
Why Safe Programming Matters and Why Rust?
deepu105
1
110
Why did I build a Kubernetes Dashboard in Rust
deepu105
0
120
State of pattern matching in Java
deepu105
0
69
Can Rust be the language of the future?
deepu105
0
62
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
260
25k
Teambox: Starting and Learning
jrom
123
7.7k
Clear Off the Table
cherdarchuk
79
290k
Fantastic passwords and where to find them - at NoRuKo
philnash
27
1.6k
Building an army of robots
kneath
299
40k
Robots, Beer and Maslow
schacon
152
7.1k
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
How to train your dragon (web standard)
notwaldorf
60
3.9k
Building Adaptive Systems
keathley
25
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
The Brand Is Dead. Long Live the Brand.
mthomps
46
2.7k
Transcript
Rust Memory usage Heap Thread stack main frame
Rust Memory usage Heap Thread stack main frame john Employee:new
name salary 5000 sales 5 bonus 0 Box<“John”>
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”>
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 0
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 0 get_bonus_percentage salary
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 0 get_bonus_percentage salary percentage 500
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 0 get_bonus_percentage salary percentage 500 return 500
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 500
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 500 bonus 2500
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 0 Box<“John”> find_employee_bonus salary no_of_sales 5 bonus_percentage 500 bonus 2500 return 2500
Rust Memory usage Heap Thread stack main frame john name
salary 5000 sales 5 bonus 2500 Box<“John”>
Rust Memory usage Heap Thread stack