Skip to content

Extension System Revision Plan #369

@andrewmd5

Description

@andrewmd5

The current extension system experiment has proven unsuccessful. The attempt to support multiple programming languages through WebAssembly (WASM) has resulted in an overly complex toolchain that significantly impacts portability.

Proposed Solution

Simplify to JavaScript-only extensions with the following architecture:

  • Runtime Engine: Replace the current system with Hako as the JavaScript engine
  • Compilation Strategy: Switch from wasmtime to WACS to enable Ahead-of-Time (AOT) compilation support

Benefits

This approach will:

  • Eliminate toolchain complexity
  • Improve portability across platforms
  • Reenable AOT compilation and make extensions available on all platforms (including web.)
  • Provide a single, well-understood language for extension development

Next Steps

  1. Build a C# Hako embedder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions