Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

best scheme/lisp for real time code

Name: Anonymous 2014-09-01 13:09

Is Chicken a good idea? I am worried about the way it does GC. Exhausting the stack seems a bit... Java. I'm looking at Gambit too but I don't know much about it yet.

Whatever I end up using needs to work on ARM. It doesn't have to target C as long as it has FFI and short GC pauses (I am aiming for less than 5ms.)

Name: Anonymous 2014-09-06 3:17

>>14
I'm aware of the "arena" name for the concept.
I can think of a lot of situations where you need to allocate both short and long term/semi-permanent storage to solve a problem. Obvious example: the compiler needs to allocate short lived buffers for reading a file (ok, we can use mmap for this one), producing the parse tree, expanding macros, producing an internal representation like SSA, while at the same time "permanently" adding data to a long lived arena like the code being generated and the symbol associated with it. Sure, you can use separate object pools per task, but in a dynamic program like a compiler that just punts the task further down the road until you run out of space for e.g. symbols and need to make another allocation for more "permanent" storage.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List