Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GC compactions were indeed a problem for a number of systems. The trading systems in general had a policy of not allocating after startup. JS has a library, called "Zero" that provides a host of non-allocating ways of doing things.


Couldn’t find this after 6 seconds of googling, link?


The linked podcast episode mentions it.


There's no mention of a library called zero, or even JavaScript.


Im assuming the JS refers to Janes street


That makes sense, I guess I've got web tunnel vision.


I was bit by the same spider that gave you web tunnel vision. In any case, I find OCaml too esoteric for my taste. F# is softer and feels more..modern perhaps? But I don’t think GC can be avoided in dotnet.


You can avoid GC in hot loops in F# with value-types, explicit inlining, and mutability.

Mutability may not result in very idiomatic code however, although it can often be wrapped with a functional API (e.g. parser combinators).


> This is what I like to call a dialect of OCaml. We speak in sometimes and sometimes we gently say it’s zero alloc OCaml. And the most notable thing about it, it tries to avoid touching the garbage collector ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: