this post was submitted on 14 Mar 2024
81 points (97.6% liked)
Programming
17313 readers
180 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'd say go with Go or Rust. Go is like Python (garbage collection) but compiled. Rust is kind of like C++ but not exactly. It does not have garbage collection or manual memory management but something called "ownership and borrowing". It's as fast as C++ or even faster and has a modern syntax. Though Rust is harder than Go since it is under the hood a systems programming language. If you want something faster than Python, Go is good. I specifically chose Rust over Go since I wanted performance and just wanted to try how it was. I'm still a beginner in Rust but I wrote a few projects at reasonable scale for my level. And also, Rust's error messages are extremely nice. It really lives up to the memes.
To learn Rust: https://www.rust-lang.org/learn
To learn Go: https://go.dev/learn/
Why not just stick with Python until there's a need to learn something else?
Rust syntax is way closer to Python than go. Go's syntax is awful imo. It's like objective C
Okay, my bad. Go's syntax sucks now that I take another look at it compared to Rust's.
No.
I have written rust for my research (one does not simply calculate 4 million data points in python), but just no.
My main code is still python, because it's just so much nicer to write and iterate on.