There are several ways to do it: compile to C++, compile to the Neko VM, or use Node (there are official bindings: https://github.com/HaxeFoundation/hxnodejs) In development it's Haxe (which is a lovely language to work with) but in production it can be something you're familiar with.