I came across the quite awesome glot.io last night - it’s a kind of pastebin/gist store, except snippets can be executed as code in a number of languages. I can see this being a really useful tool for showing or teaching programming.

There are some pretty great aspects:

  • It runs code server-side, so no need to install tools locally. This is useful for quickly demonstrating concepts in other languages. Code runs inside docker containers, for a limited period of time and without network access, but that’s enough for most practical purposes.
  • It has a good range of languages. Some are quite unsurprising; JavaScript, Java, Python, etc. However, there are some surprises (e.g. assembly and bash) and some languages I’m keen to use more or learn, such as Go, Nim, Elixir, Erlang, Haskell and OCaml.
  • It has an API
  • It’s open source
  • Snippets are embeddable, remain executable, and editable! e.g. see below, and try running and changing it too:

Previous post
Testcontainers 1.0.4 is out Testcontainers version 1.0.4 has been released. This release adds bug fixes and some great new features: in particular support and building of
Next post
Testcontainers 1.0.5 is out Testcontainers version 1.0.5 has been released. This release adds a pluggable wait strategy to allow container startup validation to be customized