On Monday, 10 August 2020 at 15:08:59 UTC, Adam D. Ruppe wrote:
http://webassembly.arsdnet.net/
tetris.d source here:
http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_03.html#tetris-in-d
web assembly source and explanation here:
http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_10.html
Short version: BARE MINIMUM druntime port to webassembly
together with a bare minimum source port of simpledisplay.d to
it as well made that little game playable.
In theory we could make a lot more work by building up one
function at a time. In practice I gotta get back to real work
so don't hold your breath :)
This is really cool. This idea, especially, titillates me:
"I'm pretty tempted to make serve.d automatically compile modules
on demand to make a generic little server that can run a variety
of programs without even thinking about it. Just drop a D file in
the directory and surf to it in your browser! I might do that
later."