2 ms·
Cool. Did you think Java was a good choice for this kind of work? Why not Go like OP or something else?
by carabiner 3y ago
Cool. Did you think Java was a good choice for this kind of work? Why not Go like OP or something else?
- cempaka 3y agoI mostly went with Java because it's what I knew best, and I thought was likely to be "fast enough" for the market I was in. I'm sure Go would be similar in this case but didn't want to have to take the time to learn it. I do think that if Java can deliver on the combination of the foreign function/memory interface and value types, it might really start to look competitive for certain strategies which are just a bit too complex for the "do everything in the network card" approach. When the Aeron guys first implemented their protocols in Java, C#, and C++, C# was actually the fastest, which they attributed to the presence of both the optimizing runtime and value types.