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
 

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
[–] copygirl@lemmy.blahaj.zone 23 points 1 year 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.

[–] thingsiplay@kbin.social 7 points 1 year 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.

[–] otl@lemmy.sdf.org 6 points 1 year 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!).

[–] IvarK@lemmygrad.ml 1 points 1 year ago (1 children)

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

[–] otl@lemmy.sdf.org 3 points 1 year 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.

[–] Amaltheamannen@lemmy.ml 2 points 1 year 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.

[–] lolcatnip@reddthat.com 1 points 1 year ago

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