Hacker News

Favorites Setup
Comment by fastaguy88 | original | C for Rust programmers
[−]fastaguy88 · 2026-10-11 Sun 01:55 UTC · link
I have 'C' code that was written in 1985 that runs today, mostly after moving function parameters from inside the function to inside the argument list.

'C' seems to be a language that makes it easy to write incomprehensible statements, but it's not that hard (or it was not that hard) to write code that is trivial bring up to date. Perhaps it was easier for me because I started with Fortran.

[−]fithisux · 2026-10-11 Sun 05:16 UTC · link
Very common.
[−]msla · 2026-10-11 Sun 08:04 UTC · link
I will never understand why some people put C in quotes.

Do you also put Java in quotes? Rust?

[−]pjmlp · 2026-10-11 Sun 09:52 UTC · link
Only if it targeted UNIX in first place, or was only making use of standard library.

I am quite sure my MS-DOS C code is going to have some hard time being compiled on GCC 16.