Stream: beginners

Topic: Where to start?


view this post on Zulip Gabriela (Mar 21 2021 at 17:11):

Now my personal life and work is more stable, I would like to learn roc/rust to help someday. Should I study one or two months of Rust before reading the compiler source? Any recomended Rust resources?

view this post on Zulip Anton (Mar 21 2021 at 17:55):

Hi Gabriel :) ,
It depends how much time you have available but I'd recommend studying and using Rust for two months.
The [rust book] is what I started with back in the day, [rust by example] is also a good resource. I thinks it's a good idea to alternate reading with some practice, exercism is really great for that.

view this post on Zulip Zeljko Nesic (Mar 21 2021 at 18:24):

I would second Rust book, as it is where I got all Rust concepts from.

view this post on Zulip Lucas Rosa (Mar 21 2021 at 18:51):

you can also learn enough Rust to get the compiler running, play with some tests, and then let the types guide you as you try to solve issues. The Rust compiler is a good coach and you can reference specific chapters in the book as new things come up. Just depends on what approach you like better. I prefer to work on stuff and just consume docs as I go. It means sometimes you may be operating with missing knowledge but the reward of closing PRs is a good motivating factor.

maybe think of a small project (1-3 days). use that to force you to search around the book and rust docs. perhaps a command line app that reads data from githubs API and displays it in the terminal

view this post on Zulip Lucas Rosa (Mar 21 2021 at 18:52):

I'm also a fan of things like exercism, codewars, hackerrank, etc.

view this post on Zulip Lucas Rosa (Mar 21 2021 at 18:55):

If you have never even touched, looked at, or ran any Rust. The first few chapters of the book helps you bootstrap a small project. Once you can use cargo, I'd run off to a small project

view this post on Zulip Anton (Mar 26 2021 at 12:14):

Hi Ju! Because you posted in "Where to start?" I assume that's the question you're trying to get an answer to? :)
Are you interested in learning rust?

view this post on Zulip Ju Liu (Mar 26 2021 at 12:21):

Hi Anton! I'm not sure how that message ended up here, I was meaning to post it to introductions :) Never used Zulip before, so it might be that!

view this post on Zulip Anton (Mar 26 2021 at 12:22):

No problem :)

view this post on Zulip Folkert de Vries (Mar 26 2021 at 22:13):

@Ju Liu @Peter Fields @Gabber

Hi all, Our most common "first PR" project is implementing a builtin during a pairing session. This time I think Num.isOdd and Num.isEven would be good candidates.

Doesn't really require any rust knowledge (we can just follow the compiler error messages). Lmk if you want to do this this (or next) weekend.

view this post on Zulip Lucas Rosa (Mar 26 2021 at 22:25):

I'm also happy to walk someone through adding a builtin. Just ping me whenever

view this post on Zulip Ju Liu (Mar 27 2021 at 11:26):

Folkert de Vries said:

Ju Liu Peter Fields Gabber

Hi all, Our most common "first PR" project is implementing a builtin during a pairing session. This time I think Num.isOdd and Num.isEven would be good candidates.

Doesn't really require any rust knowledge (we can just follow the compiler error messages). Lmk if you want to do this this (or next) weekend.

Hey @Folkert de Vries that would be great! I have to run some errands today, but I'll be around tomorrow. Let me know!

view this post on Zulip Peter Fields (Mar 27 2021 at 12:48):

Folkert de Vries said:

Ju Liu Peter Fields Gabber

Hi all, Our most common "first PR" project is implementing a builtin during a pairing session. This time I think Num.isOdd and Num.isEven would be good candidates.

Doesn't really require any rust knowledge (we can just follow the compiler error messages). Lmk if you want to do this this (or next) weekend.

I am available today and tomorrow. Let me know what times could work for you?

view this post on Zulip Julian Antonielli (Aug 13 2021 at 20:48):

So if I want to ask a question, should I open a new topic?

The actual question is: Are functions operating on open records monomorphized or do they do dynamic field lookups of some kind?

view this post on Zulip Richard Feldman (Aug 13 2021 at 20:53):

monomorphized!

view this post on Zulip Richard Feldman (Aug 13 2021 at 20:53):

at runtime, records always end up being plain old structs

view this post on Zulip Richard Feldman (Aug 13 2021 at 20:53):

(also, new topic per question is great!)

view this post on Zulip Julian Antonielli (Aug 13 2021 at 20:57):

Great, thanks!


Last updated: Jul 06 2025 at 12:14 UTC