Comments by "Lepi Doptera" (@lepidoptera9337) on "No Boilerplate"
channel.
-
3
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
@afjelidfjssaf What you are comparing are COMPILER OPTIMIZATIONS, not languages. C is basically refined macro assembly language. It doesn't define all that many operations that do not already exist as native machine code instructions on most modern CPUs in one form or another. It does, of course, take care of memory allocation for you and it gives you a little bit of namespaces (an array or struct are, at the end of the day, just a name space for an allocated chunk of memory). Other languages are doing a lot more in that department, but that comes at a high cost: you lose access to the memory layout, which is not a good thing for performance and security purposes.
No, no language can beat assembly, but even relatively primitive compilers can beat most programmers. That's a limitation of programmers, it's not a particularly amazing feature of compilers.
I will give you a hint for the future: AI code generation will bypass the structured language level altogether. There is absolutely no need to generate human readable code for AI. It can output machine code directly just as easily. I would go even one step further: we may see AI that will generate microcode and programmable hardware maps directly. Welcome to the human-less future. ;-)
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1