this post was submitted on 01 Nov 2023
129 points (96.4% liked)
Programming
17402 readers
137 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Zig hasn't been mentioned yet, so I'm just going to drop that here.
I personally have enjoyed the meta-programming, the ease of integrating with C libraries, and like that it's pretty straight-forward to compile.
Came here for Zig too. I never programmed anything in it other than hello world stuff. I think the world is waiting for the 1.0 release with complete tooling and package manager and a solid foundation that won't change too soon. I watched talks from Andrew and what this guy and his team is doing is amazing. It's a small team.
Zig is what I thought Rust would be like when I first heard of Rust. I'd love to try Zig for some hobby things but can't get it running on OpenBSD (yet!).
In what ways does rust not live up to your expectations?
Oh there is absolutely zero disappointment.
Years ago I wanted to learn how OpenBSD worked. Some people said to me “ah you want to get into programming at OS level? I was a bit disappointed with Go. But don’t learn C, learn Rust; Rust is the future there”. So as a total novice I looked at all 3 on the page. My impressions were: Go looks easy, C looks a bit harder, Rust looks… way too advanced for a beginner like me.
Later when I heard of Zig I started reading and it looked a bit more like what I expected a “future C” to look like.
I wish I had more time and skills to do work in C, Rust and Zig. I’m a Go programmer by trade.
If you know how computers work and what happens behind the scenes, as well as some familiarity with functional languages with strong types Rust makes a lot of sense and isn't egen hard.
If you are new to programming or have only done scripting with languages like python then yeah, rust must look like hell.
Rust forces you to learn and think about the stuff you need to know to be an effective C or C++ programmer.