You are viewing a single thread.
View all comments
-36 points
*

C is the hardware language N°1 of the high-level languages. If you actually want to know and control what happens in the machine, you write in C. Rust, C++ and all the other abstractions are for people who do not understand how computers and computer memory work.

Edit: grammar

permalink
report
reply
34 points

This is a misconception that’s common among beginner C programmers. They think C is high level assembly and don’t understand the kinds of optimisations modern compilers make. And they think they’re hardcore and don’t make mistakes.

Hope you figure it out eventually.

permalink
report
parent
reply
31 points
*

even if you write in assembly, you still may not actually understand what is going on in the machine since processors convert the instructions to “micro-ops”, and let’s not forget hardware bugs like those caused by speculative execution

permalink
report
parent
reply
24 points

I’ve written programs in C. I’ve written programs in assembly, for x86 and for microcontrollers. I’ve designed digital logic and programmed it into an FPGA. I’ve built digital logic circuits with transistors.

I’ll still take Go over C any day of the week. If I’m doing embedded, I’ll use TinyGo.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
1 point

Try Rust

permalink
report
parent
reply
3 points

Not everyone is on the Rust bandwagon

permalink
report
parent
reply
3 points

Have you tried putting some WD40 on it?

permalink
report
parent
reply
1 point

Why? I see no reason to go through the hassle of learning yet another language when Go serves my purposes perfectly and I’m happy with it.

permalink
report
parent
reply
17 points

CPUs are for people who don’t know how to melt their own sand into transistors.

Sand is for people who don’t know how to create their own silicon from hydrogen and a neutron emitter.

permalink
report
parent
reply
7 points

I wrote loads of firmware in c++ and some on highly constrained boards. You’re just stuck in the past and spewing bs

permalink
report
parent
reply
3 points

EL MAO

The obvious bait

CC BY-NC-SA 4.0

permalink
report
parent
reply
1 point

Forth is more like the real hardware language.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.5K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments