|
|
|
|
|
by silentpuck
318 days ago
|
|
I truly appreciate the depth of your response. I can see that it comes from long experience and serious thought. I don’t claim to be immune to the sharp edges of C. I’ve already cut myself more than once. Maybe I’m bleeding now and don’t even know it yet. But there’s something in me that still wants that control — even if it hurts. I’m not building for clients or large teams. I’m building for myself with intention. Maybe I’ll shift later. Maybe I’ll come to hate C myself.
But for now, every time I compile a C binary and see it run exactly as I built it — without layers, runtimes, or abstractions — I feel like I’m touching something real. I’ll take a look at Rust. Not to escape C — but to understand memory from a different angle. Thanks for your honesty. |
|
There are many modern languages that give you control without giving you the grotesquely unsafe constructs that C gives you. You don't need to pervasively be able to access arrays out of bounds. You don't need to pervasively be able to do arbitrary pointer arithmetic. Even if you do need to fool with that stuff you can always do it in some unsafe block. We've built methods that give you the control you need without the control you don't need.
Alternatively, consider learning assembler. No joke. While theoretically all my complaints apply only moreso, assembler has the advantage that being "the language we speak to the CPU with" means that it will always still have some use until such time as we switch CPU architectures. At least in the assembler world you know you're juggling lit torches all the time.