4 ms·
The only difference from expletive = 'y' if sys.argc == 1 else sys.argv[2] is the memory safety guards, which happens to be the key feature of Rust
by 0T-T0 9y ago
The only difference from
expletive = 'y' if sys.argc == 1 else sys.argv[2]
is the memory safety guards, which happens to be the key feature of Rust
- Annatar 9y agoBut what if one doesn’t care about memory safety because one has other languages at one’s disposal, like shell, AWK, Lisp? What benefit does Rust bring then? And at what price? And who is to say that the programmers of Rust built a perfect language that always generates code which is bounds-safe? I question that as I know from experience that no human has ever written 100% correct code 100% of the time; even machines aren’t capable of achieving that. Therefore, I hold that the entire promise of Rust is flawed. I don’t like Rust one bit.
- steveklabnik 9y agoWe had a large community discussion about this last year: https://brson.github.io/fireflowers/ https://brson.github.io/fireflowers/
- cat199 9y agoI don't think that theme is bright enough. Perhaps neon green with yellow letters would do the trick?
- rurban 9y agoProblem is that Rust is not memory safe anymore, since they switched from GC to refcounting and added unsafe. Pair that with being no concurrency safety (deadlocks, races) there are only macros left which do make rust attractive. On the other side there are proper languages which do provide all safeties and beat rust or C++ in performance, such as pony. A proper type-system does help (compile-time guaranteed), but you could also add such features to the run-time system (e.g. a GC or safe threading with a single-writer system such as parrot). With rust you don't have any of it, you have to manually add locks or mutexes into your threaded code, and try to avoid unsafe.