4 ms·
> Oh, btw: Fuck RUST. For once and for all fuck this tyranny of coercion by potential IP holders. It is a shit language. ... what? I am confused as to what you
by steveklabnik 9y ago
> Oh, btw: Fuck RUST. For once and for all fuck this tyranny of coercion by potential IP holders. It is a shit language.
... what? I am confused as to what you're saying here.
- jankedeen 9y ago* Coercion: large down vote/propaganda community against any negative rust idea..evidenced here. * IP Holders, well this is speculative. I can't understand anyone who would compare Rust against C in a positive way without possibly profiting from it. Rust is painful to write, painful to learn and makes you ask yourself: Can I not write a well designed and correct program in C? Of course I can. Why Am I Learning Rust? The answer seems to be peer pressure and propaganda. * Write the same thing in C/Rust and read it in C/Rust and tell me who isn't making sense.
- steveklabnik 9y ago> large down vote... community Please report this to the Hacker News mods, if you have evidence. It's against the rules, and they check this kind of thing. Nobody should be doing it. > IP Holders, well this is speculative. All of Rust's stuff is MIT/Apache2 licensed. There is a trademark on the name and logo, held by Mozilla, but other than that, there's none.
- inimino 9y agoAt least in this thread, you're getting downvoted because you are being exceptionally rude, not because of any substantive criticism of Rust.
- concede_pluto 9y ago> Can I not write a well designed and correct program in C? We have decades of coredumps and exploits to convince us that nobody can. How many well-known apps can you name that have never blown up randomly? I can't think of a single one. How much more failure until it's reasonable to think that C requires an inhuman level of perfection and almost any alternative would be an improvement? I hear good things about seL4 but that wasn't written so much as translated from Haskell during a formal process that makes Rust look like finger painting.
- catern 9y agoGNU ls has never segfaulted or otherwise blown up for me. :)
- legulere 9y agoIt has segfaulted for other people though: https://lists.gnu.org/archive/html/bug-coreutils/2006-11/msg00149.html https://lists.gnu.org/archive/html/bug-coreutils/2006-11/msg...
- laumars 9y agoGNU Bash segfaults for me whenever I type ~[tab]. Thankfully this only happens on the small few systems I had to manually patch after the epic Bash vulnerability a couple of years ago - older internal systems that are still in use for historic reasons rather than regularly relied upon in production. So it's never been annoying enough to fix.
- jankedeen 9y agoIt will. No program is perfect. Rust and Go advocates will have you think that they have conquered security via the memory mgmt and API front but there is still the off chance they haven't..or that the SA (what is left of that maligned profession outside playbooks and the devops marketing you read here and online) has allowed you a chance for glory.
- cyphar 9y ago> I hear good things about seL4 but that wasn't written so much as translated from Haskell during a formal process that makes Rust look like finger painting. It's actually more fun than that. They have two implementations of seL4, and they use formal proofs to show that the Haskell model is identical to the C implementation. How much fun is that! /s
- jankedeen 9y agoThere are basically two rules to a well written C program (if I am now allowed to speak despite the public outcry). 1. Do not trust user input. This is a cardinal rule in whatever source. If the rule were followed vigorously in every case there would be 90% less exposure. When you take user input, filter. 2. Learn the standard and stick to it. Finally #3 (unix) Write an application to do a certain thing well.
- eropple 9y agoI'm downvoting you for being profoundly shitty and mean, not because I disagree with you. I do disagree with you, as it happens, but I'd downvote this sort of thing if I agreed too. There's a difference between bluntness being read as rudeness and what you're doing. Stop.
- jankedeen 9y agoThis is sadly amusing. Are you making the world in your googly feely image? It's just despotism of another stripe in case you haven't figured it out yet.
- solidsnack9000 9y ago> I can't understand anyone who would compare Rust against C in a positive way without possibly profiting from it. A year or so ago I wrote a Postgres extension in Rust. It was a real delight to have a package manager and to only have to worry about allocations within Postgres. But whenever I want to code a big hairball without libraries or namespaces and use autoconf and all that great stuff, I still stick with C.
- legulere 9y agoMy first thing I wrote in Rust was porting a trivial assignment for a security course in University from C to Rust. It turned out I had an off-by-one buffer overflow that Rust caught. This clearly showed me the advantage of Rust over C.
- cyphar 9y ago> Rust is painful to write, painful to learn and makes you ask yourself: It's painful to write because writing software that is memory safe is not easy. Rust makes it insanely easy in comparison to the "old way" of doing it (hacking together a C program then having to patch security holes every release, never being certain that your code is actually memory safe). > Can I not write a well designed and correct program in C? Of course I can. Of course you can. All it takes is a separate formal proofing process, countless hours of static analysis and many more months of fixing security bugs. Good thing that's so much simpler than Rust's static analysis which runs on every compilation and mathematically proves that its memory model was not violated. I think if we have learned one thing in the history of C programs, it's that this sentiment that "a sufficiently smart programmer can write safe C code" is quite harmful. While technically true, I don't think I've ever met such an individual and I doubt one exists.
- je42 9y agoalso, one key aspect is. There are may be individuals out there that can do this. however, usually code is written by multiple people. (and i would also count your future self as another person). that collaboration on the same code base requires automatic tests, otherwise the next person will break the code in non-obvious ways.
- jankedeen 9y agoDon't propose a general replacement based on individual incapacity.