Comment by jrockway
17 years ago
It's worth noting that C can barely be considered static typing. If SQLite were written in, say, Haskell, I doubt it would need millions of lines of test code, just to make sure it frees everything it mallocs.
17 years ago
It's worth noting that C can barely be considered static typing. If SQLite were written in, say, Haskell, I doubt it would need millions of lines of test code, just to make sure it frees everything it mallocs.
I'm pretty ignorant about functional languages, but how does a language like Haskell handle allocation failures? I'm curious how well it would work in the embedded space.
I assume it doesn't handle it as well as custom hand-tuned code.
I've also never used SQLite on an embedded system.
iPhone applications use SQLite extensively. But I guess cell phones like iPhone are no longer really "embedded systems"
1 reply →