Login
You're viewing the techdon.dev public feed.
  • Sep 18, 2026, 7:11 PM

    @dysfun

    Heap allocation with a GC isn't cheap; its cost is just deferred, like buying something on a loan instead of paying up front.

    It's pretty much a natural law that heap allocation is expensive. You can defer the cost, and you can use various elaborate strategies to reduce the cost a little, but it's still expensive.

    And yeah, taking references to stack memory safely is difficult. That's why Rust is such a big deal: it has a solution for that thorny problem.

    💬 0🔄 0⭐ 0