New Rustacean

e005: Allocate it where?

New Rustacean

Allocate it where?

Subject: Returning functions from other functions, and thinking about the stack, the heap, and reference types.

  • MP3
  • 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.

    Links

    Sponsors

    Become a sponsor

    Follow

    Next Episodes

    New Rustacean

    e004: Functionalized @ New Rustacean

    📆 2015-10-30 03:45 / 00:17:07


    New Rustacean

    e003: No. more. nulls. @ New Rustacean

    📆 2015-10-21 19:10 / 00:16:51


    New Rustacean

    e002: Something borrowed, something… moved? @ New Rustacean

    📆 2015-10-12 04:24 / 00:17:12


    New Rustacean

    e001: Document All the Things @ New Rustacean

    📆 2015-10-03 22:04 / 00:17:06


    New Rustacean

    e000: Hello, world! @ New Rustacean

    📆 2015-09-25 01:14 / 00:17:11