Skip to content

Editor technology evaluation ​

Status: research candidates, not an accepted engine decision.

Integration shortlist ​

CandidateTypeDirect integrationLicense signal
CodeMirror 6Web editor libraryHigh, through a React adapterMIT
MonacoWeb editor libraryHigh, through a React adapterMIT
GPUINative Rust UI frameworkSeparate native surface researchAudit exact revision and dependencies
Lapce / FloemNative Rust editor / UI referenceNot a drop-in web editorAudit exact components; Lapce Apache-2.0
ScintillaNative editing componentPlatform-specific embedding researchPermissive upstream license; audit
ColorideTauri and CodeMirror architecture referenceStudy integration, not a library commitmentApache-2.0 per upstream repository

CodeMirror 6 is the first prototype candidate because its modular editor and viewport rendering fit the existing Desktop and future web surfaces. Monaco is the comparison baseline for mature editing and language features. Neither is assumed to match Zed latency. GPUI is a UI toolkit, not a complete code editor. Lapce and Floem are useful native references, but native window integration, text behavior and maintenance need measurement. Scintilla is a native component, not a React widget. Coloride is a research reference only; maturity, APIs, source provenance and licenses are not fully audited. No full editor fork or direct source copying is proposed.

Tauri 2 uses system WebViews: WKWebView, WebView2 and WebKitGTK. Measure each actual packaged platform. Do not replace Tauri or require a new runtime just to investigate a native option.

Candidate supporting technologies ​

Evaluate standard Language Server Protocol (LSP), Tree-sitter parsing, Debug Adapter Protocol (DAP), Rust text buffers (for example Ropey), native search and Git adapters when their specific consumer requires them. Avoid two authoritative document stores and unnecessary cross-process copies. WebAssembly extensions are later research under existing managed extension trust and sandbox gates.

Decision procedure ​

  1. Pin candidate versions and inventory direct/transitive licenses, security, maintenance, platform requirements, bundle and API costs.
  2. Build small disposable CodeMirror and Monaco prototypes with the same document contract and fixtures.
  3. Compare them with Zed and Lapce as external reference applications, using identical hardware and comparable user workflows.
  4. Select the simplest candidate meeting the performance, functionality, accessibility, security and portability gates. If neither meets the budgets after profiling, evaluate GPUI/Floem/native embedding with explicit window, input, accessibility and host-boundary design.
  5. Record an ADR, measured results, rejected alternatives and migration cost before production adoption.

Native frameworks are not automatically faster for the whole application. No candidate has been benchmarked in Intentloom in this documentation PR.

Upstream references ​

Upstream license statements are discovery evidence, not release clearance.