Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rust Stack vs Heap usage
Search
Deepu K Sasidharan
March 29, 2020
66k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rust Stack vs Heap usage
Deepu K Sasidharan
March 29, 2020
Transcript
13 slides
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
More Decks by Deepu K Sasidharan
See All by Deepu K Sasidharan
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
98
Delay the AI Overlords: How OAuth and OpenFGA Can Keep Your AI Agents from Going Rogue
deepu105
0
120
Auth for MCP: Secure MCP servers using OAuth
deepu105
0
120
Auth0 for AI Agents
deepu105
1
150
Securing the Future of AI: Authorization Strategies for RAG Systems using LangChain4J and OpenFGA
deepu105
0
180
Demystifying OAuth and OIDC: JFokus
deepu105
1
250
Mastering Kubernetes Security from Containers to Cluster Fortresses
deepu105
1
160
Go containerless on Kubernetes
deepu105
1
200
A Passwordless Future! Passkeys for Java Developers
deepu105
0
260
Featured
See All Featured
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
Building Applications with DynamoDB
mza
96
7.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Embracing the Ebb and Flow
colly
88
5.2k
Visualization
eitanlees
153
17k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
It's Worth the Effort
3n
188
30k
Agile that works and the tools we love
rasmusluckow
331
22k
The Limits of Empathy - UXLibs8
cassininazir
2
800
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k