So, I rewrote my game in C3 (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
For a while it was hard to ditch C because every alternative had worse compile speed
I eventually settled on D, stripped everything i diddn't need, discovered -betterC, and now my entire engine (~40k LOC) fully recompiles in 200ms
C3 and Odin's creators share similar concerns, and despite relying on LLVM, they achieve decent results. 3s for ~100k (assumed) codebase is quite respectble
From my experiments, Odin achieves better results, but at the cost of saturating all your CPU threads, wich is very noticeable on laptops (fans/battery) or when multitasking
I don't remember how C3 handles multithreading, and ot wich extent, but IMO, parallelism should complement compiler efficiency, not compensate for its lack of it
On the case of Zig, they promised a lot, but looks like they bit more than they can chew.. wich is unfortunate, i was (and still am) very exited for its eventual 1.0
Replies (1)
DMD (the Digital Mars D compiler) has its own backend which allows it to outclass languages based on LLVM or GCC in terms of compilation. Walter's C++ compiler was faster than the competition's as well.
Just well crafted.
Replies (1)
Now there is only CERN's CINT, Live++ and VC++ hot reload.