2 ms·
Almost every C project re-implements some of the same basic data structures and algorithms (strings, lists, arrays, queues, hash tables, trees, unicode, etc). I
by stevedekorte 17y ago
Almost every C project re-implements some of the same basic data structures and algorithms (strings, lists, arrays, queues, hash tables, trees, unicode, etc). It's remarkable these haven't been standardized yet and it doesn't appear that the C++ standard template lib has solved the problem.
- Skeletor 17y agoAt least in that space at such a low level, there are many existing products people could choose to use if they wanted to. There are no existing free open source projects that solve this problem (and there are other problems where market forces seem to prevent a good common solution from coming about.) So if you are a C/C++ programmer you have the option to use someone else's low level data structure implementation you can use the STL or tons of open source projects (GLib, Boost). But just as programmer's love to avoid work and re-use code, they also love to reinvent the wheel which we are all free to do. However, if you were a start-up founder and you insisted on reimplementing low level data structure libraries for your product I don't think your company would last long (unless that is your hobby.)