4 ms·
Is WASM support in the cards? This would be awesome for isymtope.org but the engine is in Rust. I think you just launched the next serverless resolution ;)
by tmzt 9y ago
Is WASM support in the cards? This would be awesome for isymtope.org but the engine is in Rust.
I think you just launched the next serverless resolution ;)
- kentonv 9y ago> Is WASM support in the cards? Heck yeah. We almost get it for free with V8, except that the default WebAssembly API is designed around dynamically loading code at runtime, whereas we want to make sure that all code we run is uploaded strictly through the config UI/API and is available for forensics. So basically we just need to build a way to upload WebAssembly blobs and import them.
- tmzt 9y agoIs the issue with a length limit on data: uri's? something with the CSP? Will there be some kind of session storage or is it completly stateless?
- kentonv 9y ago> Is the issue with a length limit on data: uri's? something with the CSP? The problem is if we left the WebAssembly API enabled as-is, then people could fetch code from the internet and execute it. We already disable JS eval() so we had to disable the WebAssembly API too. > Will there be some kind of session storage or is it completly stateless? We're working on storage. It's a complicated problem. :) (See elsewhere in this thread.) In the meantime, for many use cases you can use the HTTP cache as a sort of storage. Also, each worker instance has global variables which are writable -- there's no guarantee we won't reset your worker at any time, but generally one worker instance will handle multiple requests so can do some in-memory caching in globals.
- xab9 9y agoThis site loads very slowly, most images are in the megabyte range :(