this post was submitted on 01 Nov 2023
139 points (96.0% liked)

Programming

16975 readers
1288 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 [email protected]



founded 1 year ago
MODERATORS
 

Assume mainstream adoption as used by around 7% of all github projects

Personally, I'd like to see Nim get that growth.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 10 months ago (2 children)

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.

[–] [email protected] 8 points 10 months ago

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.

[–] [email protected] 6 points 10 months ago (1 children)

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!).

[–] [email protected] 1 points 10 months ago (1 children)

In what ways does rust not live up to your expectations?

[–] [email protected] 3 points 10 months ago (2 children)

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.

[–] [email protected] 2 points 10 months ago

Rust forces you to learn and think about the stuff you need to know to be an effective C or C++ programmer.

[–] [email protected] 2 points 10 months ago

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.