4 ms·
I wonder what the performance would be like if instead of running on ruby they ran it on a scalable virtual machine with near-first-class actors (not truly firs
by dnautics 9y ago
I wonder what the performance would be like if instead of running on ruby they ran it on a scalable virtual machine with near-first-class actors (not truly first class, but the engine is optimized to handle them, and the constructs are extremely important in the standard library) like BEAM.
- dwenzek 9y agoWhile Bloom was indeed coded in ruby, they use C++ for Anna: > We get this rich consistency in Anna with a very clean codebase, by porting design patterns of monotone lattice composition from Bloom to C++. In the paper: > The Anna actor and client proxy are implemented entirely in C++. The codebase—including the lattice library, all the consistency levels, the server code, and client proxy code— amounts to about 2000 lines of C++ on top of commonly-used libraries including ZeroMQ and Google Protocol Buffers.
- dwenzek 9y agoCurious to see such effective code, I looked for the source code, but found nothing. The more approaching code base I found is https://github.com/ucbrise/LatticeFlow https://github.com/ucbrise/LatticeFlow. Is the Anna source repository public ?