Skip to content

Instantly share code, notes, and snippets.

@stagas
Last active August 11, 2023 07:27
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 stagas/d39f697d3166c1897d8dee3e96fabc2c to your computer and use it in GitHub Desktop.
Save stagas/d39f697d3166c1897d8dee3e96fabc2c to your computer and use it in GitHub Desktop.
Design draft for a high-level Web language.

Design draft for a high-level Web language.

  • Good editor support.
  • Good package management and distribution channels.
  • Good interfaces.
    • All modern goodies - Pattern matching, Tuple/Records, ?
    • First-class Reactive interfaces.
    • JSX (or any style XML-in-lang, first-class)
  • Good interoperability.
  • Quick to compile.
    • AOT and JIT.
  • Produce performant code.
  • Easy to maintain.
  • No gotchas.
  • Must be able to import and use TS packages.
  • Compiles to a hybrid JS+Wasm+Workers.
  • A VM that glues common DOM patterns in JS+Wasm+Workers in the best possible performant way.
  • Easy to hack.
    • Plugin system (or simply all of it implemented as plugins).
    • Macros.
  • Good error messages and error handling.
  • Fine-grained Resource lifetime management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment