New Rustacean

e005: Allocate it where?


Listen Later

Returning functions from other functions, and thinking about the stack, the heap, and reference types. NOTES This episode, we look at returning functions from other functions, and as part of that discuss some basics about the stack and the heap—and why we need to care about them for returning functions. The functions themselves are not especially interesting; they just show you the basic form you use to return functions from other functions, and how to then use them in another function. You’ll want to take a detailed look instead at the documentation for each (or just read the source!), because that’s where the meat of the discussion in this week’s code is. SPONSORS - reddraggone9 - Chris Patti Become a sponsor - Patreon.com/newrustacean - Venmo.com/chriskrycho - Dwolla.com/hub/chriskrycho - Cash.me FOLLOW - New Rustacean: - Twitter: @newrustacean - App.net: @newrustacean - Email: [email protected] - Chris Krycho - Twitter: @chriskrycho - App.net: @chriskrycho
...more
View all episodesView all episodes
Download on the App Store

New RustaceanBy Chris Krycho

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

81 ratings


More shows like New Rustacean

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

292 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Practical AI by Practical AI LLC

Practical AI

213 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners