Live data from Hacker News

Four Years of Rust

blog.rust-lang.org

1–10 of 203 posts

Re: Four Years of Rust

#2
I'm itching to get my hands dirty with Rust, but, approaching this from a web developer background (hence minimal low level language experience), I have no idea where to start. I have a Raspberry Pi3 sitting on my desk, perhaps I should start there.

Congrats to the Rust Core Team!

Re: Four Years of Rust

#3
post #2

I'm itching to get my hands dirty with Rust, but, approaching this from a web developer background (hence minimal low level language experience), I have no idea where to start. I have a Raspberry Pi3 sitting on my desk, perhaps I should start there. Congrats to the Rust Core Team!

Thanks!

A lot of web dev people start off by writing command-line tools. Later this year, Rust will also be significantly easier to write server-side web stuff in, it’s a little tough to get into at the moment. You could also try front-end web stuff with WebAssembly! The PI stuff is also a good choice.

There’s links to learn more about these topics on https://www.rust-lang.org/ that should help you get started!

Re: Four Years of Rust

#4
@steveklabnik what would you say are the core tenets of Rust's success? From Python's side (as a Python prosumer), I'd say Python's core tenets may be:

- Building an explicitly and observably welcoming open source community

- Separating corporate money from technical direction, even at the cost of faster execution

- Upholding pragmatism over all else (e.g. keeping around a C/C++ API)

I'm not sure whether these principles carry over to all languages, or if there's anything you want to add or subtract. Would be cool to have a broadly applied philosophy endorsed by many language stakeholders.

Re: Four Years of Rust

#5
I love watching Rust progress. But the #1 thing I'm watching is the RLS and vscode plugin. Maybe I'm weird but I work with so many languages that having to manage multiple editors is a non-start. So any time I have a little personal project that could be done in Rust (for learning) I end up using Go or Python instead because the vscode support is still quite buggy.

Naturally others will say you don't need IDE-like support and that's fine. It's just the way I enjoy learning. Autocomplete is an amazing learning tool.

Re: Four Years of Rust

#6

I love watching Rust progress. But the #1 thing I'm watching is the RLS and vscode plugin. Maybe I'm weird but I work with so many languages that having to manage multiple editors is a non-start. So any time I have a little personal project that could be done in Rust (for learning) I end up using Go or Python instead because the vscode support is still quite buggy. Naturally others will say you don't need IDE-like su…

We're embarking on a major project to re-architect the compiler and write a next-generation RLS. It's on this year's roadmap. See here for more: https://ferrous-systems.com/blog/rust-analyzer-2019/

Re: Four Years of Rust

#7
post #4

@steveklabnik what would you say are the core tenets of Rust's success? From Python's side (as a Python prosumer), I'd say Python's core tenets may be: - Building an explicitly and observably welcoming open source community - Separating corporate money from technical direction, even at the cost of faster execution - Upholding pragmatism over all else (e.g. keeping around a C/C++ API) I'm not sure whether these princi…

I think this answer would be a bit too long, and I don't have time at the moment. I'll get back to you at some point :)

A quick response to your points: I'm not sure "upholding pragmatism over all else" applies to Rust. It really depends on the details. Open source community is absolutely important, and while you can argue that money is separate from technical direction, that's a very complex topic.

Re: Four Years of Rust

#8
post #4

@steveklabnik what would you say are the core tenets of Rust's success? From Python's side (as a Python prosumer), I'd say Python's core tenets may be: - Building an explicitly and observably welcoming open source community - Separating corporate money from technical direction, even at the cost of faster execution - Upholding pragmatism over all else (e.g. keeping around a C/C++ API) I'm not sure whether these princi…

For me - from the language standpoint - it's a sweet post between correctness, pragmatism, high level and low level.

I might be a strange guy liking Haskell and C++. ;)

Re: Four Years of Rust

#9

I love watching Rust progress. But the #1 thing I'm watching is the RLS and vscode plugin. Maybe I'm weird but I work with so many languages that having to manage multiple editors is a non-start. So any time I have a little personal project that could be done in Rust (for learning) I end up using Go or Python instead because the vscode support is still quite buggy. Naturally others will say you don't need IDE-like su…

I can recommend https://tabnine.com/ with https://github.com/rust-analyzer/rust-analyzer .

While rust-analyzer doesn't always resolve type (unlike Jetbrains Rust plugin, which always does but sometimes incorrectly), it still makes writing code faster and doesn't have RLS quirks (which come from the fact that RLS has to compile the code before offering suggestions, so code has to be correct at some point, which is not good if you are prototyping)

Re: Four Years of Rust

#10
post #2

I'm itching to get my hands dirty with Rust, but, approaching this from a web developer background (hence minimal low level language experience), I have no idea where to start. I have a Raspberry Pi3 sitting on my desk, perhaps I should start there. Congrats to the Rust Core Team!

Thanks! A lot of web dev people start off by writing command-line tools. Later this year, Rust will also be significantly easier to write server-side web stuff in, it’s a little tough to get into at the moment. You could also try front-end web stuff with WebAssembly! The PI stuff is also a good choice. There’s links to learn more about these topics on https://www.rust-lang.org/ that should help you get started!

I actually started writing Rust using Rocket (https://rocket.rs). It felt a lot like using nodejs/express which helped me get going and the docs are superb. I think using it quickly helped me learn the language and now I’m writing just about everything in Rust.
Post reply on HN