Skip to content

Instantly share code, notes, and snippets.

@tooolbox
Last active March 13, 2021 21:31
Show Gist options
  • Save tooolbox/6ca7c4e47f23764d1b2c6fe929a55d50 to your computer and use it in GitHub Desktop.
Save tooolbox/6ca7c4e47f23764d1b2c6fe929a55d50 to your computer and use it in GitHub Desktop.

Some thoughts on a server.

Database access

Use Jet to generate a typesafe DSL for your database and compile it ahead of time, then write Yaegi-interpreted scripts that use this DSL. Gives you editor support (code completion, linting) with fast iteration and theoretically high performance since most of the work is done in compiled Go.

Templating

Some interesting combination of things that may or may not include these:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment