Re:Hobbes – A language and an embedded JIT compiler
by kthielen on Sunday July 16, 2017 @08:53PM
(#14784954)
I wouldn't summarize it that way. We obviously "free" memory or else our trading systems wouldn't work and we'd be in the news in a bad way. :)
Allocation does happen out of a default region and applications that embed hobbes generally define "transaction boundaries" for their use of compiled expressions which may allocate. It's also possible to manually nest these regions and control them yourself, which we do in some applications (e.g. where we're loading whole days of trading data and indexing them in batches).
Ultimately we might formalize that process with a region inference algorithm.
Re:Hobbes – A language and an embedded JIT compiler
by continuations on Sunday July 16, 2017 @08:48PM
(#14784931)
Wait, so there's not even manual memory management? I can't even call free()? How would this work then?
semantics look nice and coherent but unfortunately without some kind (automatic or manual) of memory management it's not usable as a general purpose tool.