tech

tech

Are Ports Fast Enough? - Benchmarking Language Interop with Elixir

Ports are one of the main ways that Elixir can communicate with programs written in other languages. When you use a port, the VM spawns another OS process and communicates with it over stdin and stdout. Since this is the simplest way to do IPC between Elixir and other languages, I did some very informal benchmarks to find out if it's fast enough for my Elixir-based game engine.

Read