News for hackers. Stuff that matters.
Re:Run JavaScript on Cloudflare with Workers by mankash666 on Tuesday March 13, 2018 @12:17PM (#16577296)
Would it be possible to invoke native code like in other FaaS runtimes: https://github.com/mankash/nativeGcpFunction?files=1
Re:Run JavaScript on Cloudflare with Workers by kentonv on Tuesday March 13, 2018 @12:28PM (#16577375)
Once we enable WebAssembly, you'll be able to use compiled languages like C/C++/Rust/Go/etc. through that. It's not exactly "native code" but should accomplish the same goals.

We don't plan to allow true native-code because sandboxing native binaries is much more expensive than sandboxing with V8 / WebAssembly. In fact, for these kinds of massively-multi-tenant scenarios, code running in a V8 sandbox can actually be faster than "native code" due to reduced context switching. See: https://blog.acolyer.org/2017/08/22/javascript-for-extending...