6 ms·
>but is apparently normal for pure functional languages Where did you hear that? >and GC pauses longer than 100ms. Yikes! That is not normal at all. You wo
by imanaccount247 12y ago
>but is apparently normal for pure functional languages
Where did you hear that?
>and GC pauses longer than 100ms.
Yikes! That is not normal at all. You wouldn't be able to write a decent webserver in haskell if that were normal.
- samnardoni 12y agoI think he/she meant the GC pauses were never longer than 100ms.
- imanaccount247 12y agoYes, and getting anywhere close to 100ms is not normal at all. Warp benchmarks show total request latency never goes above 50ms or so, a 100ms gc pause would be very apparent.
- zimbatm 12y agoIt's from memory, it's possible that the major GC where around 50ms. Minor GC where around 5ms for sure.
- zimbatm 12y ago> but is apparently normal for pure functional languages Where did you hear that? It's certainly true for Clojure as well. My guess is that it applies to any language that uses immutable data structures. I remember Rich Hickey talking about issues with the JVM due to clojure's unusual allocation model in one of his talks.
- imanaccount247 12y agoIt may well be true for clojure, but it is not for haskell. I know both clojure and scala have issues due to assumptions in the JVM execution model that don't play well with functional programming, but ghc was written explicitly just for haskell.