News for hackers. Stuff that matters.

indepnd

A case of "worse is better"

Ask HN: How do you teach 9-year old to code?

Yesterday my son (will be 9-year old in a couple of months) asked if I can teach him to code. Although I am a software engineer, I never thought about that.My question is: If I do, what language should I teach my son at first? Currently I'm mostly familiar with Rust, and a little Python. I used to write C for 10 years and Java for 3 years. I also use Objective-C. I think, as common sense, I...

( Read More... | 29 comments | 21 points | on HN )
Re:Ask HN: Where do you find meaningful part-time tech jobs? on Friday November 05, 2021 @11:26AM (#29120630)
Mainly backend or tools, in Rust or Python.
Re:Ask HN: Where do you find meaningful part-time tech jobs? on Friday November 05, 2021 @11:20AM (#29120517)
I mainly look for backend (Rust or Python).
Re:Ask HN: Where do you find meaningful part-time tech jobs? on Friday November 05, 2021 @11:15AM (#29120433)
Thank you! I appreciated this info!
As a fellow Rust learner-and-user, I felt lots of points in the article are spot on.

I recently wrote a custom HTTP framework in Rust and had spent 2 weeks to figure out how to store a collection of async closure so I can call any of them later. The idea / goal was very clear, but it was so hard for me to figure out how to implement it in the language.

Maybe I'm not smart enough for Rust, but I've already used Rust for more than 1 year, and still struggled to use it. I don't know if I should switch to a different language, e.g. Golang.

Re:Tokio 1.0 – async runtime for Rust on Wednesday December 23, 2020 @05:07PM (#25522819)
From what I've read, smol was created by its author and later on adopted by async-std. And, its author was in Tokio team, and later left and was in async-std team before he left and created smol. So smol was based on quite deep knowledge and experience in async.
Re:Tokio 1.0 – async runtime for Rust on Wednesday December 23, 2020 @04:35PM (#25522505)
Thanks for the pointer! It's really sad to hear this. I'm using smol in my project and really like it. I didn't know the author left until now. It's a great loss for Rust, in my opinion.