65
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 23 Jul 2024
65 points (98.5% liked)
technology
23281 readers
150 users here now
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 4 years ago
MODERATORS
I've tried to learn Rust a few times and tbh the tooling just isn't that great. Maybe when Microsoft embraces it in VS (not VS Code!) I'll try again. JetBrains' Rust Rover looks somewhat compelling, but I couldn't get it to work for some reason. Also, I write a lot of code for ancient embedded systems that Rust doesn't support, so it's out for that reason anyway.
I don't remember exactly how, but you can specify a compiler using arcane magic I don't fully understand to compile for a baremetal target. Some people do full OS dev in just Rust, though usually C and ASM are involved to bootstrap. It can be somewhat arcane, though.
There's a blog about writing a micro kernel in Rust that details how to compile for bare metal. It's actually possible to entirely avoid C, although a bit annoying to be sure.
The tooling for Rust is the best out of any language I have ever written. Idk what you are looking for, but as someone who does backend dev in Rust, I can't think of a language that even comes close to Rust's tooling.