this post was submitted on 07 Dec 2023
512 points (87.3% liked)

Asklemmy

43940 readers
483 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] 257m@sh.itjust.works 10 points 11 months ago (2 children)

C is not a great language but is the best language we have.

[โ€“] RagingRobot@lemmy.world 4 points 11 months ago (2 children)
[โ€“] Scavenger_Solardaddy@lemmy.ml 6 points 11 months ago

For doing C things

[โ€“] 257m@sh.itjust.works 3 points 11 months ago

for programming.

[โ€“] Iapar@feddit.de 3 points 11 months ago (1 children)

What about rust? Isn't its goal to be a modern c? Not that this is my opinion just something i read.

[โ€“] 257m@sh.itjust.works 2 points 11 months ago (1 children)

Rust is a better C++ replacement than C. Something like Odin would fit the mold better than Rust ever will.

[โ€“] Iapar@feddit.de 1 points 11 months ago (1 children)

Is it because c/odin is even lower level or what is the difference in your opinion if you don't mind explaining.

I try to make sense of the whole programming world but it is just so complex and most of what is written is pretty dry so i like to ask people.

[โ€“] 257m@sh.itjust.works 2 points 11 months ago

Simplicity of design. Rust is built cleverly. It has lots of features and there are also tons of clever ways to solve a problem. Odin is quite simple and although not entirely minimalistic, it is written in a very clear way when approaching a problem. The borrow checker in rust in one thing I would call clever. It takes time to get used and although can be quite useful for safety it is too clever.