- Joined
- Oct 19, 2023
of course if you want to use scheme you have to find an implementation (they're all pretty incompatible) that doesn't suck in some way (guile? doesn't work on windows. chibi? slow as fuck. chicken? not really made for embedding. something else? you'll probably run into some kind of weird problem)Lua is language that you use in order to embed scripts into your program if you don’t know any better because if you did you would have used Scheme.
meanwhile with lua you have puc rio lua and luajit which is mostly compatible except for how it's ten times as fast or luau if you're a fucking degenerate
hopefully in a while we will see schemes that are as good for embedding as lua but we aren't quite there yet
i think right now guile is the most powerful "embed it in your c++ monstrosity" scheme. it was designed to be the gnu ubiquitous intelligent language for embedding, after all
some think scheme is the worst about that, but i encounter way more shit written in scheme than i do in forthI remember a blog posts from years ago about how Forth is the language people love to implement and never use and that is true for me.
then again i think forth is best inside of a microcontroller in space or something. some languages just have a time and a place really
on the other hand, i think you could jam scheme just about anywhere and have it work well enough