3 ms·
Yay! I'll just mention that this one feature will help this language immensely. The standard method for sharing Go code snippets is on play.golang.org, and the
by Intermernet 11y ago
Yay! I'll just mention that this one feature will help this language immensely. The standard method for sharing Go code snippets is on play.golang.org, and the huge number of JS/HTML/CSS sandboxes out there have shown that an online, linkable code execution environment can really help with language adoption.
What are the limitations of the online environment vs the full language? (I presume a lot of low level stuff is sand-boxed or mocked) What features aren't available?
- ben0x539 11y agoThe biggest limitation is probably that you can't use packages from the cargo ecosystem. I haven't looked in detail but afaik it runs genuine rust binaries in a sandbox. You can investigate at https://github.com/rust-lang/rust-playpen https://github.com/rust-lang/rust-playpen / https://github.com/thestinger/playpen https://github.com/thestinger/playpen if you feel like it. :P