Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
11–20 of 24 posts
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#12All day I push out js for a paycheck, all night I live and tinker in my Lisp/scheme worlds. Maybe one day these will be overlayed.
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#13Tangential question: How interoperable are the top Scheme implementations (Guile. Chez, Chicken, etc.)? Specifically, are libraries (beyond SRFIs) often supported in multiple implementations?
I did some search and didn't find any recent statement on that.
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#14Tangential question: How interoperable are the top Scheme implementations (Guile. Chez, Chicken, etc.)? Specifically, are libraries (beyond SRFIs) often supported in multiple implementations?
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#15All day I push out js for a paycheck, all night I live and tinker in my Lisp/scheme worlds. Maybe one day these will be overlayed.
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#16Last I checked WASM did not yet allow tail jumps. Without these compiling Scheme would be very clumsy. Has this been resolved?
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#17Ahhhh! A breath of fresh air in this world of ugly Algol-wedged hyper-utilitarianism. (I was going to say “hyper-functionalism”, but the unintended pun confused the sense.) [Although, I must admit that js is actually pretty descent, and can almost be used like Lisp if you look at it hard enough and cross-eyed.]
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#18Tangential question: How interoperable are the top Scheme implementations (Guile. Chez, Chicken, etc.)? Specifically, are libraries (beyond SRFIs) often supported in multiple implementations?
The list of these kinds of edge cases is long so it probably winds up being easier to try to just run a library to see if it works. I doubt anyone has done a systematic survey.
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#19For some reason, Google was working on a Scheme WASM compiler, which they got self-hosting. It was then abandoned. I don't really know what they were trying to accomplish with that project.
Re: Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration
#20https://github.com/google/schism For some reason, Google was working on a Scheme WASM compiler, which they got self-hosting. It was then abandoned. I don't really know what they were trying to accomplish with that project.
https://github.com/schism-lang/schism
Previous discussion with comments by the author, https://news.ycombinator.com/item?id=16488605