The goal of my project was to be able to thoroughly test a poker server using poker bots. Each poker bot was to to excercise different parts of the server by talking the poker protocol consisting of 150+ binary messages. The poker server itself is written in C++ and runs on Windows....
This app is all about binary IO, thousands of threads/processes and easy serialization. All I ever wanted to do was send packets back and forth, analyze them and have thousands of poker bots running on my machine doing same. Lofty but simple goal :-). Little did I know!
Erlang and Haskell compared... Want to know the conclusion?
I was able to finish the Erlang version 10 times faster and with 1/2 the code. Even if I cut the 10-11 weeks spent on the Haskell version in half to account for the learning curve, I would still come out way ahead with Erlang.
I am sure you'll find a lot to disagree with in this article...
Recent comments
1 day 8 hours ago
1 day 21 hours ago
2 days 23 hours ago
5 days 19 hours ago
5 days 20 hours ago
6 days 8 hours ago
6 days 8 hours ago
6 days 20 hours ago
1 week 10 hours ago
3 weeks 2 days ago