3 ms·
D is garbage-collected, right? How does the game plus the whole runtime fit into 14kb?
by brundolf 5y ago
D is garbage-collected, right? How does the game plus the whole runtime fit into 14kb?
- lifthrasiir 5y agoIt is using the BetterC mode which disables all runtimes including gc. Spasm framework used by this demo is designed for such use case.
- destructionator 5y agoI did D including a custom runtime in about +20 KB of webassembly over this (I just wanted to take a straight desktop program and port it over). The runtime doesn't have to be that big.
- WalterBright 5y agoD's garbage collector is optional.