Remix.run Logo
simonw 13 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.

smithclay 12 hours ago | parent | next [-]

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...

mavdol04 13 hours ago | parent | prev [-]

Thanks for the feedback! What do you think about running the separate file directly from the decorator?

simonw 11 hours ago | parent [-]

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.