2 ms·
Amazing that the pain of C is unnecessary and offers few benefits.
by imtringued 2y ago
Amazing that the pain of C is unnecessary and offers few benefits.
- hyperhello 2y agoC is very much one level above assembly, the way dipping a jug in the river is one level above bending down to drink. It's a whole lot easier to mechanically translate *ptr++ = 0 to the corresponding machine code than to memorize and write those actual instructions. Neither is going to automatically check the security of your memory access through any more than the jug is going to test the water.
- pjmlp 2y agoIn the good old days of dumb CPUs. There is a world apart between C code and auto-vectorization into AVX 512.