01 / 05Overview
  1. 01Overview
  2. 02Why we're building it
  3. 03What changes
  4. 04How it's checked
  5. 05Where it stands
Case study · Pre-alpha

Silq

One Rust codebase for an interface on every screen. Silq lays out and draws every pixel itself, so a screen looks and measures the same everywhere, while scrolling, selection and shortcuts follow each platform. To know it draws right, we put it next to a browser.

What a client receives from Quotes, a quote document on a tablet, drawn by Silq in the test font Tuffy
The same page drawn by Chromium at the same window, for comparison
Built in
Rust, one codebase
Draws
Every pixel itself
Runs today
A Linux window
Status
Pre-alpha, private

Readouts

crates in the workspace
43
tests in the code
1,978
edge cases with a test
1,788
decisions written down
86

Counted in the repository, 3 December 2026

Same page, two engines

Drawn by Silq, beside a browser

Each pair is one page of Quotes, our quoting app, at a 1600 × 1000 window: Silq's drawing first, then headless Chromium's. Both use one test font, Tuffy, so text widths compare; that's why it isn't Quotes' own font. The share of pixels that differ is measured, not estimated. Every name and figure is invented.

  • Quotes' quote editor drawn by Silq: ribbon, block list, quote sheet with options, inspector panel

    Quote editor, drawn by Silq: 4.7 % of pixels differ from Chromium.

  • The same quote editor drawn by Chromium

    The same page, drawn by Chromium.

  • Quotes' catalogue drawn by Silq: category tree, filtered article table, article detail

    Catalogue, drawn by Silq: 4.0 % of pixels differ.

  • The same catalogue drawn by Chromium

    The same page, drawn by Chromium.

  • Quotes' home drawn by Silq: four counters and a table of quotes to carry on with

    Home, drawn by Silq: 2.8 % of pixels differ. Silq still squares corners Chromium rounds.

  • The same home page drawn by Chromium

    The same page, drawn by Chromium.

02Why we're building it

Every pixel drawn, every pixel checked

  • 4.7 %median share of pixels that differ from Chromium, over 204 page-windows
  • 165of 204 page-windows laid out with no element more than 2 px off and none missing
  • 91,707of 91,707 Unicode bidirectional text cases pass

An app on several systems usually means a webview, which carries a whole browser, or native widgets, which look and measure differently on each system. Silq takes a third road: it draws every pixel itself, the way Flutter and Compose Multiplatform do, from one Rust codebase.

Drawing everything yourself is only worth it if it is right. So Silq is tested like a library: each layer is pure, every screen can be drawn headless and compared bit for bit, layout runs in fixed point with no floats, and the same shot comes out byte for byte the same twice.

The hardest check is a browser. A parity tool imports pages of Quotes, our quoting app, lays them out in Silq and has Chromium draw the same page: 51 pages at 4 window sizes, with every element's box and every pixel compared.

03What changes

One codebase, measured against the web

Four ways a cross-platform interface usually goes wrong, and what Silq does instead.

  1. Usually

    A browser inside the app

    A webview brings an HTML engine and a JavaScript runtime along.

    In Silq

    No webview at all

    No HTML engine, no JavaScript, no browser process; the build bans the crates that would bring one.

  2. Usually

    A different look per system

    Native widgets measure and draw differently on each one.

    In Silq

    Drawn the same everywhere

    Silq lays out and draws every pixel, so a screen measures the same on every system, while gestures and shortcuts follow each one.

  3. Usually

    Looks right, untested

    Screens checked by eye, if at all.

    In Silq

    Compared pixel for pixel

    Every screen can be drawn headless; the parity tool measures each page against Chromium, and the share that differs is written down.

  4. Usually

    Text that breaks

    Line breaks and mixed-direction text fail on the edge cases.

    In Silq

    Unicode's own tests

    Line breaking, grapheme clusters and bidirectional text run against Unicode's published test files; all 91,707 bidi cases pass.

04How it's checked

From a page to two drawings

Follow pages of Quotes through the parity tool, on a tablet-sized window, 760 × 1400.

  1. 01 / 05

    The reference: a browser

    Headless Chromium draws the page, an HTML mock-up of the quote a client receives, at the same window size Silq will use.

    The quote a client receives, drawn by Chromium on a tablet-sized window
  2. 02 / 05

    Imported and drawn by Silq

    The same page is imported to Silq markup, laid out and drawn by Silq's software reference raster, with the same font. Here 4.6 % of pixels differ from Chromium's.

    The same quote drawn by Silq
  3. 03 / 05

    Layout in fixed point

    Layout works in 1/64 px with no floats, so the same page gives the same boxes on every machine, and a shot drawn twice is byte for byte the same. On this payment plan 2.9 % of pixels differ.

    Quotes' payment plan in the quote editor, drawn by Silq: milestones, shares and amounts
  4. 04 / 05

    Text shaped for real

    Real fonts shaped by Parley, ICU line breaks and Unicode bidi. In the quote editor, where long lines wrap in narrow columns, 3.8 % of pixels differ.

    Quotes' quote editor drawn by Silq: chapters, lines and totals
  5. 05 / 05

    Measured, then written down

    Every page-window gets its boxes and pixels compared and its numbers kept with the fixtures, so a change that draws worse shows up as a number that grew.

    The same quote editor drawn by Chromium
05

Not public yet

Silq is pre-alpha and private. A window opens on Linux today; Windows, macOS, Android and iOS are planned, and it goes public when its roadmap's last milestone is met.