Re: State of Scheme in the Browser
Lassi Kortela 02 Aug 2019 10:24 UTC
> WebAssembly will have tail-calls, it is already present in nodejs v12.
> See Schism issues and recent PRs.
Great! Huh, I had no idea something like Schism existed :)
Does WebAssembly give access to the same DOM (Document Object Model) as
JavaScript? What about Ajax requests? What are the pros and cons of
WebAssembly as a compilation target compared to JavaScript?
> Speaking of demo, I am wondering what kind of demo could I create to
> make it more obvious that this really works, and that performance is
> not a problem?
One idea is some kind of search that reacts whenever the user types a
character into an input field, and does HTTP requests in the backgrounds
(perhaps caching some of the results) is a good approximation of what
many real web apps do. For example, something like Chicken's Chickadee
(<https://api.call-cc.org/5/doc/>). We could use that kind of search
field for <docs.schemers.org> also.