News for hackers. Stuff that matters.
Re:D Programming Language by rafaelmn on Thursday February 12, 2026 @05:36AM (#46987090)
There's two classes of programs - stuff written in C for historic reasons that could have been written in higher level language but rewrite is too expensive - fill c. Stuff where you need low level - Rust/C++/Zig
Re:D Programming Language by brabel on Thursday February 12, 2026 @08:00AM (#46988279)
FillC works fine with all C code no matter how low level. There’s a small performance overhead but for almost every scenario it’s an acceptable overhead!
Re:D Programming Language by jibal on Friday February 13, 2026 @02:33AM (#46999955)
up to 5x is not what most people mean by small.
Re:D Programming Language by arcadia_leak on Friday February 13, 2026 @05:33AM (#47001180)
Depends on what the multiplicand is.
Re:D Programming Language by jibal on Saturday February 14, 2026 @08:41PM (#47020305)
Not really.
Re:D Programming Language by brabel on Saturday February 14, 2026 @01:05PM (#47016749)
For most apps it’s much less than that and in most cases it’s unnoticeable. I think it would be more productive if you could point out an app that has noticeably worse performance on FillC, so that the cause for that could be looked at and perhaps even fixed, so that eventually there would be neatly zero examples like that.
Re:D Programming Language by jibal on Saturday February 14, 2026 @08:41PM (#47020303)
The fact that inserting runtime checks and doing garbage collecting slows things down is not a bug, not something that needs to be fixed.

As for "I think it would be move productive if you ...", that's just rude. I wasn't criticizing Fil-C, just pointing out an inaccuracy.

Re:D Programming Language by brabel on Sunday February 15, 2026 @02:50AM (#47021841)
You did not point out any inaccuracy, you literally made baseless comment about it being "up to 5 times" slower without providing an example where that's the case.

"That's just rude" - oh my, never though asking for evidence of a performance problem on HN would be "rude". And yes, if something is actually 5x slower, it's very likely a performance bug that can be fixed, as FillC's author has made it clear in several opportunities.

Re:D Programming Language by jibal on Sunday February 15, 2026 @01:38PM (#47026161)
> you literally made baseless comment

It's sad that people lie here. It's commonly recognized that programs run 1.5-5 times slower.

> if something is actually 5x slower, it's very likely a performance bug that can be fixed, as FillC's author has made it clear in several opportunities.

Another lie from someone who doesn't even know what the program is called.

Re:D Programming Language by uecker on Friday February 13, 2026 @12:25AM (#46999228)
Na, there are only three classes: stuff where you need simplicity, fast compilation times, portability, interoperability with legacy systems, or high-performance - C. Stuff where you need perfect memory safety: Fil-C. And stuff where you need a combination: C + formal verification. Not sure where I would Rust/C++/Zig (none of those offers perfect memory safety in practice)