This repository was archived by the owner on Aug 12, 2026. It is now read-only.
Commit 440e9a0
committed
Survey S1's premise before entering it: a JVM can reach a component
0007 is what happens when a stage is entered on an unchecked premise, so
entering S1 starts with checking the one 0005 assumes -- a JVM reaching
Wasm through FFM and wasmtime.
It holds, and the margin is narrower than it looked. Search said the
wasmtime C API had no component model support and pointed at an open
issue; the issue is closed, and the shared library the flake pins tells
the real story:
wasmtime 40.0.2 0 exported wasmtime_component_* symbols
wasmtime 43.0.1 138
wasmtime 45.0.0 154
wasmtime 47.0.1 154
Counted from the dylibs in the nix store rather than read from release
notes -- the survey skill's own warning is that negative claims rot
fastest, and this was one.
tools.json already requires >=43.0.0, set months ago for WASI 0.3. That
is also the first version with a component C API. The coincidence is
load-bearing and 0005 now says not to lower it.
From the JVM, java.lang.foreign resolves wasmtime_component_new,
_linker_new, _linker_instantiate, _instance_get_func and _func_call out
of that library on Java 25. So the path exists end to end. What it does
not show is a value crossing it, which is S1's first unit rather than a
survey probe -- recorded as such.
Two things the survey surfaced that S1 has to answer rather than assume:
- Locating libwasmtime needed an absolute nix store path, and CLAUDE.md
forbids machine-specific paths in committed files. How cljwit.host
finds the library is an open design question, not a detail.
- Endive -- a Bytecode Alliance-hosted fork of Chicory adding a Cranelift
backend -- targets full Component Model support on the JVM with *no
native dependency*. It does not have it yet (Cranelift and WasmGC
first) and Chicory itself has no component model at all. So the native
path is the only one today and a pure-JVM one is plausibly coming,
which matters for cljwit.host's deployment story. Re-check at S1's
design.
wasmtime is now in refs.json (large, opt-in) since its C API is what S1
binds to.
Claude-Session: https://claude.ai/code/session_01XF5Hfq4Ca2N2XYEzWQQuHt1 parent 3004127 commit 440e9a0
3 files changed
Lines changed: 58 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
55 | 100 | | |
56 | 101 | | |
57 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments