News for hackers. Stuff that matters.
Re:Learning C3 by lerno on Thursday May 29, 2025 @01:51PM (#44128427)
Rust is a C++ competitor with all the semantic complexity that comes with it. And similar compile times.

C3 is more complex than C (because of a net increase of features), but it's miles from C++ and Rust in complexity and it compiles as fast or faster than C.

Re:Learning C3 by vram22 on Thursday May 29, 2025 @03:20PM (#44129303)
How does C3 compared to C in runtime performance?
Re:Learning C3 by lerno on Thursday May 29, 2025 @03:32PM (#44129415)
I based the LLVM-IR output on what Clang outputs for C. And so they should be identical. C3 has a single module option for maximum interfunctional optimizations, but Clang can give you LTO for the same thing.

So they should be the same, otherwise it's a bug.

Re:Learning C3 by vram22 on Thursday May 29, 2025 @07:06PM (#44131259)
thank you.