Go Sandbox: A full-featured, IDE-level Go playground β now live and free to use
How does go playground work?
Videos
Hi all, just wanted to share a tool I built for Go developers:
π https://go-sandbox.org
Go Sandbox is a web-based Go programming environment delivering a nearly native development experience enhanced with LSP-powered features:
Go-to-definition, reference lookup, autocompletion (via LSP)
Real-time code execution over WebSocket
Shareable, runnable Go code snippets
Code structure outline, multiple sandboxes
Vim/Emacs-style keybindings and dark mode
Free, zero-registration and setup
It was inspired by the official Go Playground and Better Go Playground, but built with a more IDE-like experience in mind.
Would love to hear your thoughts β feedback and bug reports are very welcome π
Or for that matter how does any of these non javascript code playgrounds work?
I have a vague idea that you can use secccomp to craft what syscalls can a process have access to. So, containers with resource constraints + seccomp is the way to solve the problem of running an untrusted code?
I found this amazing blog post by Andrew Gerrand, explaining the internals of Go playground. But the disclaimer makes me sad
NOTE: This article does not describe the current version of the Go Playground.
Since Playgroud V3, the implementation changed from using Nacl to gVisor. TBH I couldn't grok it well.
Are there any recorded talks on Go Playground or for any such code Playground projects in general?
If you have any detailed resources on this topic please help me. This tech is super interesting π