4 ms·
One of the first homework assignments when I learned C back in '83 was after a long lecture on how the string functions are fundamentally broken, and the class
by bsenftner 5mo ago
One of the first homework assignments when I learned C back in '83 was after a long lecture on how the string functions are fundamentally broken, and the class introduction to writing C was fixing all of them.
- psvv 5mo agoMy memory growing up is that making your own C library was basically an inevitable rite of passage for any aspiring programmer.
- prerok 5mo agoYeah, it's a shame we never got something like boost for C. Every company I ever worked for had its own common C library solving these problems.
- ndesaulniers 5mo agoIt's a shame we never got a package manager for C (or C++). EDIT: perhaps I should have been clearer; by not having one early on, we now have multiple competing package managers, with no clear winner. Responses prove that point.
- bsenftner 5mo agoI worked at a shop where we used Boost in a C++ code base that the only use of C++ was the harness to use Boost. After that, it was all C, object-styled C, as that code base started before C++ compilers were not a template overlay on C.
- lanstin 5mo agoAnd then your own custom allocator that would be fitted for your algorithms and vastly faster than malloc.