draft proposal for Sum Types for D

ryuukk_ ryuukk.dev at gmail.com
Thu Dec 1 12:55:17 UTC 2022


On Thursday, 1 December 2022 at 12:48:04 UTC, ryuukk_ wrote:


Forgot to add, good ressources for WASM without emscripten, 
that's what i followed basically:

https://schellcode.github.io/webassembly-without-emscripten


Also an example of a language that follows this principle: Odin:

https://github.com/odin-lang/Odin/tree/master/vendor/wasm


This is imo the proper way to do it

And you can still use emscripten btw: 
https://theartofmachinery.com/2018/12/20/emscripten_d.html

So druntime/phobos might be working out of the box, but will 
produce rather large wasm files

I'll give that a try some day


More information about the Digitalmars-d mailing list