News for hackers. Stuff that matters.
Re:Extensible WASM Applications with Go by cnity on Friday February 14, 2025 @06:36AM (#43047344)
You can do this with wasmtime using either a deadline trap or a concept called "fuel" which is basically a measure of "consumed CPU time" roughly speaking. I have used wasm for a very similar thing (user writing code for robots in a multiplayer video game) and it works very well. I am confident they can't mess with the server and I can prevent them from running long running processes.

There are no comments on this comment yet.