3 ms·
>Wasn't Rust supposed to be the language that should be used to write all security-critical software? What happened? What does "supposed" mean in this case? T
by coldtea 3y ago
>Wasn't Rust supposed to be the language that should be used to write all security-critical software? What happened?
What does "supposed" mean in this case?
There's no one dictating what language "security-critical" or other software will be written. So, if it was "supposed", it was incorrectly supposed, by people reading some enthusiast posts about Rust and thinking it's adoption is inevitable or that it applies to everybody.
In real life, some went with Rust, others chose Go, and others C++, Java, etc.
>Are crates like rustls/ring still intentionally sabotaging Rust's cryptographic ecosystem with their "we will always be pre-1.0.0 and never have a stable API" philosophy?
That could help, but whether Rust has stable crypto crates or not, wouldn't change the fact that teams and projects will use what they wanna use, which is not necessarily Rust.
Just because some enthusiasts went "Rust all the things!" doesn't mean others will follow them.
- plxx7733 3y agoWho would use unsafe Java to write "security-critical" software?
- brabel 3y agoWhat do you mean by "unsafe Java"?? Do you mean Java as a language is somehow unsafe? I beg to disagree - it's one of the most scrutinized platforms you can find and widely used in all sorts of security critical software everywhere.
- plxx7733 3y agoJava has soooo many security vulnerabilities - just browse around a bit...
- coldtea 3y ago"sooo many" is a technical term? "Sooo many" compared to what? Did you scrutinize the equivalent of Java's SDK in Rust + extra crates to get the same functionality? Do you include things like unrelated package bugs, like log4j bugs?
- anthk 3y agoHyperbola GNU/Linux ditched OpenJDK becasue either bugs or patents. The list on Java CVE's it's atrocious. Java should've died long ago with Golang and some cross-plaform (basic) GUI libraries promoted from Google. Nothing fancy, something like plan9/9front UI's, but enhanced. Java exists today because of corporateware. Outside of it, it's dead. De-ad. No one uses Java seriously for emulators, browsers, or basic software. Just ad-hoc company-graded enterprise, live VB6 back in the day.
- coldtea 3y agoI don't think this take understands Java's position, relevance, or the roles it serves. Or even what are the important categories, driving most of software development (it's not enulators, broswers -of which they're just a handful, all in C++, or "basic software" whatever that means). For starters, Java is by no means used just in "corporateware", if this means some intranet stuff. It's also hugely dominant in server side development (including FAANG) and is used by tons of startups, it's big in banking, high frequency trading, and all kinds of heavy service infrastructure. That covers the huge majority of programming work, not writing "emulators and broswers" (sic), which is why it's in the top 5 of the TIOBE index. "GUI libraries" have little to do with, not to mention they're generally irrelevant for most modern programming use cases, which is server/backend or web-based (and where they're not, they're already provided by the host OS and its preferred SDKs). Also "Hyperbola GNU/Linux"? That yardstick of what's secure?
- anthk 3y agoThat doesn't say anything about CVE's and the issues on being not so performant against the new iterations of C# or even PHP >7. I know that if you were to work in any company, Java would ve everywhere, but today the times changes. Even the Crustacean lang it's preferable againt Java on big backends. On the ligther workloads, Golang works great and it solves the multiplatform issue by crosscompiling from anywhere to anywhere.
- coldtea 3y ago
- bluGill 3y agoThat is because it is popular. Any language that was as popular as java for nearly 30 years will have a large collection of problems. Java avoids a large number of possible problems by being memory safe, but it doesn't avoid them all.
- lost_tourist 3y agoJava libraries with security holes aren't java.
- o1y32 3y agoI don't think you understand the words written yourself. At least provide some relevant, convincing examples instead of throwing these claims around.
- pulse7 3y agoI bet he understands Java fully but is just joking here to make a debate...
- coldtea 3y agoIn what context do the words "unsafe Java" even begin to make sense?