News for hackers. Stuff that matters.
Re:Why use Rust on the back end? by eYrKEC2 on Monday March 20, 2023 @06:29PM (#35239738)
My current employer has a web backend and CLI in Rust. I joined the company having only dabbled in Rust, but having a background in C++, python, javascript, and verilog. It took me a month to feel able to do things and 3 months to feel reasonably comfortable. Still haven't mastered it after 1.5 years. Certain pieces of the rust ecosystem have their own learning curve such as diesel orm.
Re:Why use Rust on the back end? by DoesntMatter22 on Monday March 20, 2023 @10:51PM (#35241977)
I was using Chat GPT to learn rust but most of the examples it generated were pretty old (mysql 4 vs now at 21).
Re:Why use Rust on the back end? by joshka on Tuesday March 21, 2023 @01:09AM (#35242769)
As a fellow rust n00b, one of the big problems I'm seeing with using ChatGPT to generate rust is that it often doesn't have a good model of ownership semantics. This has caused me lots of burnt time working through plausible but not accurate solutions to problems.
Re:Why use Rust on the back end? by andrewstuart on Tuesday March 21, 2023 @07:30AM (#35244827)
You’re saying AI has trouble learning Rust too?
Re:Why use Rust on the back end? by joshka on Thursday March 23, 2023 @09:44AM (#35274679)
Lol. Yup. Though it’s possible that it was overfitting its response to my noob questions. I’ve had better luck since.