by srcmap · 9y ago · 0 comments
I used to work on OO database engine that handles billions of records.
I end up rewriting/overloading my own new/delete and redesign everything how data is load/store around it. Shorten the open/close document time from hours to seconds for large documents.
Basically, one can easily mmap billions of records directly into data structures accessible by C API easily in a few ms. One can dispose billions of records also in a few ms. I saw similar design patterns from the sqlite code base.
Language with memory safety (GC) design in mind won't allow anything like that as far as I know.
I love to see some D experts prove me wrong.