Announcing Rust 1.12.1
blog.rust-lang.org
Announcing Rust 1.12.1
1–10 of 30 posts
Re: Announcing Rust 1.12.1
#2Even these, which obviously effected others, didn't effect my code. Cudos to the Rust team for being on top of this!
Re: Announcing Rust 1.12.1
#3Re: Announcing Rust 1.12.1
#4Honest question from a non C++ developer: what's the main point of Rust? What's the primary reason for choosing it over any other language? When would it be most appropriate to choose?
So why would you choose Rust? If you need to use C++, because you need performance, or low-level access to memory, or any other reason, then you should choose Rust instead, because it's better for all the reasons listed above. The biggest strike against Rust compared to C++ is library support--people have been writing C++ and C libraries for decades, and Rust is a new language, so it won't have the same level of support.
Re: Announcing Rust 1.12.1
#5Honest question from a non C++ developer: what's the main point of Rust? What's the primary reason for choosing it over any other language? When would it be most appropriate to choose?
Featuring
* zero-cost abstractions
* move semantics
* guaranteed memory safety
* threads without data races
* trait-based generics
* pattern matching
* type inference
* minimal runtime
* efficient C bindings
That is from the Rust front page. HTH.Re: Announcing Rust 1.12.1
#6I have Travis builds against nightly, beta and stable on Linux and Mac. I have to say, with the exception of OpenSSL breaking on Mac recently (fixed with OpenSSL 0.8), I haven't had a compiler failure or bug introduced in any of my tests in the time since 1.0 (at least I can't remember one). Even these, which obviously effected others, didn't effect my code. Cudos to the Rust team for being on top of this!
Re: Announcing Rust 1.12.1
#7I have Travis builds against nightly, beta and stable on Linux and Mac. I have to say, with the exception of OpenSSL breaking on Mac recently (fixed with OpenSSL 0.8), I haven't had a compiler failure or bug introduced in any of my tests in the time since 1.0 (at least I can't remember one). Even these, which obviously effected others, didn't effect my code. Cudos to the Rust team for being on top of this!
Not even on nightly? I know that we don't tend to mess with things unless they're behind unstable feature flags (which you presumably aren't using), but I'd be very pleasantly surprised if we managed to make nightly stable enough that you never happened to run into any compiler bugs. :)
Date: Sat Aug 22 11:45:08 2015 -0700
So, take that for what it's worth :)Re: Announcing Rust 1.12.1
#8Honest question from a non C++ developer: what's the main point of Rust? What's the primary reason for choosing it over any other language? When would it be most appropriate to choose?
Rust is pretty much the coolest thing ever in my opinion. It's easy and fun to write. Cargo is the best package manager ever, and makes importing library code a breeze. I've never had multithreaded code warn me when I don't lock it correctly. It's so awesome.
(wrt my Rust app, as soon as I load test and redesign the UI I'm going to share it on HN. It's pretty ridiculous and we have a lot of fun with it at work.)
Re: Announcing Rust 1.12.1
#9Honest question from a non C++ developer: what's the main point of Rust? What's the primary reason for choosing it over any other language? When would it be most appropriate to choose?
Rust is a replacement for C++. It is meant to be a modern, general-purpose systems language, where "systems" generally means anywhere you need to be close to the metal. This includes areas like embedded systems and high performance computing. Modern means it has features and tooling you expect from languages in 2016. For example, on a language level, Rust has type inference, sum types, pattern matching, proper generi…
It's partly because of the memory safety features. There have been quite a few people I've noticed coming from languages like Ruby and Javascript and being successful. Whereas I think C and/or C++ might have been more challenging, again b/c of memory safety (GC's are a lovely thing to rely on, until they get in your way). The compiler offers a huge advantage here, because while it is true that it is much more restrictive than other languages, it also almost guarantees that your code is correct.
As an old C hack, with bad memories of C++, and a hater of the memory footprint of Java and the horribleness of the great GC pause; Rust has been a joy to learn and use. It's like bowling with the bumper rails up as an adult, and no one laughs at you (well, maybe they do, but you never throw a gutter ball!)
Re: Announcing Rust 1.12.1
#10Honest question from a non C++ developer: what's the main point of Rust? What's the primary reason for choosing it over any other language? When would it be most appropriate to choose?
- A fantastic package manager for your dependencies
- Easy build system
- A nicer language
- Memory safe
- Just as fast
- A way stronger compiler that will prevent you from making mistakes that you can make in C/C++ very easily
All in all more then enough benefits to make it worthwhile to switch unless there is a very good reason not to.