A 30 minute introduction to Rust
words.steveklabnik.com
A 30 minute introduction to Rust
1–10 of 161 posts
Re: A 30 minute introduction to Rust
#2Re: A 30 minute introduction to Rust
#3Re: A 30 minute introduction to Rust
#4I like the overall structure, but I'm not sure about throwing so much syntax without explaining it in detail.
I think it's well written, and it makes me interested in learning more about Rust. The one thing I'd like to have seen addressed is type inference.
Also, you don't credit the original author.
Re: A 30 minute introduction to Rust
#5Re: A 30 minute introduction to Rust
#6Re: A 30 minute introduction to Rust
#7I like the overall structure, but I'm not sure about throwing so much syntax without explaining it in detail.
> But wait, how is that possible? We can’t both allow and disallow mutable state. What gives?
I had to re-read the above a few times. And still don't get it. Steve, what do you mean with it? Are you talking about how are Arc/RWArc implemented? Or is it something else?
Re: A 30 minute introduction to Rust
#8I like the overall structure, but I'm not sure about throwing so much syntax without explaining it in detail.
I've only written a little C and C++, about six years ago, but enough to understand the syntax well enough to understand C and non-templated C++ code. The introduction was at just the right level for me, and I didn't have any problems with the syntax. I think it's well written, and it makes me interested in learning more about Rust. The one thing I'd like to have seen addressed is type inference. Also, you don't cred…
"This excellent presentation" is a link.
Re: A 30 minute introduction to Rust
#9Thanks for the the tutorial! Rust seems a bit too complex to me. Like a C++ on steroid that wants to do and be everything. Nothing wrong with that but not my cup of tea. I'd rather stick to C if I need tight memory management, it is way simpler and straight forward. And if I need concurrency, I'll stick to Golang (or erlang). Really, it's such a pleasure to read some golang after reading this 30 minutes of Rust. Anyw…
I actually find golang harder to read without parametric types (sans built-in slices and maps).
Re: A 30 minute introduction to Rust
#10I like the overall structure, but I'm not sure about throwing so much syntax without explaining it in detail.
From the article: > But wait, how is that possible? We can’t both allow and disallow mutable state. What gives? I had to re-read the above a few times. And still don't get it. Steve, what do you mean with it? Are you talking about how are Arc/RWArc implemented? Or is it something else?
I also wasn't sure about the part you quoted, but I was trying to explain that it's not that Rust _doesn't_ allow shared mutable state, it's that while the language doesn't, you can use unsafe to build safe abstractions, so in practice, it does. Hmmm.