Comment by simonw
10 hours ago
The decorator syntax is neat but confusing to me - I would need to understand exactly what it's doing in order to trust it.
I'd find this a lot easier to trust it if had the Python code that runs in WASM as an entirely separate Python file, then it would be very clear to me which bits of code run in WASM.
Personally: love the decorator pattern after I got used to it :)
Posted this yesterday as well, but seems like a really nice emerging pythonic way to call out to remote infrastructure (see: Modal[1]).
[1]: https://modal.com/docs/examples/hackernews_alerts#defining-t...
Thanks for the feedback! What do you think about running the separate file directly from the decorator?
I'd love that. I want to be able to look at the system and 100% understand which code is running directly and which code is running inside the sandbox.