News for hackers. Stuff that matters.
Re:Show HN: Fe – A tiny, embeddable language implemented in ... by cryptonector on Sunday April 05, 2020 @03:48PM (#22788056)
> The single fixed allocation is interesting, and odd. It then has gc...so why On the not just use malloc the manage the pool? I wonder if the performance is that much better?

Ever look at Chicken Scheme? It uses the stack as a heap, and its functions never unwind the stack to return. Hitting the stack size limit triggers a copy garbage collection that resets the stack.

I imagine Fe has a similar design.

Allocation is super fast in the Chicken Scheme way, and GC is, well, GC, and you don't have fragmentation to worry about.

There are no comments on this comment yet.