Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
brundolf
on Sept 14, 2021
|
parent
|
context
|
favorite
| on:
14kb WASM game written in D
D is garbage-collected, right? How does the game plus the whole runtime fit into 14kb?
lifthrasiir
on Sept 14, 2021
|
next
[–]
It is using the BetterC mode which disables all runtimes including gc. Spasm framework used by this demo is designed for such use case.
destructionator
on Sept 14, 2021
|
parent
|
next
[–]
I 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
on Sept 15, 2021
|
prev
[–]
D's garbage collector is optional.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: