160 points · by krenoten · 11y ago · 67 comments
It has been 6 days since the last CERT advisory for a buffer overflow security hole.
However, if Rust doesn't get adopted by an OS vendor in their SDK, it will join the ranks of Object Pascal, Extended Pascal, Modula-2, Modula-3, Ada, Oberon,Cyclone, ATS.
This just to mention the alternatives on my lifetime, while ignoring the Algol and PL/I variants that existed before C was even born.
Of course, the expectation would be that the said OS vendor would give more emphasis to Rust.
For example, C++ earned its place by being bundled alongside C compilers and having things like CORBA, OpenDOC and Windows pushing for it.
> Anyone could write and maintain one for Rust, so what's the difference?
This is how the alternatives to C and C++ faded away of the IT market. The vendors could not keep up with the tools that the OS vendors had on their SDKs and many developers got fed up with writing FFI code.
I am a big fan of Wirth's languages.
I'm not saying that security holes are nothing to worry about, as I am no less irritated by buggy programs than anyone else, but the alternative might be worse.
Walled gardens and eroded digital/computational liberties are here to stay, and even more so in the future. The trend has been that "hacking the device" has become harder and harder, and devices have became more and more closed and controlled. I don't expect this trend to change any time soon. I sure as hell wish it did, but why would it?
We are living in very interesting times indeed...
No such thing. There is no protection once someone has physical access to the hardware.
That said, in many ways neither language is like the one I've compared it to, probably in enough ways that it's not a useful comparison for much other than this one metric (the TIMTOWDIness of the language). But, it's how my head is processing these two quite novel (to me) languages; which would make sense, as I've written more code in Python and Perl than probably anything else, so they're the known things I compare these unknown things to.
This comment is very condescending. It makes it seem as if C programmers are ignorant and Haskell programmers are enlightened. Haskell is a garbage collected, lazy, pure language which makes it unsuitable for many of the domains C-style languages are used in. These are also qualities not shared by Rust, which may explain why there is less resistance in its uptake by C programmers.
In fact, it has been my observation that the language has been getting progressively less functional since its early days. Not that I consider this to be bad.
libgreen while it existed scaled very poorly and consensus among rust developers seemed to be that, it cannot be improved without compromising some of the core features of rust like no-GC and zero-overhead calls to C libraries.
Want some simple concurrency? Here try boost::asio... or boost::thread... or... libev... or libuv.
Now every project has a different concurrency model woven into it. Why isn't there a good solution in the stdlib for this common need?
Or maybe this, if UEFI is palatable to you:
http://blog.theincredibleholk.org/blog/2013/11/18/booting-to...