News for hackers. Stuff that matters.
Re:Go, D, Erlang and C in real life: MQTT broker implementat... by rdtsc on Thursday August 20, 2015 @10:59AM (#10092251)
> What about readability and ease of writing? I can’t read Erlang so I can’t comment on that.

The Erlang code looks very nice. If you read this, great work Patrick!

https://bitbucket.org/pvalsecc/

Nice use of gen_fsm + binary matching.

Here is an example of the client code that takes only 200 lines:

https://bitbucket.org/pvalsecc/erlangmqtt/src/f37505188c1f1c...

Re:Go, D, Erlang and C in real life: MQTT broker implementat... by playing_colours on Thursday August 20, 2015 @11:13AM (#10092343)
Yeah, it all depends on code authors. This is one more example of an mqtt broker in Erlang - VerneMQ; and it's very readable: https://github.com/erlio/vmq_server We are currently estimating it.
Re:Go, D, Erlang and C in real life: MQTT broker implementat... by dergraf on Thursday August 20, 2015 @12:00PM (#10092689)
Thanks, we're working hard to improve our codebase even more! :)

Umbrella Project can be found on https://github.com/erlio/vernemq as well as our website https://verne.mq

Re:Go, D, Erlang and C in real life: MQTT broker implementat... by shepardrtc on Thursday August 20, 2015 @07:44PM (#10095255)
Writing code in Erlang is such a pleasure. I really hope more people get exposed to it. The pattern matching alone is just so nice (and concise!).
Re:Go, D, Erlang and C in real life: MQTT broker implementat... by atilaneves on Thursday August 20, 2015 @12:45PM (#10093010)
I'll let him know :)
Re:Go, D, Erlang and C in real life: MQTT broker implementat... by rdtsc on Thursday August 20, 2015 @12:51PM (#10093052)
Thanks and thanks for sharing the benchmarks!