←back to thread

111 points teleforce | 2 comments | | HN request time: 0s | source
Show context
shoozza ◴[] No.43799700[source]
Slightly off topic: Is D a good language for creating tiny windows or Linux executables? There is an upcoming game jam (4mb jam 2025) which gives extra points for game submissions <= 8KB. With c you can fit a window with graphics update in an executable of less than 900 bytes[0]. Granted it's using crinkler for linking which does some compression.

0: https://gist.github.com/ske2004/336d8cce8cd9db59d61ceb13c1ed...

replies(1): >>43800232 #
monkeyelite ◴[] No.43800232[source]
Yes. Just use the “better C” mode
replies(1): >>43802106 #
mariusor ◴[] No.43802106[source]
... which is not D any more though.
replies(2): >>43802314 #>>43802699 #
1. WhereIsTheTruth ◴[] No.43802314[source]
It's like saying "C is no longer C if you don't link with libc", it just is not true at all, and honestly, a pretty stupid thing to say
replies(1): >>43802753 #
2. mariusor ◴[] No.43802753[source]
Instead of being an ass, maybe you can take the time to educate me why you think I'm wrong?

I think that at least the garbage collection not being available qualifies my statement as somewhat being true. For game development, as it's closer to what grand-parent asked, classes not being usable would also be an issue...