Minimalist libc/STL implementations?
Posted: Wed Apr 02, 2014 9:46 pm
Hi, are there any partial implementations of libc or the STL that would be good for using in a kernel? Maybe something developed with that use in mind? (Yeah, I know, that's quite unlikely, but I'm asking anyway because it's possible someone here has developed such a thing themselves.) Mainly, I just want robust implementations of the more basic C headers that don't need OS support (like stdint, stddef, stdarg, etc.) but are useful to have in generally any situation and the STL (that is, just the STL, not all the other stuff that is now part of the standard C++ library). I realize these things are nothing but a lot of #defines (in the case of the libc headers I want) or simple classes (in the case of the STL) that I could write naive implementations of in a few days, but there is apparently a lot that goes into them and I would rather use well tested code written by people better than myself as the library for my kernel.