News for hackers. Stuff that matters.
Re:How low can you go? Ultra low latency Java in the real wo... by SomeHacker44 on Friday December 21, 2018 @09:44AM (#18733557)
As a very long time Haskell user, I wonder how much latency management would be controlling for the lazy evaluation thunks being evaluated at certain deterministic times.

In my gut I would not choose Haskell for my first choice for a low latency language. I would definitely have looked at Rust before Haskell.

Re:How low can you go? Ultra low latency Java in the real wo... by AnimalMuppet on Friday December 21, 2018 @12:00PM (#18734595)
It seems to me that part of high-performance computing is optimizing memory layout (so you can vectorize, and to avoid cache misses). I have a hard time seeing that even in Java; I have a really hard time seeing that in Haskell. Am I missing something?
Re:How low can you go? Ultra low latency Java in the real wo... by marcosdumay on Friday December 21, 2018 @12:34PM (#18734856)
As is usual in Haskell for this kind of question, you can theoretically capture the information at the type level, and there are good odds somebody is working in a GHC extension for that.

But on practice, I don't think you are missing anything.

Re:How low can you go? Ultra low latency Java in the real wo... by agumonkey on Friday December 21, 2018 @10:04AM (#18733676)
Of course, but still, it's interesting to see how far lazy fp can be reasoned about on this topic.

I always love optim talks whatever the language (granted its not a clusterfk interpreter).

Re:How low can you go? Ultra low latency Java in the real wo... by marcosdumay on Friday December 21, 2018 @12:31PM (#18734823)
There are people with good results for high throughput Haskell (worse than C, not by much, with code almost as complex as C). But for latency, the GC alone kills it.
Re:How low can you go? Ultra low latency Java in the real wo... by CyberDildonics on Friday December 21, 2018 @10:51AM (#18734034)
Haskell abstracts away order of operations. Both high performance and low latency benefit from the ability to be very specific about as much as possible and Haskell take the opposite approach. This may be good for data flow and throughput, but as soon as you need to control explicit order, state and resource usage Haskell is going to be working against you.