← Back to context

Comment by slackerIII

17 years ago

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"

    • What I meant by that comment was, "If I were writing a database, I would avoid C and save myself hundreds of thousands of lines of test code... at the cost of not working well under low-memory conditions." Obviously, it is very useful that there is a public-domain SQL database that works under these conditions, but using C came at a (IMHO, unreasonably high) cost.