News for hackers. Stuff that matters.
Re:Idioms for the D Programming Language by destructionator on Thursday February 11, 2021 @03:42PM (#26106848)
I like to write really basic little games to kill time. Stuck on a flight? Clone tetris or minesweeper or whatever. And of course I use D.

Well, I wrote a version of my support library for those games for webassembly too and you can play some of them online!

http://webassembly.arsdnet.net/

None of them are "finished" per se, I'd be on a strict time limit and just left it where it landed when I ran out, some not even really working, but there's some little playable chunks there. Tends to be 60KB or so of webasm, really not too bad (no need for the emscripten bloat etc since I did it all myself)

It amuses me to compile the same program for Windows, Linux, and the browser without modification.

(that's all I personally use webassembly for though, since I'm not a fan of SPAs...)

Re:Idioms for the D Programming Language by brobdingnagians on Thursday February 11, 2021 @05:34PM (#26108324)
That's really cool, thank you for sharing! It is neat to see a bit longer form D code in more than just sample tutorials.