Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
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
Ask Rust Language Team about:
Getting started with Rust
Contributing to Rust
Migrating to Rust
Performance questions
Future plans
OSS
General Advice
Hosted by:
Hey y'all! A subset of the Rust core team is now here and we'll be answering from our personal perspectives. Keep the questions coming!
EDIT: And we're done! Thanks for the great questions, everyone! This was a lot of fun.
What do you think about Rust applicability in the field of cryptography? Not only in technical terms, but also regarding how to attract professional cryptographers to write in Rust. Can we in 5-10 years get a pure Rust OpenSSL replacement which hopefully will be free of all those horrible memory bugs or there is some obstacles which will be hard to overcome?
Gregory Panos
Compile times
What is being done to bring compile time down?
How much slowdown do you see in Firefox build times, now that parts of the browser are written in Rust?
Hi Rust devs! I love your language, it is a great experience to code in. Got question about simple C++-like "std::cin" manipulation. Doing pretty advanced things on an online judge platforms are fairly straitforward except input handling in performant manner. On spoj for example you can't - as far as I know - use extern crates. What do you think about adjusting std lib or docs to simplify the process?
Will there be a gitbook on how to approach hacking the rust compiler
I'm a beginner learning about server deployment. I started like most newbies learning JavaScript, and now I'm moving to Node.js but wish to learn a compiled language like Go or Rust.
Are there any advantages of using Rust over Go?
A large fraction of the Rust team works at Mozilla, and I've always been a bit curious about how that came to be. I mean, I work with some MLOCs of hairy legacy C++ code at work, so I can understand the desire to have a better systems programming language, but there is a difference between dreaming that and hiring quite a large team to actually make it happen! Could you give me a bit of perspective on this?
I'm currently working on code involving cryptocurrencies like blockchain explorers and market aggregators. I know many languages but I mainly use Go and Rust for most things. Unfortunately, this project is going to be very large and I was not comfortable with the delays Rust imposes on the code-build-run cycle, so I went with Go for the core of this project (though I use Rust for other smaller services).
I know incremental compilation has landed and helped a ton, but it's still magnitudes slower than Go compilation. Is there any plans to improve this and is there a timeline (like alternative compiler backends)?
what about rust-lang learning resources? "Ask about Getting started with Rust"
what about rust-lang for web-server (back-end webdev)? oh, I just now discovered : http://www.arewewebyet.org/ which address this topic.
For someone who wants to start contributing to the Rust community, what libraries seem to be missing that you think would be most beneficial? And anything simple enough that someone without much experience in Rust could start working on?
I don't know enough about formal verification (or even if that's the right term), but do you guys see Rust making it relatively easy to verify that a program does what is supposed to do and only that? In time, does Rust have the potential to bring an even higher degree of program soundness than just memory and thread safety?
Currently Rust is very slow to create some prototypes. Are there some IDEs with better support for creating Rust projects? Also some better intellisense would come handy.
Is Rust used in any of geospatial operations? Kakadu for jpeg2000 is written in C++. Do you have some benchmarks where Rust could outperform C++?
I've seen a lot of comparisons recently between Rust and Swift. How do the two compare, and do you view Swift more as competition or as a complement?
Is there anything that was removed from the language that you'd like to bring back in some way (another form, different syntax, etc)?
Hello and thanks for the AMA! :)
How did you guys end up being part of something as cool as Rust, and what advise would you give to a dev at the beginning of his or her career in tech?
There are lots of great language improvement ideas flying around in the RFC repo. Non-lexical lifetimes, module system revamp, const fns, variadic generics, extensions to the trait system, and so many others... I assume there are a lot more people proposing ideas than people working on the language, so how do you manage to cope with the flux, examine all of the proposals, and prioritize those that get accepted for implementation?
Hey! I'm one of the organizers of the Rust NYC meetup. If any of y'all (whether you're part of the Rust team or not!) are interested in presenting, we are always looking for speakers. Message me through meetup :)
Tymoteusz Jankowski
About error handling.. Let's say i'm a crate creator. For now recommended strategy for error handling is to make own error type:
MyLibErrorand wrap all possible error with it.
Let's say someones uses my crate and he/she also need to wrap around my error with its own error type. Now when error occurs in 'ending' crate then there is a chain of converting errors, like:
std::io::Error > some-lib1 > some-lib2 > ..
which a lot of conversion is made + a lot of wrapper code is needed
Is there a way of doing it better?