News for hackers. Stuff that matters.
Re:Haskell vs. Erlang for bittorent clients by p4bl0 on Friday January 03, 2014 @10:10PM (#7009805)
Another interesting read about coding bittorrent is Juliusz Chroboczek's [1] Hekate bittoreent seeder [2] which is written in Continuation-Passing C [3].

[1] http://www.pps.univ-paris-diderot.fr/~jch/

[2] http://www.pps.univ-paris-diderot.fr/~jch/software/hekate/

[3] http://gabriel.kerneis.info/software/cpc/

Re:Haskell vs. Erlang for bittorent clients by agumonkey on Saturday January 04, 2014 @02:52AM (#7010413)
I learned about CPS in Lisps but never in "pure" C, making [3] a very interesting read.
Re:Haskell vs. Erlang for bittorent clients by carterschonwald on Saturday January 04, 2014 @02:59AM (#7010421)
neat! (relatedly: GHC actually does a CPS transform towards the end of compilation phases)