ErlangInside

28

maa

Playdar Codebase Reduced by 75% by Erlang Rewrite

Playdar, an open-source ‘music content resolver service’ that finds music on your local computers or your friends’ computers and streams that music to you, rewrote the code in Erlang. From the original C++ codebase, Richard Jones reduced the lines of code by 75%. In other words, it went from 8000 to 2000 lines of code. The code is on GitHub and the old source is available if you want to compare the two. The biggest hurdle Richard has yet to overcome is the redistributable binary is about 10MB vs 2.5 MB for the C++ version. Does Erlang have a future in desktop applications outside of CouchDB?

Leave a comment