News for hackers. Stuff that matters.
Re:Channels, Concurrency, Cores: A New Concurrent ML Impleme... by bjoli on Monday October 15, 2018 @02:29PM (#18222290)
Not only that, but guile just got a 2-4x speedup in the 2.9 branch (what will become guile 3).

It is a really nice scheme implementation and very capable. The stuff the guix people have done is amazing!

Concurrent ML is my favourite way of writing multi threaded parallel programs. It is a bliss! One can say that reagents in multidirectional ocaml is another step downwards in that it in most regards generalises CNL, but in its base form it is not as simple to work with.

Guile fibers is amazing to work with, and has good repl integration. The performance I am able to get out of it is nothing short of amazing.

Re:Channels, Concurrency, Cores: A New Concurrent ML Impleme... by dman on Monday October 15, 2018 @02:58PM (#18222614)
What are you using it for? Is any of the work publicly available?
Re:Channels, Concurrency, Cores: A New Concurrent ML Impleme... by bjoli on Tuesday October 16, 2018 @03:54PM (#18232642)
I have started using it to do every single task that I would previously use threads for, and for a lot of other things that I would otherwise have done sequentially.

Two days ago I made my own very shitty static site generator parallel using fibers.

I have a POC for a irc-like server with proof-of-work to send messages depending on current message throughput. (Not online yet)

I am not really a programmer, so I mostly do stupid things with it. I made my smart home server (written by me, using ZigBee to communicate with devices) scale to thousands of parallel authenticated connections. Just for fun (or at least to be able to say that my WiFi and ZigBee dongle gave up before my own ZigBee controller software did).

I have even used it for fully cooperative multitasking (by setting the "Hz" in guile-fibers to 0).