Live data from Hacker News

How to Learn Modern Rust

github.com

61–67 of 67 posts

Re: How to Learn Modern Rust

#61
Is this a normal amount of studying to be considered an expert in a language? Like not a world authority, but an expert as far as professional software development hiring.

Re: How to Learn Modern Rust

#63

Earlier quoted context omitted.

Slightly off topic question/comment: You are running an async server, together with a blocking database client? That sounds more like a very tricky place ot get started. Are you dispatching all your database queries into an extra threadpool?

Yes, as you have expected tokio has spawn_blocking which allows you to throw misbehaving code into a thread pool. This started to disgust me so I jumped to sqlx.

Yes - what throwaway said. Good suggestion as well to use sqlx instead.

Re: How to Learn Modern Rust

#64
post #47

Earlier quoted context omitted.

I don’t think there’s any plan for a Go 2. I’m willing to bet we won’t see one in the next 10 years. The main feature that might have required breaking changes (generics) was introduced successfully without any breaking changes. Rust has no plans for 2.0 either. Both are stable languages that have been making steady progress.

https://zchee.github.io/golang-wiki/Go2/ https://www.youtube.com/watch?v=RIvL2ONhFBI

The first link states that Go 2 is TBD and in the event there is a Go 2, interop must be easy.

The second link has Rob Pike state that there probably won’t ever be a Go 2.

Re: How to Learn Modern Rust

#65
post #20

So Rust is now old enough for people to talk about "Modern" Rust? I'm either missing something or words don't mean what they used to...

It's more than a decade old, and I have learned Rust on 3 occasions - first when I worked at Mozilla and heard about Rust as a project Graydon was working on at either a lunch and learn, or just chit chat around the Mozilla Vancouver office. Later I learned how to write some tools in Rust after not touching it in a few years when I changed companies. Finally, a year and half ago I had to actually start working in Rus…

How’s your experience been working with Rust regularly in a professional environment?

Re: How to Learn Modern Rust

#66
post #20

Earlier quoted context omitted.

It's more than a decade old, and I have learned Rust on 3 occasions - first when I worked at Mozilla and heard about Rust as a project Graydon was working on at either a lunch and learn, or just chit chat around the Mozilla Vancouver office. Later I learned how to write some tools in Rust after not touching it in a few years when I changed companies. Finally, a year and half ago I had to actually start working in Rus…

How’s your experience been working with Rust regularly in a professional environment?

I enjoyed it, but I changed jobs and companies a few months ago, and now I do spreadsheets and hold status meetings for a living :P

Still using it for personal projects.

Re: How to Learn Modern Rust

#67
post #43

Earlier quoted context omitted.

> I can't imagine that Rust will not be one of the most important languages of the next decade. As someone new to this industry, I'd love to hear a counter argument to this if anyone has one.

Rust is mostly a systems programming language - like C++. The amount of jobs that require application development in such languages is a lot smaller than e.g. the amount of jobs for generic frontend (Javascript/Typescript) or backend development, since most businesses don't need to build an operating system, database or embedded system. That's why the job market for C++ was even small before Rust even showed up. Of c…

People do seem to use it to eliminate random GC spikes, which can matter on the web too.
Post reply on HN