Live data from Hacker News

Ask HN: Is it worth investing in learning Rust?

news.ycombinator.com

11–20 of 82 posts

Re: Ask HN: Is it worth investing in learning Rust?

#11

If this is a career thing, it's usually better to be an expert in one language than an amateur in a dozen of them. Try them both, proceed with the one you like best, because in the end, you will be judged by what you produce with it. No matter how much nerd-cred a language has, it is hard to be productive with a language that you hate. edit: FWIW, we are commenting on a site by a billionaire who seeded his fortune by…

I absolutely agree with you that it's usually better to be an expert in one language than an amateur in a dozen of them.It's not really for a career thing right now, but I like to expand my knowledge especially in systems programming languages, but if Rust become widely adopted, I will be more than happy that I made the right decision to learn it.

Re: Ask HN: Is it worth investing in learning Rust?

#12
post #10
post #5

If you are a C++ programmer, learn rust. If you are a C or other programmer, learn go. If you are doing this for job prospects, pick go.

Can you explain please why is that ? btw I'm coming from a JS/Node background, but I worked with C and C++ before (mainly school projects, nothing serious).

Maybe I can try to chime in:

Go is not an OOP language, you get the dot notation on structs and that's pretty much it.

Rust is all about advanced OOP and very fussy static type checking.

That said, IMHO, Go to me feels more like a replacement for Node more than a replacement for C.

Re: Ask HN: Is it worth investing in learning Rust?

#13
post #8

If this is a career thing, it's usually better to be an expert in one language than an amateur in a dozen of them. Try them both, proceed with the one you like best, because in the end, you will be judged by what you produce with it. No matter how much nerd-cred a language has, it is hard to be productive with a language that you hate. edit: FWIW, we are commenting on a site by a billionaire who seeded his fortune by…

Paul Graham is a billionaire?

If not, close to it. Very early investments in AirBNB, Dropbox, ...

Re: Ask HN: Is it worth investing in learning Rust?

#15
post #9

learn both until you know which one is your favorite.

I think learning both languages to figure out what's my favorite is a bit hard to do, I don't want to actually learn some basics then switch to another language to explore.

Learning and using multiple languages is absolutely vital to being able to choose the right tool for the job. You have time to learn both and switching is a necessary skill if you want to program professionally

Re: Ask HN: Is it worth investing in learning Rust?

#16
post #10

Earlier quoted context omitted.

Can you explain please why is that ? btw I'm coming from a JS/Node background, but I worked with C and C++ before (mainly school projects, nothing serious).

Maybe I can try to chime in: Go is not an OOP language, you get the dot notation on structs and that's pretty much it. Rust is all about advanced OOP and very fussy static type checking. That said, IMHO, Go to me feels more like a replacement for Node more than a replacement for C.

Rust and OOP are no more related than Go and OOP. What "advanced" OOP features of Rust are you talking about?

Re: Ask HN: Is it worth investing in learning Rust?

#17
post #10

Earlier quoted context omitted.

Can you explain please why is that ? btw I'm coming from a JS/Node background, but I worked with C and C++ before (mainly school projects, nothing serious).

Maybe I can try to chime in: Go is not an OOP language, you get the dot notation on structs and that's pretty much it. Rust is all about advanced OOP and very fussy static type checking. That said, IMHO, Go to me feels more like a replacement for Node more than a replacement for C.

Rust isn't about advanced OOP at all. It is heavily inspired by functional programming.

Re: Ask HN: Is it worth investing in learning Rust?

#18

Forget about the language. What kind of systems do you want to build, or want to learn to build? If it is networked systems, Go gets the job done pretty well. If you want to build a game, or want a superior c++, go for Rust.

> If you want to build a game, or want a superior c++, go for Rust.

Does Rust have the libraries, frameworks, engines, and communities for developing games? In my opinion, development of any software, whether it's a REST API or a AAA 3D game, isn't just about the language but is actually about 10 other things.

Re: Ask HN: Is it worth investing in learning Rust?

#19
Both are great languages.

I learned Golang about 2 years ago and have done a small web app in it to understand and learn about the libraries.

I recently started reading the Rust book and its an eye opener. Its important to understand how the language is designed and with Rust, its different concepts compared to Go. I would suggest to read the documentations/manifestos of both the languages and decide to go ahead based on what you want to do.

Community and ecosystem is an important requirement when choosing a language.

Re: Ask HN: Is it worth investing in learning Rust?

#20
post #18

Forget about the language. What kind of systems do you want to build, or want to learn to build? If it is networked systems, Go gets the job done pretty well. If you want to build a game, or want a superior c++, go for Rust.

> If you want to build a game, or want a superior c++, go for Rust. Does Rust have the libraries, frameworks, engines, and communities for developing games? In my opinion, development of any software, whether it's a REST API or a AAA 3D game, isn't just about the language but is actually about 10 other things.

I feel that it has a good and growing game dev community, but all the tools and engines need more time in development. There are a few game engines and frameworks being built with rust, but (someone correct me if im wrong) they all either dont have a stable api or have bugs which i wouldnt want to have in production.

I do think Rust is an ideal languange to build games in though. It just needs some time.

See http://arewegameyet.com

Post reply on HN