Skip to content

Instantly share code, notes, and snippets.

@StachuDotNet
Last active September 2, 2022 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StachuDotNet/6f7240274eb5ae592e60fbbb7c2a6445 to your computer and use it in GitHub Desktop.
Save StachuDotNet/6f7240274eb5ae592e60fbbb7c2a6445 to your computer and use it in GitHub Desktop.

The Parts of Dark

  • core: language, editor, hosting, runtime, infra

    • the Dark language the definition, interpreter, standard library
    • the editor (what you're looking at right now - where you build Dark stuff)
    • the infrastructure, runtime, and hosting the runtime, hosting, connections, scaling
  • handlers: http handlers, REPLs, refactors, migrations, etc.

    these have Dark code

    • http handlers public endpoints in the internet, so you can build backends
    • REPLs encode core business workflows and write one-off scripts
    • crons for scheduled background jobs
    • workers for async event-processing
    • future: websockets
    • future: refactors
    • future: tests
  • data: data stores, static assets, files, telemetry, secrets

    • data stores so you can store your data in Dark itself
    • static assets hosting (and file hosting, eventually)
    • usage data logs, analytics, error reports, trace data, http and worker 404s
    • secrets management for storing API keys
  • ecosystem: community, collaboration tools, packages

    • package management system and ecosystem for sharing code templates or libraries, refactorings, DB access, httpclient bindings, editor themes, etc.
      • across your personal canvases, across your private organization, or as a package usable by other Dark developers, either as open source or in a commercial marketplace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment