Spasm - webassembly libary for single page applications

Steven Schveighoffer schveiguy at gmail.com
Fri Oct 12 21:24:14 UTC 2018


On 10/12/18 3:43 PM, Sebastiaan Koppe wrote:
> I like to announce Spasm https://github.com/skoppe/spasm
> 
> It is a webassembly library to develop single page applications and 
> builds on my previous work 
> (https://forum.dlang.org/post/eqneqstmwfzugymfewqo@forum.dlang.org).
> 
> It generates fast and small webassembly binaries. The example todo-mvc 
> is only 5995 bytes (wasm) + 2199 bytes (html+js) when gzipped, and loads 
> pretty fast (https://skoppe.github.io/spasm/examples/todo-mvc/)
> 
> Spasm can be used with dub and only requires a recent version of ldc. 
> See the readme on github how to get started.
> 
> The library includes a webpack bootstrap project to build a production 
> ready web page.
> 
> Spasm is written in betterC.
> 
> Next steps are:
> 
> - more js host bindings (xhr, localstorage, etc.)
> - memory deallocation
> - gather an angry mob to make phobos more betterC compatible ;)

OK, this is pretty cool. I need to start checking out webasm.

-Steve


More information about the Digitalmars-d-announce mailing list