News for hackers. Stuff that matters.
Re:Better C – A subset of D Programming Language by logicchains on Tuesday April 28, 2020 @07:44AM (#23006031)
Ah, that's awesome! Really cool to see a new language taking compile-time so seriously.
Re:Better C – A subset of D Programming Language by setpatchaddress on Tuesday April 28, 2020 @12:58PM (#23008985)
Fast compile time isn't actually that hard for a C-like language. Good code optimization and fast compile time is hard.
Re:Better C – A subset of D Programming Language by alexhutcheson on Wednesday April 29, 2020 @05:54PM (#23024875)
Fast compile time on large projects is really hard for C and C-compatible languages due to the preprocessor and #include. Not an issue if you're comparing compilation for a single file, but it turns into a substantial fraction if your compile time when that file transitively #includes 10s or 100s of headers.