Running Ada in the browser
Some months ago I saw an article about a website that runs Linux and gcc in your browser thanks to WebAssembly (Linux And C In The Browser | Hackaday). I found it quite interesting as a way of providing an interactive shell for tutorials, but unluckily gnat-gcc wasnโt installed and trying to install it just resulted in an error.
However, this week I found out a similar project called jslinux which allows installing and running gnat in the browser (at least using the alpine vm):
https://bellard.org/jslinux/
It is quite slow, but I think it could have interesting use cases like interactive Ada courses without requiring the server to compile and run arbitrary untrusted software, testing alire packages before using them in a project or allowing newcomers to try Ada from ada-lang.io without installing anything.
7 posts - 5 participants