I'm surprised to see Apple using Github; particularly now that Microsoft owns it. It is where the developers are though. And it certainly beats a hidden download on opensource.apple.com.
I’d say Microsoft owning it makes it more attractive rather than less. Less risk of it being acquired by some unknown company in the future or collapsing through mismanagement.
Apple Open-Sources FoundationDB Record Layer
31–36 of 36 posts
Re: Apple Open-Sources FoundationDB Record Layer
#32Re: Apple Open-Sources FoundationDB Record Layer
#33Earlier quoted context omitted.
FDB itself is written in Flow, which is 98% C++ with a few extra keywords thrown on top that gets compiled to actual C++. This gives them actor model concurrency in C++ that is completely deterministic by generating very ugly code that uses callbacks instead of threads or coroutines. 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 th…
> 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
#34Re: Apple Open-Sources FoundationDB Record Layer
#35I didn't expect this to be written in Java. Do they talk about this decision anywhere? I didn't catch anything in the announcement.
This was a little disappointing to me; the paper[0] pitches as a design principle it’s efficiency and embeddability but it’s not clear to me how one could achieve this except in another JVM-based language. This is in contrast to the core fdb client library, which is ~easy to embed all over as it’s in C. So it seems like services in languages like Go, Rust, python, node, etc are essentially forced to dream up a bespok…
Re: Apple Open-Sources FoundationDB Record Layer
#36I didn't expect this to be written in Java. Do they talk about this decision anywhere? I didn't catch anything in the announcement.