this post was submitted on 29 Jul 2025
111 points (97.4% liked)
Open Source
39585 readers
245 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
By the way what do you dislike C++? I've been getting into lower levels of programming as of late and were unsure about the language to pick. Is it just the OOP stuff?
Thanks for asking. It's partly OOP, but more than that, C++ is just rife with footguns and is basically unreadable for me.
I think C is much more readable and I find imperative/procedural programming to be much more delightful and readable.
Rust is my absolute favorite though, because it removes the footguns of most lower-level langs while being just as performant. The only trade-off is that you need to understand the borrow checker, but working with it becomes substantially easier over time and saves an ungodly amount of headaches. You can also write something that very closely approximates OOP, without the most of the footguns (like inheritance, until you get into more advanced stuff like trait objects, anyway).
Trying things out with an ESP32 and i might opt for Rust after reading what you have wrote. There also seems to be enough resources to do that. I started using C++ as the Arduino IDE has decided that for me more or less. I suspect setting up a local development environment is also easier with Rust. (?!) I at least had problem Setting up C++ in VSCodium.
Don't like OOP as the next guy but sometimes its the right tool i feel like and i do have that case right now. So its great that Rust seems to have that as well to some extent. Actually as Rust is so much more readable i kinda expected to give up on some control but that doesn't seem to be the case. :)