Single-Source Models for Compile-Time Verification
Comments on “Single-Source Models for Compile-Time Verification”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Pierre describes single-source models, a pattern in which a Nim macro keeps the formal specification (TLA+ for concurrency, Herbie FPCore for floating point) and the production code in one declaration, and runs TLC, TLAPS, GenMC and Herbie during compilation. Applied to the Weave parallel runtime, he reports six concurrency bugs, one in Nim's atomics, ten math-library errors, and runtime performance competitive with oneTBB and OpenMP. The figures are self-reported from one author's workstation and benchmarks, and not independently checked. The approach needs strong compile-time metaprogramming.
Why it ranked
No. 8 of 57 with a score of 0.63. The panel rated it highest on technical depth (0.97) and new information (0.91), lowest on audience breadth (0.51). The judges disagreed most on significance (spread 0.48), so the story is marked contested. Placed No. 8, No. 10 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Detailed engineering write-up of formal verification (TLA+, TLAPS, GenMC, Herbie) applied to a Nim parallel runtime with specific bugs found; highly technical and substantive, but niche audience and a long self-promotional-tone project post.
- AI judgeJudge 3gpt-5.6-luna
- A deeply technical engineering write-up presenting a concrete single-source verification workflow, implementation details, generated artifacts, counterexamples, performance data, and bugs found. Its broad generalizations and some claims remain author-reported rather than independently validated.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.63total under rubric v2.3Contestedjudges differ by 0.48 on significance
- Significance0.54
- Reader interest0.75
- Audience breadth0.51
- Practical relevance0.66
- Substantiated0.82
- Technical depth0.97
- New information0.91
- Counts against: Promotional0.05
- Counts against: Overclaim0.26
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.54 | 0.30 | 0.78 | 0.54 | 0.48 , above the contested threshold | +0.24 | +0.129 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.65 | 0.70 | 0.90 | 0.75 | 0.25 | +0.26 | +0.195 |
| Audience breadthHow many people who build technology does it concern? | 0.57 | 0.40 | 0.56 | 0.51 | 0.17 | +0.13 | +0.066 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.68 | 0.45 | 0.84 | 0.66 | 0.39 | +0.22 | +0.144 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.88 | 0.75 | 0.82 | 0.82 | 0.13 | +0.05 | +0.041 |
| Technical depthHow technically substantive is it? | 1.00 | 0.92 | 0.98 | 0.97 | 0.08 | +0.05 | +0.048 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.91 | 0.85 | 0.98 | 0.91 | 0.13 | +0.05 | +0.046 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.07 | 0.05 | 0.04 | 0.05 | 0.03 | −0.19 | −0.010 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.29 | 0.20 | 0.28 | 0.26 | 0.09 | −0.11 | −0.028 |
| Sum of contributions | +0.632 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.632 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-30/8/"><img src="https://rubric.hrih.si/badge/2026-11-30/8.svg" alt="Ranked #8 on Rubric, 30 Nov 2026" width="238" height="28"></a>Claim check
Claim check: 7 no source given · 1 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
No source givenNumber
Running SSM checks during compilation uncovered six concurrency bugs in Weave and one in Nim's standard atomics, ten numerical degradations in Nim's standard math library, and prevented two rounding hazards in the double-double vector math module.
The article gives no link or citation for it.
The article says “uncovered six concurrency bugs in Weave and one in Nim’s standard atomics, ten numerical degredations in Nim’s standard math library, and prevented two rounding hazards”
The source says No source to compare with.
No source givenNumber
An audit of Nim 2.2.10's std/math and std/complex, following Panchekha's audit of Rust's standard library, found ten precision defects, and all ten were still present when rerun on Nim 2.4.2.
The article gives no link or citation for it.
The article says “Rerunning every case on Nim 2.4.2 confirmed all ten bugs were still present”
The source says No source to compare with.
Couldn’t checkDate
Mamy Andre-Ratsimbazafy created Weave in 2019 as a message-passing multithreading runtime for Nim, which was left unmaintained after Nim 1.2.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “After Nim 1.2, Weave was left unmaintained while Nim adopted deterministic ARC and ORC memory management”
The source says No passage could be compared.
Source cited by the article: github.com/nim-lang/RFCs/issues/160
No source givenNumber
Verifying the entire runtime from an empty cache took 110.55 seconds on the author's test workstation, versus 1.83 seconds for a warm-cache build.
The article gives no link or citation for it.
The article says “took 110.55 seconds on my test workstation, whereas a warm-cache build completed in 1.83 seconds”
The source says No source to compare with.
No source givenBenchmark result
Unscaled 3D vector normalization had an average error of 25.38 bits on large finite coordinates, which pre-scaling reduced to 0.02 bits.
The article gives no link or citation for it.
The article says “Unscaled 3D vector normalization had an average error of 25.38 bits on large finite coordinates because intermediate squares overflowed”
The source says No source to compare with.
No source givenBenchmark result
On fib(36) at 6 threads, Weave with eager futures had a median of 157.9 ms, 1.36x faster than LLVM OpenMP and 2.56x faster than Intel oneTBB; at 18 threads it reached 76.9 ms, 2.82x and 3.08x faster respectively.
The article gives no link or citation for it.
The article says “Weave with eager futures posted the fastest median time at both thread counts, running 1.36x faster than LLVM OpenMP and 2.56x faster than Intel oneTBB at 6 Super cores (157.9…”
The source says No source to compare with.
No source givenBenchmark result
After the macOS futex and backoff fixes, Weave's 18-core tiled transposition reached 48.5 GB/s, a 4.04x jump from 12.0 GB/s, compared with 50.2 GB/s for LLVM OpenMP and 56.7 GB/s for oneTBB.
The article gives no link or citation for it.
The article says “Weave’s tiled transposition jumped 4.04x to 48.5 GB/s (2.77 ms median, 0.17 ms std dev, right alongside LLVM OpenMP at 50.2 GB/s and within 14% of oneTBB at 56.7 GB/s”
The source says No source to compare with.
No source givenCausal conclusion
Nim's single-order compareExchange overload forwarded the same order to both success and failure positions, producing an illegal acquire-release failure order that made libstdc++ abort on Windows with assertions enabled.
The article gives no link or citation for it.
The article says “the convenience single-order overload of compareExchange forwarded the same order argument to both positions, producing an illegal acquire-release failure order”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 2 pts, not on front page
Recorded for context only, checked 30 Nov 2026, 05:47 UTC. It played no part in the ranking.