top | item 39082683

(no title)

nocombination | 2 years ago

Honestly, after being in the software industry for a couple of decades and seeing how many times folks attempt to reinvent the wheel (for commercial or other reasons), I am beginning to sigh when I see how many language zealots there are (not you, just in general). The reality is, Rust does not need to replace everything. Nor should it be held on some kind of pedestal.

E.G. Curiosity rover is doing just fine running on millions of lines of C.

https://vdocuments.mx/monitoring-the-execution-of-space-craf...

If it's going to impact OS stability and decrease performance and portability of the humble, dependable, simple C, it doesn't belong in the core. C is better than Rust for OS development.

discuss

order

jimberlage|2 years ago

The Curiosity rover might be doing ok, but the many places that have my social security number are not. I care more about the latter than the former.

nocombination|2 years ago

Right—and maybe those places ought to install OpenBSD. https://www.openbsd.org/

Rust is not immune to security vulnerabilities. And at the end of the day, social engineering will steal more data than "hacking the mainframe". Why break in when you can just ask to be let in?

OpenBSD has a great security track record because they resist excessive change and prefer simplicity. For those who want to add Rust to the core of FreeBSD my primary question: is it really necessary? Or is it just because a bunch of Rustaceans want to?

kjs3|2 years ago

the many places that have my social security number

So COBOL everywhere it is. Let it be written, let it be done.

pjmlp|2 years ago

I doubt many C devs would be doing fine coding under the same level of quality expected by NASA / JPL programming standards and security validation.

timeon|2 years ago

How is this relevant to parent comment?

saagarjha|2 years ago

The C code that went into the Curiosity rover was quite expensive.

richardwhiuk|2 years ago

I assume you are still programming in COBOL?

ben_bai|2 years ago

Just like C, COBOL will always be with us.

> According to research, up to 850 billion lines of COBOL code are currently running in nearly 30,000 organizations, typically in critical production environments. 90 percent of Fortune 500 companies rely on it. Never has there been this much COBOL in circulation and the volume is only likely to increase for the foreseeable future.

https://www.chrly.pt/en/2023/06/14/cobol-the-immortal-langua...

nocombination|2 years ago

It's not what you program in that matters—it's how you test and ensure quality results.