Escape Analysis in Go: Stack vs. Heap Allocations Explained

(blog.jetbrains.com)

44 points | by ingve 4 days ago ago

12 comments

  • literallyroy 5 hours ago ago

    You can also get escape analysis visualizations in vscode via gopls: https://topofmind.dev/blog/2023/07/15/analyzing-go-heap-esca...

  • 5701652400 2 days ago ago

    [flagged]

    • jpttsn 2 days ago ago

      you eat for $5.5/week?

      • eikenberry 2 days ago ago

        That could easily cover it depending on where they lived.

      • kingstnap 2 days ago ago

        His diet is mixing a half cup of canola oil with a cup and a half of flour per day.

      • ignoramous 2 days ago ago

        Do-able in many low-income countries but it'd be borderline miserable, by modern consumption standards.

        • LoganDark 2 days ago ago

          Sure would. Even in Pakistan, India, Vietnam, Egypt, or etc. where USD goes a long way, a meal is usually at least $1–$3 (and I'd expect someone to eat a meal at least every couple days).

      • 5701652400 a day ago ago

        [dead]

  • 5701652400 2 days ago ago

    [flagged]

    • simooooo 2 days ago ago

      Have you read their open source attributions?

    • rererereferred 2 days ago ago

      As I understand, their Python IDE is open source.