Re: Spasm - webassembly libary for single page applications

2018-10-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Nifty, I'll have to look into this. Any idea what it would take to get 
this doing some WebGL? (Or playing audio?) Or is this more for HTML-ish 
sorts of stuff?


What are the main current limitations?


Re: Spasm - webassembly libary for single page applications

2018-10-12 Thread Steven Schveighoffer via Digitalmars-d-announce

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/eqneqstmwfzugymfe...@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


Spasm - webassembly libary for single page applications

2018-10-12 Thread Sebastiaan Koppe via Digitalmars-d-announce

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/eqneqstmwfzugymfe...@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 ;)


Re: Release D 2.082.1

2018-10-12 Thread Nicholas Wilson via Digitalmars-d-announce

On Thursday, 11 October 2018 at 23:02:19 UTC, Martin Nowak wrote:

Glad to announce D 2.082.1.

http://dlang.org/download.html

This point release fixes a few issues over 2.082.1


Ummm...

Anyway, thanks for the release!




Re: gRPC for D is released.

2018-10-12 Thread Brian via Digitalmars-d-announce

On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote:
Hi! I'm the community manager for gRPC and this is awesome! 
Would love to add this to our ecosystem repo. Would also be 
great to have you talk about this on an upcoming community call!


Thanks,
e-mail: zoujiaq...@gmail.com