250
you are viewing a single comment's thread
view the rest of the comments
[-] iAvicenna@lemmy.world 29 points 4 days ago

How is C or assembly obsolete when they are literally everywhere is beyond me

[-] CanadaPlus@lemmy.sdf.org 9 points 4 days ago

C is more obsolete than Rust. Coding directly in assembly is rare. Beyond that it's more subjective.

[-] iAvicenna@lemmy.world 21 points 4 days ago* (last edited 4 days ago)

The C which is an integral part of every linux kernel on every computer and server running linux as the OS and all the embedded systems everywhere and almost all the performance critical parts of python libraries?

I won't have much to say about assembly since don't use it but far as I know low level parts of OS such as bootloader likely still uses assembly not to also mention embedded systems.

As long as both of these exist in embedded systems, it is just statistically weird to call it obsolete even in regards to other languages.

For instance data scientists majorly use python, but python critically depends on C and devices they use critically depend on C and assembly. Can you then really say what they do does not depend on C and assembly and python is more widely used?

[-] CanadaPlus@lemmy.sdf.org 5 points 4 days ago

So, the Linux kernel is already partially moved over to Rust. It's probably in the Python ecosystem too, although I can't actually say.

More obsolete was a deliberate word choice. Hell, even COBOL is still used.

[-] iAvicenna@lemmy.world 6 points 4 days ago

yea but Rust is not above %80 of the languages in the chart. It is not just a matter of C being more obsolete than Rust it is more like C being one of the most obsolete in the chart. Can't call it that until it is replaced %80 by something else in systems that exists world-wide and everywhere.

[-] CanadaPlus@lemmy.sdf.org 3 points 4 days ago

I'd actually use some kind of projected future to define obsoleteness. Like, fossil fuels are obsolete relative to renewables, because there's going to be more going forwards even though there's more fossil fuels right now.

Athough, I have no idea if Mojo or Nim are going anywhere, and Brainfuck isn't. Maybe there's a dimension of novelty that's also flattened into that axis.

[-] sunbeam60@lemmy.ml 2 points 4 days ago* (last edited 4 days ago)

Many games are still hand optimised in assembly, at least the inner loops.

[-] Blackmist@feddit.uk 2 points 4 days ago

Compilers are pretty damn good at doing that by now.

I can believe there's some direct assembly usage down in the depths of Unity and Unreal engines, but the average game dev is probably not going to touch it.

[-] sunbeam60@lemmy.ml 2 points 3 days ago

I’d agree that the average game dev is on Unity or unreal and won’t be hand optimizing any inner loops.

But there are a surprising amount of studios still on their own tech and there the low-level engineers definitely do (I’ve worked in the industry and have seen it first hand - and done it myself).

It also tends to be at the start of a console’s life span before the compiler and linker is mature up against the hardware.

this post was submitted on 20 Aug 2025
250 points (100.0% liked)

Programmer Humor

25931 readers
1043 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS