Just made a blogpost EXPLICITLY to BYFO all the LARPers on here

we'll never stop.
you'll lose.
get used to it.

You're both right. C arose at a time where multiple machine architectures existed, but no easy way to port code from one architecture to another. C was designed as a light abstraction layer above these differing hardwares, with the compiler being responsible for translating from the abstract C machine to the target machine.

Then we went and built different C libraries for the different OSs, and reinvented yet another problem from our professional past.


Yes I know. I'm deliberately skipping them to keep this short and focused.

Scheme, and other functional languages are by design more abstract than languages like C. If you already "know how a computer works" then something like scheme or sml is going to look alien at first , and difficult to reason about how the machine executes your code.
Ada is also more abstract then C with things like parameter modes, thick pointers and array indexes. But in contrast to scheme languages it is still fairly easy to reason about how the machine would execute it, e.g. iterating over an array and updating values should compile down to almost the same assembly, even though with Ada you can use
for each x of foo loopx := x + 1;--orfor I in foo'range loopfoo(I) := foo(I) + 1;

Now the question is what the supposed benefit is of C where you do pointer arithmetic instead of working with indexed arrays, given that they compile to near identical code.

Basically right. Steve is also basically right, but phrased his argument in a way designed to induce controversy, not to facilitate understanding (he probably did this deliberately because he's a fag.)

Attached: thus always to tyrants.png (618x948, 315.88K)

F
Sleep Tight Terry

For Steve to be right his point is so fucking retarded that it's mind boggling, something like computer languages are for humans not machines. Y'know why because this is typical lefty-style propaganda.

No, he's just stating a obvious boring truth using deliberately controversial language. Contrived controversy is a great way to promote your faggot blog and act like you're really smart and great. You having such a strong negative reaction to it is exactly what he wanted.

You can use array subscripts in C too, you know. But the point is that, pointer arithmetic isn't black magic like array indexing is, since it's what really happening when you use those convenient brackets.
But I really find pointer arithmetic neat.

Literally who?

Alright riddle me this /g/. In most modern languages you can turn off safety features like array bounds checking and null dereferencing using compiler flags. So why not use a modern language like swift or rust instead of C. Both of them support the imperative programming design and have nicer features. You can be just as close to the metal in swift and rust. C has an ancient build system, its bloated, and you don't even have RAII. It seems you should only use C if you're working on legacy code.