9 ms·
What are your thoughts on using Drifting in Space as a code executor/dev environment in the browser?
by kamikazeturtles 5y ago
What are your thoughts on using Drifting in Space as a code executor/dev environment in the browser?
- paulgb 5y agoThat's definitely a use case we're interested in. For example, here's a demo of spinning up a VS Code instance just by hitting an API endpoint: https://www.youtube.com/watch?v=ON-mHFxd04U https://www.youtube.com/watch?v=ON-mHFxd04U
- kamikazeturtles 5y agoSuper interesting! Have you guys tested Drifting in Space with executing users code and opening ports? (like replit)
- paulgb 5y agoCurrently we only expose one port per host, and it needs to speak HTTP. I do have a use-case in mind that requires exposing arbitrary TCP/UDP ports, as long as they're specified at “spawn time”, which might not quite get at the functionality replit has if it allows you to map ports dynamically while a service is running. So I guess the answer is “probably not in the near future, but maybe eventually” :)