custom header menu Features Pricing Docs Blog Login Signup menu logo Your browser does not support SVG end custom header Begin Posts Jun 12 .date Small tips when you are building Erlang drivers I can already hear you asking WHY, but there are cases when you just need to combine Erlang’s high availability and message parsing with the raw power and speed of C. We @BugSense are using Erlang and C to power our stream database called “Lethe”, which can handle and process more than 2.5M rows in under 5 secs. On a single node. We plan to release most of it as OpenSource in the near future, so keep bugging us! First of all, there are many ways to build Erlang C drivers (called Ports). Let’s separate them in two categories: The proper way and the lunatic way. We’ll go the lunatic way. I am calling it lunatic because if your C code has an error, BEAM (Erlang’s VM...