by thesz · 2w ago · 0 comments
In 2019 my colleagues made a Byzantine fault tolerant database with 16K+ TPS throughput, using PBFT-like consensus implementation and signed transactions. It was capable for such throughput being geodistributed.
Some 16+ years ago I was very interested in electronic hardware design. One of the typical errors in this area is the use of values from different clock domains. By using phantom clock parameter in the Wire type, I prevented this particular class of errors.
What I've found in my line of work, is that simple implementations of parser combinators in the style of Parallel Parsing Processes [1] had quadratic complexity for regular parts of context-free grammars when implemented with C++ and C#, but superlinear and subquadratic (around O(N^1.4)) complexity when implemented with Haskell.
[1] https://www.cambridge.org/core/services/aop-cambridge-core/c...
I use Haskell first for all my side projects, because I usually very interested in having something implemented correctly to check whether I understand the idea and then whether idea is worth pursuing at all. I do that for 28 years now.
No comments yet.