I think you make a pretty bad case for how embedding a Scheme interpreter is going to help with the pain points of async. Listing "stack traces full of tokio code" and then seemingly proposing to solve that by adding more glue to pollute the stack traces is especially weird.
maplant|1 year ago
Have you seen a stack trace originating from somewhere within tokio? Nearly all useful information is lost. My contention is that by isolating the functions that are required to be written in Rust and then doing orchestration, spawning, etc in Scheme the additional debug information at runtime will make the source of errors much more clear.
I could be wrong! But hey there’s other reasons too. Being able to debug Rust functions dynamically is pretty cool, as well as being able to start/stop them like daemons.
giancarlostoro|1 year ago
kanbankaren|1 year ago
dapperdrake|1 year ago
Chris Kohlhepp has a great write up of embedding ECL in C++. The trick is to know about the C++ configure flag for building ECL. [0 with terminal screenshots, 1 on web archive without terminal screenshots]
Haskell people seem to like Lua. Just look at pandoc.
[0] https://isocpp.org/blog/2014/09/embedding-lisp
[1] https://web.archive.org/web/20200307212433/https://chriskohl...
StilesCrisis|1 year ago