3 ms·
Fun stuff , thanks for posting it. I've been getting back into C lately, iterating through implementing common algorithms from scratch. In spite of the kinds
by GrinningFool 10y ago
Fun stuff , thanks for posting it. I've been getting back into C lately, iterating through implementing common algorithms from scratch.
In spite of the kinds of easy to make mistakes that are highlighted on the site, I'm finding it to be a lot of fun - not having my hand held by frameworks that try to stop me from shooting myself in a foot is refreshing and brings back that feeling of "I can build whatever the hell I want in whatever f'd up way I want" that C always held for me.
Too, in the years since I've last done something like this, I've learned a lot - so he process is made better by applying ideas I've internalized to old problems, measuring effects on performance, etc.
Core dumps are a thing that I can cause without triggering some kind of obscure runtime bug and it's oddly exciting.
- sdegutis 10y agoYou know, I have a love/hate relationship with C kind of like what you described. In general I hate how hard it is to use and how easy it is to make gigantic mistakes in it. But on the other hand it's so raw and pure that it makes it a fun challenge. Recently I decided to write a SNES-era video game in C using SDL2, so we'll see how that goes. Maybe my mind will change as I make progress on that front.
- keithnz 10y agoPart of my projects, I write C for embedded devices. It's actually not so hard if you adopt common idioms for doing things. Most of the puzzle type problems go out of their way to cause problems. Things like the MISRA C coding standard will keep you out of most trouble, though I ignore some of their advice.