If you go that way, why not write LLVM Intermediate Representation? And if you know your server CPU anyway, why not write machine code?
I personally like Rust for web applications a lot because you can catch many bugs at compile time instead of during tests or runtime.