Live data from Hacker News

Learning Rust in 3 Attempts

shreyb.dev

1–10 of 16 posts

Re: Learning Rust in 3 Attempts

#2
A programming language should not be so hard it takes multiple attempts.

Rust is ultimately doomed to stay small for this reason.

In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

Re: Learning Rust in 3 Attempts

#3

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

And yet Rust was the fastest growing language on GitHub last year according to the 2023 review.

Ideally it would be easy to learn a language… but the claim that it’s ‘doomed’ if not does not appear to align with data.

https://github.blog/2023-11-08-the-state-of-open-source-and-...

Re: Learning Rust in 3 Attempts

#4

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

[deleted]

Re: Learning Rust in 3 Attempts

#5

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

There is necessary complexity in the domain rust is trying to cater to and rust is the simpler way to approach those problems compared to its competitors. Just because you don't work in those domains doesn't mean they don't exists.

Re: Learning Rust in 3 Attempts

#6
My experience with Haskell was somehow similar. Initially, it piqued my curiosity, then it became a hobby, and the third time, I pursued it for financial gain. Every time, after each experience, I abandoned it for years.

Regrettably, due to boredom and laziness, I gave it up completely since 2020. :(

Re: Learning Rust in 3 Attempts

#7

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

Rust is just enforcing at compile time what you had to keep track in your mind with C/C++

Re: Learning Rust in 3 Attempts

#8
post #7

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

Rust is just enforcing at compile time what you had to keep track in your mind with C/C++

Not really, no. If it was that, it would be another C++ compiler for a subset of C++, not an entirely new language with a new ecosystem, new community, and plenty of new issues and growing pains.

There are real reasons to use Rust, but there are also real pain points and issues with trying to reinvent everything from scratch.

Re: Learning Rust in 3 Attempts

#9
> I was equally disheartened and delighted to later learn that the simple mental model I had for the cpu and memory were yet further from reality. Compiler optimizations, pipelining, branch prediction, out of order execution etc. were all fascinating and slightly terrifying things to learn about.

If you don’t understand the low-level/computer architecture, you will have a hard time learning Rust. It’s not a general purpose programming language like Ruby, JS, Python, etc. It’s a systems programming language meant to make the best use of the underlying hardware, like C++.

Learn CS first.

Re: Learning Rust in 3 Attempts

#10
post #3

A programming language should not be so hard it takes multiple attempts. Rust is ultimately doomed to stay small for this reason. In programming, anything that can be done more simply WILL be done more simply by some competitor. This will be the fate of Rust.

And yet Rust was the fastest growing language on GitHub last year according to the 2023 review. Ideally it would be easy to learn a language… but the claim that it’s ‘doomed’ if not does not appear to align with data. https://github.blog/2023-11-08-the-state-of-open-source-and-...

It's easy to grow a small adoption in terms of percentage.

I grew my boiled eggs consumption by 100% yesterday.

Java/C#/C++ could never grow 40% in a year even if their absolute growth surpassed Rust by a wide margin.

Post reply on HN