11
submitted 2 months ago by [email protected] to c/[email protected]
top 13 comments
sorted by: hot top new old
[-] [email protected] 8 points 2 months ago

The video’s message is that Rust is positioned to be the universal programming language of the future - one that developers can learn once and use across all domains throughout their entire careers, similar to how C served that role for previous generations of programmers.

[-] [email protected] 9 points 2 months ago* (last edited 2 months ago)

Except its syntax is a huge step back. Imho.

[-] [email protected] 4 points 2 months ago
[-] [email protected] 3 points 2 months ago

The main thing that has been bugging me is slowness of rust-analyzer or whatever the name is of the code completion engine.

[-] [email protected] 2 points 2 months ago

People are very tolerant of bad syntax.

[-] [email protected] 3 points 2 months ago

Unfortunately. But it feels and looks like JS, they then realized they needed typing, so they slapped Python typehints on top, but made them essentially optional, but still enforce strict typing. Then they realized that using installed libraries was too convenient, so they shit on the worst dependency system I've ever seen.

[-] [email protected] 9 points 2 months ago

Wait, you're bringing up Python and saying Rust has the worst dependency system you've ever seen?

[-] [email protected] 4 points 2 months ago

At least I can manage Pythons packages without pip (eg. with pacman) and it doesn't need to compile ~500 packages for a program as complicated as hello world. I can probably compile the kernel faster than most of the small shit rust programs I need on my server.

[-] [email protected] 8 points 2 months ago

You can manage Python packages? When I try to pip install -r requirements.txt, it fails because I'm on Python 3.12 instead of 3.11, except it doesn't tell me that's why so I spend the next hour debugging that only to later find out that I also installed the packages globally instead of in a venv and now I need to uninstall them to unfuck my other environments.

But hey, if it works for you, then that's great.

[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

I can manage it very easily. In fact, I don't even need to do that because pacman keeps track of dependencies itself and installs those dependencies system-wide automatically. Even python packages.

And practically, just install and use the recommended/required python version.

[-] [email protected] 4 points 2 months ago

I thought it looked more like the bastard child of C++ and OCaml.

Honestly, I've seen worse. Rust syntax isn't that much of a sticking point for me.

[-] [email protected] 4 points 2 months ago

Also attenpting to search for how to do stuff (like writing a server application in rust) inevitably brings up the game Rust (especially if you are trying to google with the word server in your question)

[-] [email protected] 1 points 2 months ago

And I feel like there are much less relevant questions for topics. Only the docs, which are not that helpful imo.

this post was submitted on 12 Mar 2025
11 points (100.0% liked)

Programming

13636 readers
20 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS