Remix.run Logo
iainctduncan 4 hours ago

Congrats, this is awesome! I have followed your writing and have your book, so was excited to see this was you.

I have one question, can one drop into Scheme the way one can call Java in clojure, or is one totally firewalled from the underlying Scheme implementation?

Great to see Gambit getting love too. Gambit and Chez are amazing achievements.

yogthos 2 hours ago | parent [-]

Hi, thanks, glad to hear you enjoy my other work! :)

And yes, you absolutely can drop both down to Scheme and do FFI to drive native libs as well

https://jolt-lang.github.io/docs/host-interop.html

https://jolt-lang.github.io/docs/native-interop.html

I actually leverage this myself in libraries, I ended up writing a Java time layer to support tick here, and I decided to make it a library since I wanted the core executable to stay self contained, and Chez doesn't provide timezone handling natively. So, time pulls in a shared system library and shims a Java style API over it that tick can use

https://github.com/jolt-lang/time

And I'm doing FFI in Glimmer to provide a Reagent style reactive library on top of GTK

https://github.com/jolt-lang/glimmer

It ended up working pretty well for a project here https://github.com/yogthos/splat-painter

Definitely excited with the progress so far. It's obviously still very fresh, and there are likely bugs and quirks abound, but I find it's already quite usable for my own personal projects.