Re:Apple Open-Sources FoundationDB Record Layer
by teacpde on Tuesday January 15, 2019 @12:27PM
(#18912907)
> Writing record layer in C++ would be overkill
Mind to elaborate on why C++ would be overkill? I understand the layered architecture decouples data model from underlying storage so it can be implemented in whatever language. To me, Flow and not having GC makes C++ a good choice.
Re:Apple Open-Sources FoundationDB Record Layer
by ryanworl on Tuesday January 15, 2019 @01:25PM
(#18913508)
It would be a fine choice, (and the document layer is) but the most performance sensitive parts of the entire system when you take it as a whole are already written in Flow. Writing it in C++ entirely would take a lot longer.
Re:Apple Open-Sources FoundationDB Record Layer
by polskibus on Tuesday January 15, 2019 @11:56AM
(#18912579)
Could you please provide a link to Flow?
The reason for Java being used here, if I had to guess, is they have experience running Java in production and the Java bindings are the most mature (in my opinion). Writing the record layer in C++ would probably be overkill. The reason the Java bindings are the most mature is probably because they needed to be to write this :)