Hacker News new | ask | show | jobs
by 0x69420 972 days ago
someone might find a boots-on-the-ground, in-context treatment of arena allocation particularly interesting, moreso than just reading about it in the abstract on wikipedia

someone might have never heard of anything of the sort

someone might be interested to see lispers present a use case where they care about reaching down to the finer points of memory allocation in a language that typically benefits from being above that; see also the wealth of info on the garbage collector in the ocaml documentation

the number of users on this website who might get some sort of kick out of this link is nonzero which is the generally agreed-upon criterion for being worth posting

1 comments

Based on the number of posts I’ve seen about arena allocators on here the last month or so, I’d say the audience is much higher than nonzero.
I’m curious, what’s higher than nonzero? Since any positive, finite number is nonzero, are we looking at an ℵ₀ audience?
I knew there'd be at least one pedant! And I almost altered what I wrote to pre-satisfy you!

Begone pedant, and feast thine eyes on the surreal numbers [0]!

> In mathematics, the surreal number system is a totally ordered proper class containing not only the real numbers but also infinite and infinitesimal numbers, respectively larger or smaller in absolute value than any positive real number.

(Also, go look at the `fil` unit in TeX for a good practical application of this ;).)

[0] https://en.wikipedia.org/wiki/Surreal_number