News for hackers. Stuff that matters.
Re:The Adoption of Rust in Business by toyg on Tuesday February 07, 2023 @07:51AM (#34692057)
I cannot hear you over the sound of your massive humblebragging.
Re:The Adoption of Rust in Business by LoganDark on Tuesday February 07, 2023 @08:30AM (#34692455)
I actually decided not to say "maybe we're particularly smart but..." for this reason. (I'm trying hard not to make it "humblebragging".) Regardless of that, we definitely don't feel smart due to ADHD.

Really all I'm saying is that I can't fathom how someone could take 3 months to be productive in Rust, that's a massive over-estimate.

-Emily

Re:The Adoption of Rust in Business by pclmulqdq on Tuesday February 07, 2023 @10:09AM (#34693745)
A lot of people have a different understanding of what "learning a language" means. Your example of a path tracer doesn't show a lot of understanding of the deep parts of Rust (algebraic types, async, etc), while the guy who spent 3 months may have been trying to learn a lot more than just the basics to write a path tracer.
Re:The Adoption of Rust in Business by LoganDark on Tuesday February 07, 2023 @11:10AM (#34694566)
Ah, async is indeed the beast. We haven't really put a bunch of effort into understanding futures and reactors, but we understand them to be state machines (which is unfortunately glossed over by a whole ton of reference material?).

AFAIK it shouldn't take 3 months to pick a crate off the shelf like tokio and use futures effectively, but it could take at least that long to understand them deeply enough to the point where you can make your own reactor from scratch (like tokio) if you're also trying to pick up the rest of the language in parallel.

Most of the two weeks was indeed slaving away at math and not necessarily learning the language better. I think it wouldn't take longer than a few weeks to complete the official book and the nomicon if you're determined to learn the language. And then you'd use the remaining time to get acquainted with the ecosystem... but probably not 3 months of time.

-Emily