News for hackers. Stuff that matters.
Re:Rust is now overall faster than C in benchmarks by fsloth on Monday January 04, 2021 @05:30AM (#25629593)
"Portable" - yes. But will likely require the effort of porting due to platform specific sections.

Practically all non-trivial C codebases have platform specific segments. They can be either isolated to their own libraries or wrapped around tons of preprocessor switches.

C code is portable in the sense that it's not too much work to get a C compiler to work on a new hardware platform. On the other hand, compiling a large real-world C codebase on the said platform will probably require porting, and the effort may or may not be trivial.

There are no comments on this comment yet.