News for hackers. Stuff that matters.
Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by polskibus on Saturday November 26, 2016 @03:17PM (#13045627)
How does it compare to alternatives? Is it comparable to say Akka.Streams?
Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by noelwelsh on Saturday November 26, 2016 @04:36PM (#13046011)
At the moment I would say Strymonas is a tech demo. If I was reviewing the code there would be a lot of comments along the lines of "seal this trait", for example.

I would expect it to be very much faster than Akka Streams. It has quite a different design as far as I can tell, and doesn't support things like distribution across machines.

Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by jghn on Saturday November 26, 2016 @05:17PM (#13046227)
I thought that Akka Streams didn't support distribution either, at least not yet. Has that changed?
Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by ivcha on Sunday November 27, 2016 @11:46AM (#13050035)
It does actually. Check out http://doc.akka.io/docs/akka-stream-and-http-experimental/1...., where a distributed echo example is shown.
Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by joshlemer on Saturday November 26, 2016 @06:59PM (#13046780)
No, that still has not changed yet.
Re:Strymonas – A library for OCaml and Scala for fast, bulk,... by a0 on Saturday November 26, 2016 @07:48PM (#13047006)
I am not closely familiar with Akka.Streams but can give you an intuitive explanation about what is new in Strymonas: the computation flow described with functional combinators like map, take and filter is represented as staged data ('a code type in OCaml), this means that what you get is not an actual computation but just a declarative description of all the steps. During compilation the combined code data structure is encoded as a simple loop or unfold computation.

Does that help?