Editorial research note / BitWorld views: the computer drawn as land
The native BitWorld app: fresher, not cheaper, and a memory leak found
- Question
- Is a native view of the live world cheaper than the browser view?
- Result
- A native view reads the same state file as the web server and watches it for changes. Reacting to every file-monitor event raised by each atomic replace cost 5.0% CPU; filtering to the final event brought it to 0.0% while still updating at 1.00 events/s. Parsing the raw state natively is slower per update (7 ms against 1.4 ms for the server's pre-rendered page), so the gain is freshness and not running a browser; the later game app measured 1.0–1.7 % of a core. Investigating it found run directories left in shared memory by dead processes: 2516 MB of RAM, reclaimed under explicit guards.
- Limits
- Measured on one laptop. Per-update cost is higher natively; the claim is latency, not efficiency.
- Next question
- Can every view read every timeline without a hard-coded world name?
5.0% CPU
CPU when reacting to every file event
Source & quoted measure
Reacting to all of them reparsed 449 KB and repainted three times per update — measured 5.0% CPU.
0.0%
CPU after filtering to one event
Source & quoted measure
Filtering to CHANGES_DONE_HINT only dropped it to 0.0%, verified still updating at exactly 1.00 events/s.
7 ms vs 1.4 ms
Parse time: native against pre-rendered
Source & quoted measure
direct JSON parse is 7 ms vs 1.4 ms for the server's pre-rendered HTML
1.0–1.7 %
Later game app, share of a core
Source & quoted measure
Measured 1.0–1.7 % of a core, 126 MB, vs the WebKit tab ~53 %, 355 MB.
2516 MB
Shared memory held by dead runs
Source & quoted measure
17 of them owned by dead pids, totalling 2516 MB of tmpfs (= RAM).
Provenance
What the retained source says.
The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.
01 / Working note: the native BitWorld app
Reacting to all of them reparsed 449 KB and repainted three times per update — measured 5.0% CPU.
Working note: the native BitWorld app · excerpt