Christopher Allan Webber at 2017-05-15T20:20:00Z

It won't change that problem, and I'm not expecting it to.

However, it may actually help for the kinds of programs I want to write. As you may have seen, more and more programs have become what rms would call "especially nasty websites", which do not even work without javascript enabled. I agree that this is a problem.

However, imagine I'm writing something like an ActivityPub server, and even though the whole program (frontend and backend) are all free, my backend is written in Scheme and my frontend in Javascript. Gee! In the browser side of things, I need to update the interface based on changes on the server end, but.. I don't have access to the same templates on the backend as on the frontend! Suddenly I'm duplicating the templates in both. Well, I say to myself, it's only for being viewed in the browser! I'll just make the templates javascript only and use something like React to drive everything.

And suddenly, I've dropped the option for the javascript-free version of my website. Uh-oh!

But, if I had the option to compile something like Guile from scheme -> webassembly, I could use the same templates in both, and I wouldn't be tempted to go executable-browser-only for my templating.

Make sense?

Tyng-Ruey Chuang, Charles Stanhope likes this.

Christopher Allan Webber shared this.