Immediate objects have a type tag in the two lowest bits. 00 for fixnums, 10 for immediate objects, 11 for pairs, 01 for everything else. For the sake of a simpler more uniform and faster GC, pairs still have a header like other objects, and the cdr comes before the car. 6/
Barbara Samson and Guillaume Cartier show their portable real-time interactive 3D video and audio environments written in Jazz Scheme on top of Gambit… including an interactive spreadsheet to visualize why UDP packets have being dropped during the interaction's past. #GambitAt30
-
-
Guillaume's Jazz Scheme has its own windowing system all written in Scheme, on top of Gambit. The system does everything in OpenGL and is portable to macOS, Windows and Unix/X11, including its own self-debugging graphical debugger.
Show this thread -
Jazz was originally written in C. Rewritten in Scheme in 2 years. The original rewrite was 80x slower than C, because it was doing too many function calls; making them macros to inline code, then adding types—and it's now faster than it was in C. And much more productive.
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!