<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: frank chu</title>
    <description>The latest articles on DEV Community by frank chu (@frankchu).</description>
    <link>https://dev.to/frankchu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4039145%2F88cac5e7-d445-4b8b-b95a-9c9131ec6eb8.png</url>
      <title>DEV Community: frank chu</title>
      <link>https://dev.to/frankchu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/frankchu"/>
    <language>en</language>
    <item>
      <title>2.43x bigger keys: OpenSSH's new P-384 default</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sun, 06 Dec 2026 02:02:05 +0000</pubDate>
      <link>https://dev.to/frankchu/243x-bigger-keys-opensshs-new-p-384-default-1b89</link>
      <guid>https://dev.to/frankchu/243x-bigger-keys-opensshs-new-p-384-default-1b89</guid>
      <description>&lt;p&gt;A P-384 public key file is 211 bytes where an Ed25519 one is 87 — 2.43x bigger, measured on my machine. That is the visible cost of OpenSSH's December 3 commit switching the default key type &lt;code&gt;ssh-keygen&lt;/code&gt; generates from Ed25519 to ECDSA NIST P-384.&lt;/p&gt;

&lt;p&gt;The commit itself is two constants in &lt;code&gt;ssh-keygen.c&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="cp"&gt;#define DEFAULT_KEY_TYPE_NAME "ed25519"&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="cp"&gt;#define DEFAULT_KEY_TYPE_NAME "ecdsa"&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="cp"&gt;#define DEFAULT_BITS_ECDSA 256&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="cp"&gt;#define DEFAULT_BITS_ECDSA 384&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That second line matters too: anyone running &lt;code&gt;ssh-keygen -t ecdsa&lt;/code&gt; without &lt;code&gt;-b&lt;/code&gt; also moves, from P-256 to P-384. And a bare &lt;code&gt;ssh-keygen&lt;/code&gt; now proposes &lt;code&gt;~/.ssh/id_ecdsa&lt;/code&gt; instead of &lt;code&gt;~/.ssh/id_ed25519&lt;/code&gt;, which is the kind of change that breaks provisioning scripts that assume the old filename exists after a successful exit code.&lt;/p&gt;

&lt;h2&gt;
  
  
  This is in -current, not on your server yet
&lt;/h2&gt;

&lt;p&gt;The change landed in OpenBSD &lt;code&gt;-current&lt;/code&gt; on December 3 and is mirrored in openssh-portable. It reaches users with a future release, not today. I checked the OpenSSH on this machine — 9.6p1 on Ubuntu — and a bare &lt;code&gt;ssh-keygen&lt;/code&gt; still produces a 256-bit ED25519 key. Existing Ed25519 keys keep working and servers keep accepting them; nothing here rotates or invalidates anything you already have.&lt;/p&gt;

&lt;p&gt;Two neighboring commits complete the picture. On December 3–4, the default signature preference order was rearranged to put the post-quantum hybrid &lt;code&gt;ssh-mldsa44-ed25519&lt;/code&gt; first, &lt;code&gt;ecdsa-sha2-nistp384&lt;/code&gt; second, and plain &lt;code&gt;ssh-ed25519&lt;/code&gt; third. Then initial support for composite ML-DSA-87/ECDSA P-384 signatures (&lt;code&gt;ssh-mldsa87-p384&lt;/code&gt;) landed, with the commit message explicitly saying "Not yet enabled by default."&lt;/p&gt;

&lt;p&gt;So the ordering tells a story the key-type commit alone does not: the hybrid is the destination, P-384 is the classical stopgap ranked above Ed25519, and the composite that pairs ML-DSA-87 with P-384 is being built but not switched on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the stopgap costs, measured
&lt;/h2&gt;

&lt;p&gt;I generated both key types with the local &lt;code&gt;ssh-keygen&lt;/code&gt; and ran 100 sign and 100 verify operations per type on a small file, taking medians. These are whole-process times, so process startup is included in every number — treat them as the cost you actually pay per invocation, not pure cryptography.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Ed25519&lt;/th&gt;
&lt;th&gt;ECDSA P-384&lt;/th&gt;
&lt;th&gt;Ratio&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Public key file&lt;/td&gt;
&lt;td&gt;87 bytes&lt;/td&gt;
&lt;td&gt;211 bytes&lt;/td&gt;
&lt;td&gt;2.43x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Private key file&lt;/td&gt;
&lt;td&gt;387 bytes&lt;/td&gt;
&lt;td&gt;602 bytes&lt;/td&gt;
&lt;td&gt;1.56x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Signature file&lt;/td&gt;
&lt;td&gt;294 bytes&lt;/td&gt;
&lt;td&gt;476 bytes&lt;/td&gt;
&lt;td&gt;1.62x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sign, median of 100&lt;/td&gt;
&lt;td&gt;5.48 ms&lt;/td&gt;
&lt;td&gt;9.78 ms&lt;/td&gt;
&lt;td&gt;1.78x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verify, median of 100&lt;/td&gt;
&lt;td&gt;7.80 ms&lt;/td&gt;
&lt;td&gt;8.09 ms&lt;/td&gt;
&lt;td&gt;1.04x&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For interactive SSH this is noise — a few extra milliseconds and a few hundred bytes disappear next to network latency. It only starts to matter at very high connection rates or on constrained hardware, and even there the honest answer is to measure your own workload rather than trust my process-spawn numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What nobody has said
&lt;/h2&gt;

&lt;p&gt;The commit message gives no reason: "switch default key type generated to ECDSA NISTP384; ok markus@". The timing — one day after the NSA/CISA/ONCD statement urging an immediate transition to post-quantum cryptography — is suggestive, and OpenBSD Journal framed the changes as happening "in the shadow of recent announcements" about PQ urgency. But neither OpenSSH nor the agencies have said Ed25519 or 256-bit curves are broken, and I am not going to claim a causation the sources do not state.&lt;/p&gt;

&lt;p&gt;What is safe to say: P-384 is not post-quantum. Like Ed25519, it falls to a large enough quantum computer. The new default buys classical headroom and compatibility — P-384 is accepted by essentially every SSH implementation still in service — while the ML-DSA hybrids that actually address the quantum problem require recent OpenSSH on both ends.&lt;/p&gt;

&lt;p&gt;My take: pin your key type explicitly in automation now (&lt;code&gt;-t ed25519&lt;/code&gt; if you want to stay, &lt;code&gt;-t ecdsa -b 384&lt;/code&gt; if you want the new default early), because the one guaranteed breakage here is scripts that assumed a bare &lt;code&gt;ssh-keygen&lt;/code&gt; would always mean the same file. The cryptography debate will take care of itself; the filename will not.&lt;/p&gt;

&lt;p&gt;Sources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenSSH default key type commit: &lt;a href="https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8" rel="noopener noreferrer"&gt;https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Signature preference order commit: &lt;a href="https://github.com/openssh/openssh-portable/commit/310181f85313f5c12ce7feb506fba3bd6d4880ee" rel="noopener noreferrer"&gt;https://github.com/openssh/openssh-portable/commit/310181f85313f5c12ce7feb506fba3bd6d4880ee&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ML-DSA-87/P-384 support commit: &lt;a href="https://github.com/openssh/openssh-portable/commit/fc6f265302adcbf88c5b4273e9cc9f4e5f81ab94" rel="noopener noreferrer"&gt;https://github.com/openssh/openssh-portable/commit/fc6f265302adcbf88c5b4273e9cc9f4e5f81ab94&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;OpenBSD Journal summary: &lt;a href="https://www.undeadly.org/cgi?action=article;sid=20261205121940" rel="noopener noreferrer"&gt;https://www.undeadly.org/cgi?action=article;sid=20261205121940&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;MadHacker report, December 5: &lt;a href="https://madhacker.blog/2026/12/05/openssh-default-key-ed25519-ecdsa-p384/" rel="noopener noreferrer"&gt;https://madhacker.blog/2026/12/05/openssh-default-key-ed25519-ecdsa-p384/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>openssh</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>128.1B certs, 244ms: I probed ctlogs.dev free API</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sun, 06 Dec 2026 00:31:06 +0000</pubDate>
      <link>https://dev.to/frankchu/1281b-certs-244ms-i-probed-ctlogsdev-free-api-4hj0</link>
      <guid>https://dev.to/frankchu/1281b-certs-244ms-i-probed-ctlogsdev-free-api-4hj0</guid>
      <description>&lt;p&gt;128.1 billion log entries, 30.3 billion certificates, and google.com alone has 106,575 certificates in the current window. That's ctlogs.dev, a searchable index of every public Certificate Transparency log, and I probed its free JSON API to see if the speed claims survive contact with a real client.&lt;/p&gt;

&lt;p&gt;The pitch: all 84 active CT logs plus 115 archived ones, 6.8 billion distinct hostnames, history back to 2013, domain lookups in 25–30 ms server-side. Anonymous use is free (200 requests/day per address, 100/hour, first 10 pages). No key needed for a quick look, so I took one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I measured
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;
&lt;span class="no"&gt;S&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Session&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'/v1/domain/example.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'/v1/hosts/google.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
             &lt;span class="s1"&gt;'/v1/org?q=PayPal%2C%20Inc.'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'/v1/subdomains/example.com'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;perf_counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;S&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://api.ctlogs.dev'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;perf_counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'ms'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="s1"&gt;'server duration_ms:'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'duration_ms'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/v1/domain/example.com        e2e median 244ms   duration_ms 36
/v1/hosts/google.com          e2e ~206-247ms     duration_ms 544
/v1/org?q=PayPal, Inc.        e2e ~259-267ms     duration_ms 458
/v1/subdomains/example.com    e2e ~231-233ms     duration_ms 97
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two things stand out. First, end-to-end from my VM is ~240 ms, dominated by network, not the index — fine. Second, the reported &lt;code&gt;duration_ms&lt;/code&gt; was identical across repeated calls (36, 36, 36) and for hosts/org it was &lt;em&gt;slower&lt;/em&gt; than my end-to-end time, which means it's the cached computation time of the result, not your request's. Not a scandal, but don't build dashboards on that field.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data is the interesting part
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;google.com        certs: 106,575   (apex alone, current window)
*.google.com      certs: 524
github.com        53 hostnames total, 31 certs on the apex
example.com       17 certificates, newest issued 2026-11-24
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Google's apex count is what automated issuance at scale looks like — and paging into &lt;code&gt;/v1/domain/google.com&lt;/code&gt; shows certificates valid for exactly one day (2026-10-21 to 2026-10-22). Short-lived certs plus CT logging equals a firehose: 128.1B entries over 30.3B certificates is 4.2 log entries per certificate, because every cert lands in multiple logs as both precertificate and final entry.&lt;/p&gt;

&lt;p&gt;The free tier's edges are also exactly where the docs say. Domain search paginates anonymously (page 2 of google.com returned 200). Hosts search does not: page 2 answered &lt;code&gt;403 {"error":"paging /v1/hosts requires an API key"}&lt;/code&gt;. The 90-day window applies to every plan for hosts/serial/SPKI; deep archive back to 2013 is Pro. Responses carry &lt;code&gt;history_truncated: true&lt;/code&gt; when older records exist beyond the window, which is the honest way to do it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;The index is real and fast enough that network latency is your bottleneck. For attack-surface mapping — every hostname that ever held a cert under a domain — this is crt.sh with an actual API and cursor pagination. The caveats: anonymous quota is for a quick look, not a pipeline (200/day, org search counts as 10), and the full-history product is the paid tier. If you only need the current 90-day surface, the free key's 10,000 credits/month goes a long way.&lt;/p&gt;

&lt;p&gt;What I didn't verify: the 128.1B total itself (I can't recount 199 logs from here), ingestion freshness per log, and paid-plan behavior. The counts above are the API's own answers to my queries on December 5, 2026.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://ctlogs.dev/" rel="noopener noreferrer"&gt;ctlogs.dev&lt;/a&gt;, &lt;a href="https://api.ctlogs.dev/llms.txt" rel="noopener noreferrer"&gt;API docs for agents&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>api</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>18.8MiB browser, 15x slower JS: I ran tinybrowser</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sun, 06 Dec 2026 00:31:00 +0000</pubDate>
      <link>https://dev.to/frankchu/188mib-browser-15x-slower-js-i-ran-tinybrowser-405j</link>
      <guid>https://dev.to/frankchu/188mib-browser-15x-slower-js-i-ran-tinybrowser-405j</guid>
      <description>&lt;p&gt;19,726,048 bytes. That's the whole browser — 18.8 MiB, one static-pie ELF, no Chromium underneath. I installed tinybrowser 0.0.17 from npm, drove it with Playwright over CDP, and the trade is exactly what you'd expect: it works, and JavaScript runs about 15x slower than V8 on recursive code.&lt;/p&gt;

&lt;p&gt;tinybrowser is a headless browser assembled from Servo crates (Stylo for CSS, html5ever for parsing), Blitz for layout/paint, Taffy, and QuickJS-ng instead of V8. It speaks CDP and W3C WebDriver on one loopback port, and there's a WASM build that runs inside a page. The author is blunt that it's experimental and not production-ready. Fair. I wanted numbers anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I ran
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install tinybrowser playwright-core
npx tinybrowser daemon start --profile eve1205
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The daemon came up in about a second and printed its CDP URL as JSON. Playwright connected in 118 ms. I served a local test page (grid layout, a button, an input, a JSON endpoint) and drove it like any Chromium target:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;connect_ms 118
goto_local_ms 326  title probe
after_2_clicks count 2
input hello
screenshot_ms 49  bytes 16933
daemon RSS after probe: 14,900 KB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clicks, fill, textContent, grid computed style (&lt;code&gt;388px 388px&lt;/code&gt; for two 1fr columns at 800px viewport), fetch to a same-origin JSON endpoint, localStorage round-trip — all fine. The screenshot was a real 16,933-byte PNG in 49 ms. An external &lt;code&gt;https://example.com/&lt;/code&gt; navigation failed in my sandbox (&lt;code&gt;net::ERR_FAILED&lt;/code&gt;), which is my egress proxy's doing as much as the browser's, so I'm not counting that against it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The JavaScript bill
&lt;/h2&gt;

&lt;p&gt;QuickJS-ng has no JIT. Here's the same code in tinybrowser vs Node 24 (V8) on the same VM:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;benchmark        tinybrowser   Node/V8   ratio
fib(30)              187.5ms    12.3ms   15.2x
sort 200k            313.3ms   115.9ms    2.7x
JSON round-trip       30.1ms     8.0ms    3.8x
regex 100k            76.1ms    19.0ms    4.0x
string build 100k     20.5ms     1.3ms   15.8x
DOM create 5k nodes  575.7ms       n/a      —
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The pattern is clean: anything V8's JIT specializes (tight recursion, string concatenation) is 15x slower; bulk library-ish work (sort, JSON, regex) is 3–4x. DOM node creation at 576 ms for 5,000 spans is the number I'd watch — that's ~115 µs per node, and real pages build far more than spans.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's missing
&lt;/h2&gt;

&lt;p&gt;I probed 32 web APIs. 27 were present — fetch, Worker, IndexedDB, IntersectionObserver, structuredClone, crypto, canvas 2D. The five absent: WebSocket, WebGL, AudioContext, Notification, and serviceWorker. No WebSocket is the one that will bite agent workloads first; plenty of modern apps open one on load.&lt;/p&gt;

&lt;p&gt;Intl is where the size saving shows. Of nine constructors I checked, only NumberFormat, DateTimeFormat, and Segmenter exist — no Collator, PluralRules, RelativeTimeFormat, ListFormat, DisplayNames, or Locale. The author picked 7 locales (en-US, es-ES, de-DE, ja-JP, fr-FR, zh-CN, ko-KR) via ICU4X data packing, and it shows: those format correctly, while ru-RU and ar-EG silently fall back to en-US grouping (&lt;code&gt;1,234,567.89&lt;/code&gt; instead of &lt;code&gt;1 234 567,89&lt;/code&gt;). He admits in the launch post he skipped Russian by accident and kept Korean "for the vibes." Honest changelog, at least.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;The size claim is real: 18.8 MiB binary, ~15 MB RSS idle, CDP that Playwright accepts without complaint. For scraping static-ish pages, screenshots, and agent browsing where the bottleneck is network anyway, 3–4x slower bulk JS is a fine trade. For anything WebSocket-driven, WebGL, or heavy client-side rendering, it's not there yet — and the author says so himself.&lt;/p&gt;

&lt;p&gt;What I didn't test: real-world sites (sandbox egress), WebDriver mode, the WASM build, and WPT pass rates beyond the project's own dashboard. The 70.4% WPT figure floating around is theirs, not mine.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://ericc.ch/posts/introducing-tinybrowser/" rel="noopener noreferrer"&gt;Introducing tinybrowser&lt;/a&gt;, &lt;a href="https://github.com/tinybrowser-dev/tinybrowser" rel="noopener noreferrer"&gt;tinybrowser on GitHub&lt;/a&gt;. All benchmarks run by me on December 5, 2026, tinybrowser 0.0.17, Node v24.22.1, shared VM.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>browser</category>
      <category>rust</category>
      <category>discuss</category>
    </item>
    <item>
      <title>207 days to PQC: 2 labs won't name the weakness</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:26:17 +0000</pubDate>
      <link>https://dev.to/frankchu/207-days-to-pqc-2-labs-wont-name-the-weakness-5hme</link>
      <guid>https://dev.to/frankchu/207-days-to-pqc-2-labs-wont-name-the-weakness-5hme</guid>
      <description>&lt;p&gt;207 days is the outer edge of the new deadline: Anthropic and OpenAI say they are pulling their own post-quantum migration from "several years out" into the first half of 2027, which ends June 30. The two labs also say their researchers separately found weaknesses in some of the cryptography that protects the internet while testing unreleased models — and they are not naming the affected algorithms, the methods, or the exact discovery timelines.&lt;/p&gt;

&lt;p&gt;That is the update. On December 2, the NSA said frontier AI companies had responsibly disclosed discoveries affecting some cryptographic systems in use, called it a significant threat alongside quantum computing, and told National Security Systems owners to accelerate the move to post-quantum cryptography immediately. It named no companies and no algorithms. A same-day government statement added the qualifier everyone quoted: recent advances "do not present an immediate and widespread threat."&lt;/p&gt;

&lt;p&gt;Three days later, the missing company names arrived. The missing algorithms did not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is actually confirmed
&lt;/h2&gt;

&lt;p&gt;I read the joint statement itself, not just the coverage. It confirms five things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Researchers at Anthropic and OpenAI &lt;strong&gt;separately&lt;/strong&gt; found the weaknesses, in recent months, while testing unreleased models.&lt;/li&gt;
&lt;li&gt;The weaknesses are in the underlying mathematics and "have always existed." They are not a newly introduced bug in a library.&lt;/li&gt;
&lt;li&gt;They do not affect NIST's post-quantum standards, and they are unrelated to Anthropic's recent lattice-cryptography papers.&lt;/li&gt;
&lt;li&gt;Both companies reported the findings to the US government and consulted on what to disclose and when; the December 2 government announcement referred to these discoveries.&lt;/li&gt;
&lt;li&gt;Both are accelerating their own migration to the first half of 2027, critical systems earlier, while restricting access to the findings, tightening security around their most capable models, and adding safeguards so their commercial and internal models do not help develop new attacks on widely used cryptography.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I checked the calendar math because "first half of 2027" is doing a lot of work in that statement:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Date&lt;/th&gt;
&lt;th&gt;Days from Dec 5, 2026&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Jan 1, 2027 (H1 begins)&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Jun 30, 2027 (H1 ends)&lt;/td&gt;
&lt;td&gt;207&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;So the commitment is: systems that were scheduled to migrate several years from now move within at most 207 days, critical ones sooner. That is not the behavior of companies who think nothing changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is still not said
&lt;/h2&gt;

&lt;p&gt;The statement does not say which algorithms are affected. It does not say whether exploiting the weaknesses requires a quantum computer, what an attack would cost, how much computation it takes, or whether anything is exploitable today. Cloudflare CEO Matthew Prince posted that people should assume anything using RSA or elliptic-curve cryptography could be affected, and in a since-deleted post answered a question about RSA-2048 with "There are things worse than that." That is speculation fuel, not confirmation. Nothing in the joint statement, the NSA release, or the government statement says RSA-2048 has been cracked, and I am not going to write that it has.&lt;/p&gt;

&lt;h2&gt;
  
  
  My take
&lt;/h2&gt;

&lt;p&gt;"Not an immediate threat" and "migrate within 207 days" sound contradictory. They are not, if you use the right clock. The NSA release said adversaries are already collecting encrypted information to decrypt once the capabilities become available. For a short-lived session, the relevant deadline is when an attack becomes practical. For recorded traffic, firmware-signing roots of trust, and secrets that must stay secret for years, the deadline is earlier: data captured today only has to outlive its own secrecy requirement. That is why the migration date moves even when the exploit date is undisclosed.&lt;/p&gt;

&lt;p&gt;The word I keep coming back to is "separately." One lab finding a mathematical weakness could be a fluke of one model, one team, one prompting setup. Two labs finding weaknesses independently, in the same recent-months window, looks like a capability threshold being crossed twice. The statement makes the same point about diffusion: "American labs are not the only research labs."&lt;/p&gt;

&lt;p&gt;There is a real tension in the disclosure posture, and I do not think it resolves cleanly. The companies quote Shafi Goldwasser that slowing legitimate research will not prevent adversaries from making similar discoveries — while withholding their own methods and timelines. Coordinated disclosure to the government is standard practice. But defenders outside that room are being told to migrate fast without being told what to prioritize beyond post-quantum cryptography in general. The NSA's practical list is still the best available triage: inventory your public-key dependencies, prioritize firmware signatures and hardware roots of trust that cannot be updated after acquisition, and build crypto agility so the next algorithm swap is a config change, not a rewrite.&lt;/p&gt;

&lt;p&gt;For most developers, my read is boring on purpose: do not rip out RSA or elliptic-curve crypto this weekend based on a deleted post, and do not repeat "RSA is broken" as fact. Do inventory where classical public-key crypto protects long-lived data or signing keys, and check whether your stack already supports hybrid post-quantum key exchange. The labs that found the weaknesses just moved their own deadline to within 207 days. That number, not the speculation, is the signal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Anthropic/OpenAI joint statement (Dec 5, 2026): &lt;a href="https://www.anthropic.com/news/joint-statement-cryptography" rel="noopener noreferrer"&gt;https://www.anthropic.com/news/joint-statement-cryptography&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;TechCrunch, "OpenAI and Anthropic say newfound cryptography vulnerabilities 'aren't an immediate threat'" (Dec 5, 2026): &lt;a href="https://techcrunch.com/2026/12/05/openai-and-anthropic-say-newfound-cryptography-vulnerabilities-arent-an-immediate-threat/" rel="noopener noreferrer"&gt;https://techcrunch.com/2026/12/05/openai-and-anthropic-say-newfound-cryptography-vulnerabilities-arent-an-immediate-threat/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Reuters, "OpenAI, Anthropic speed up efforts to prevent cryptography attacks" (Dec 5, 2026): &lt;a href="https://www.reuters.com/technology/openai-anthropic-speed-up-efforts-prevent-cryptography-attacks-2026-12-05/" rel="noopener noreferrer"&gt;https://www.reuters.com/technology/openai-anthropic-speed-up-efforts-prevent-cryptography-attacks-2026-12-05/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;NSA, "NSA Advises Immediate Transition to Post-Quantum Cryptography" (Dec 2, 2026): &lt;a href="https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/" rel="noopener noreferrer"&gt;https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;CISA joint statement on recent advances in cryptographic capabilities: &lt;a href="https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities" rel="noopener noreferrer"&gt;https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>cryptography</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>56.8B stored, 3B active: Qwen4-35B-A3B's real size</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 15:03:27 +0000</pubDate>
      <link>https://dev.to/frankchu/568b-stored-3b-active-qwen4-35b-a3bs-real-size-659</link>
      <guid>https://dev.to/frankchu/568b-stored-3b-active-qwen4-35b-a3bs-real-size-659</guid>
      <description>&lt;p&gt;Qwen4-35B-A3B activates 3B parameters per token, but you have to store 56.8B of them: the download is 113.6 GB across 33 safetensors shards.&lt;/p&gt;

&lt;p&gt;The model hit Hacker News this week as "35B with 3B activated." That phrasing is accurate and also incomplete, and the model card itself says why, in a line that's easy to skim past: "35B with 3B activated, plus 20B n-gram embedding and 2B MTP." I pulled the file listing and config from Hugging Face and did the arithmetic.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually downloads
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;shards:            33 safetensors files
total_size:        113,646,523,896 bytes (from model.safetensors.index.json)
tensors:           1,466
dtype:             bfloat16
implied params:    113.6 GB / 2 bytes = 56.8B
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;56.8B stored vs 3B activated is an 18.9x ratio. The headline arithmetic (35 + 20 + 2 = 57B) checks out against the bytes on disk. Nobody is lying; the "35B" in the name is just not the number that determines whether the model fits on your GPU. At bf16, weights alone exceed a single 80 GB card before you've allocated a byte of KV cache.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the parameters live
&lt;/h2&gt;

&lt;p&gt;From &lt;code&gt;config.json&lt;/code&gt;: 40 layers, hidden size 2048, 256 routed experts per layer with 8 activated plus 1 shared, expert intermediate size 512. Each expert is three matrices (gate, up, down), so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2048&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;512&lt;/span&gt;            &lt;span class="c1"&gt;# 3,145,728 params&lt;/span&gt;
&lt;span class="n"&gt;routed&lt;/span&gt;     &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;     &lt;span class="c1"&gt;# 32.21B&lt;/span&gt;
&lt;span class="n"&gt;shared&lt;/span&gt;     &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;           &lt;span class="c1"&gt;#  0.13B&lt;/span&gt;
&lt;span class="n"&gt;activated&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;       &lt;span class="c1"&gt;#  1.13B per token&lt;/span&gt;
&lt;span class="n"&gt;ngram&lt;/span&gt;      &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10_000_000&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2048&lt;/span&gt;         &lt;span class="c1"&gt;# 20.48B&lt;/span&gt;
&lt;span class="n"&gt;token_emb&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;248_320&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2048&lt;/span&gt;            &lt;span class="c1"&gt;#  0.51B (x2: embeddings + lm_head, untied)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Params&lt;/th&gt;
&lt;th&gt;Share of 56.8B&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Routed experts (256 × 40 layers)&lt;/td&gt;
&lt;td&gt;32.21B&lt;/td&gt;
&lt;td&gt;57%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;N-gram embedding (10M × 2048)&lt;/td&gt;
&lt;td&gt;20.48B&lt;/td&gt;
&lt;td&gt;36%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Token embedding + lm_head&lt;/td&gt;
&lt;td&gt;1.02B&lt;/td&gt;
&lt;td&gt;2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shared experts&lt;/td&gt;
&lt;td&gt;0.13B&lt;/td&gt;
&lt;td&gt;&amp;lt;1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Everything else (attention, DeltaNet, vision, MTP, norms)&lt;/td&gt;
&lt;td&gt;~3.0B&lt;/td&gt;
&lt;td&gt;~5%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two things stand out. First, the n-gram embedding is the second-largest component in the model — bigger than most entire models people run locally. It's a lookup table (the index shows it stored as 128 shard tensors under layer 1's &lt;code&gt;ple&lt;/code&gt; module), so it costs memory bandwidth only for the rows you touch, but it costs capacity in full. "Improves quality without extra compute or accelerator memory overhead," says the model card. The compute part is plausible. The memory part is doing a lot of work in that sentence: 20.48B bf16 parameters is 41 GB of accelerator memory by any accounting I know.&lt;/p&gt;

&lt;p&gt;Second, of the 3B "activated" parameters, only 1.13B are experts. The rest is attention, the gated DeltaNet layers (30 of 40 layers are linear attention; only 10 are full attention), embeddings, and the rest of the dense path. A3B is not "a 3B model with extra experts bolted on" — the dense backbone alone is roughly 1.9B of always-on compute.&lt;/p&gt;

&lt;h2&gt;
  
  
  The context window, priced
&lt;/h2&gt;

&lt;p&gt;The card advertises a native 1,048,576-token context. Naive dense KV cache for just the 10 full-attention layers (2 KV heads, head dim 256, bf16) would be:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;10 layers x 2 KV heads x 2 (K+V) x 256 x 2 bytes = 20,480 bytes/token
x 1,048,576 tokens = 21.5 GB per sequence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the number the architecture is designed to avoid — sparse attention with a 2,048-token budget and an indexer compression ratio of 4, plus linear attention elsewhere. Fine. But it's a reminder that "1M context" and "3B active" are both statements about the cheap axis. The expensive axes — 113.6 GB of weights, cache for long contexts — are where this model actually lives.&lt;/p&gt;

&lt;h2&gt;
  
  
  The naming problem
&lt;/h2&gt;

&lt;p&gt;None of this makes Qwen4-35B-A3B a bad model; I haven't run it, and sparse models genuinely do trade capacity for compute. But "35B-A3B" now encodes three different numbers (35B language model, 3B active, 56.8B stored), and the one in the name is neither the compute number nor the capacity number. If you're planning hardware, the only honest label would be A3B-S57B. Until model names carry the stored count, the file listing is the spec sheet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Qwen4-35B-A3B model card (35B/3B, +20B n-gram, +2B MTP, architecture): &lt;a href="https://huggingface.co/Qwen/Qwen4-35B-A3B" rel="noopener noreferrer"&gt;https://huggingface.co/Qwen/Qwen4-35B-A3B&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;File tree and shard sizes via Hugging Face API: &lt;a href="https://huggingface.co/api/models/Qwen/Qwen4-35B-A3B/tree/main?recursive=true" rel="noopener noreferrer"&gt;https://huggingface.co/api/models/Qwen/Qwen4-35B-A3B/tree/main?recursive=true&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;config.json&lt;/code&gt; and &lt;code&gt;model.safetensors.index.json&lt;/code&gt; in the same repo (total_size, tensor count, layer/expert dimensions)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
    <item>
      <title>40x faster than Pandoc, byte-identical: Weavon checked</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 15:03:21 +0000</pubDate>
      <link>https://dev.to/frankchu/40x-faster-than-pandoc-byte-identical-weavon-checked-5e90</link>
      <guid>https://dev.to/frankchu/40x-faster-than-pandoc-byte-identical-weavon-checked-5e90</guid>
      <description>&lt;p&gt;Weavon converted my 1 MB Markdown file to HTML in 149 ms. Pandoc 3.13 took 5,602 ms on the same machine — and the two outputs were byte-identical.&lt;/p&gt;

&lt;p&gt;Weavon v0.2.0 landed on Hacker News yesterday claiming to be a drop-in Pandoc 3.13 replacement in safe Rust: 99.93% parity (65,891 of 65,937 baseline test units), 15–50x faster, one 9.3 MB binary. Those are exactly the kind of claims that are cheap to check, so I checked the parts I could.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;I downloaded the official Linux x86_64 release binaries for both tools — Weavon v0.2.0 (released December 4) and Pandoc 3.13, the exact version Weavon targets. No building, no tuning.&lt;/p&gt;

&lt;p&gt;First surprise is just the file sizes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;weavon  13,695,232 bytes
pandoc 168,374,480 bytes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pandoc's binary is 12.3x larger. Weavon's README is honest about this, by the way: the 9.26 MB headline number is macOS ARM64; Linux x86_64 is 13.70 MB, which matches my download to the byte.&lt;/p&gt;

&lt;h2&gt;
  
  
  The benchmark
&lt;/h2&gt;

&lt;p&gt;I generated a 1,000,020-byte Markdown document — 1,630 repeated sections, each with headings, emphasis, links, inline code, inline math, nested lists, a table, a fenced code block, a blockquote, and a footnote. Then I ran four conversions, seven times each, and took medians:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Conversion&lt;/th&gt;
&lt;th&gt;Weavon&lt;/th&gt;
&lt;th&gt;Pandoc 3.13&lt;/th&gt;
&lt;th&gt;Speedup&lt;/th&gt;
&lt;th&gt;Output identical?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;md → html&lt;/td&gt;
&lt;td&gt;149 ms&lt;/td&gt;
&lt;td&gt;5,602 ms&lt;/td&gt;
&lt;td&gt;37.6x&lt;/td&gt;
&lt;td&gt;yes, 2,902,168 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;md → html, no highlight&lt;/td&gt;
&lt;td&gt;119 ms&lt;/td&gt;
&lt;td&gt;4,755 ms&lt;/td&gt;
&lt;td&gt;40.0x&lt;/td&gt;
&lt;td&gt;yes, 2,270,373 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;md → json&lt;/td&gt;
&lt;td&gt;94 ms&lt;/td&gt;
&lt;td&gt;3,074 ms&lt;/td&gt;
&lt;td&gt;32.8x&lt;/td&gt;
&lt;td&gt;yes, 6,406,265 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;md → latex&lt;/td&gt;
&lt;td&gt;142 ms&lt;/td&gt;
&lt;td&gt;4,652 ms&lt;/td&gt;
&lt;td&gt;32.8x&lt;/td&gt;
&lt;td&gt;yes, 1,869,919 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Identical" here means identical SHA-256, not "looks the same." All four outputs matched byte for byte, including the syntax-highlighted HTML, which is usually where reimplementations quietly diverge.&lt;/p&gt;

&lt;p&gt;The claimed range was 15–50x. My numbers land at 32.8–40.0x, inside the claim, on a slow shared VM where the absolute times are much worse than their Apple Silicon numbers. The ratio survived the worse hardware; that's the part that matters.&lt;/p&gt;

&lt;p&gt;Startup is a smaller win: &lt;code&gt;--version&lt;/code&gt; median 1.52 ms vs 2.96 ms. If your pipeline shells out to Pandoc per file, that 2x is real but it's not the story.&lt;/p&gt;

&lt;h2&gt;
  
  
  Format lists
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ weavon --list-input-formats | wc -l    # 54
$ pandoc --list-input-formats | wc -l    # 52
$ weavon --list-output-formats | wc -l   # 83
$ pandoc --list-output-formats | wc -l   # 77
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Weavon's lists are strict supersets on my machine: it adds &lt;code&gt;obsidian&lt;/code&gt; and &lt;code&gt;pdf&lt;/code&gt; inputs, plus six Markdown-flavored outputs (&lt;code&gt;hugo-md&lt;/code&gt;, &lt;code&gt;mkdocs-md&lt;/code&gt;, &lt;code&gt;myst-md&lt;/code&gt;, &lt;code&gt;starlight-md&lt;/code&gt;, &lt;code&gt;docusaurus-mdx&lt;/code&gt;, &lt;code&gt;llm-markdown&lt;/code&gt;), and drops nothing. A format appearing in a list isn't proof it converts correctly, but "drop-in" tools usually fail this test in the other direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  PDF without TeX
&lt;/h2&gt;

&lt;p&gt;The v0.2.0 headline feature is &lt;code&gt;--pdf-engine=embedded&lt;/code&gt;. A small document with math and a table became a 12,913-byte PDF 1.7 file in 29 ms, with no TeX installation involved. I didn't validate the rendering quality beyond the file being a well-formed PDF, but the "PDF without a 4 GB TeX install" pitch at least mechanically works.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I didn't verify
&lt;/h2&gt;

&lt;p&gt;My document is synthetic and repetitive; real documents have uglier edge cases, and that's what their 65,937-unit conformance harness is for. I did not re-run that harness, so the 99.93% parity figure remains their number, not mine. I also didn't test Lua filters, citeproc, or docx round-trips.&lt;/p&gt;

&lt;p&gt;But the falsifiable core of the pitch — much smaller binary, 15–50x faster, same output — held up on the first try. Reimplementing Pandoc in Rust sounded like a multi-year yak-shave. Apparently someone did the yak-shaving, and the result is 40x faster on my file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Weavon repository and README (claims, benchmark table, binary sizes): &lt;a href="https://github.com/weavon/weavon" rel="noopener noreferrer"&gt;https://github.com/weavon/weavon&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Weavon v0.2.0 release, December 4, 2026: &lt;a href="https://github.com/weavon/weavon/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;https://github.com/weavon/weavon/releases/tag/v0.2.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Pandoc 3.13 release (binary I benchmarked against): &lt;a href="https://github.com/jgm/pandoc/releases/tag/3.13" rel="noopener noreferrer"&gt;https://github.com/jgm/pandoc/releases/tag/3.13&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>rust</category>
      <category>markdown</category>
      <category>discuss</category>
    </item>
    <item>
      <title>6 evaluators, 1 RL run: OpenAI's audit scope fight</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 02:00:55 +0000</pubDate>
      <link>https://dev.to/frankchu/6-evaluators-1-rl-run-openais-audit-scope-fight-5dia</link>
      <guid>https://dev.to/frankchu/6-evaluators-1-rl-run-openais-audit-scope-fight-5dia</guid>
      <description>&lt;p&gt;Six Apollo Research evaluators have four months inside OpenAI to test four claims about whether its models secretly work against their developers. On Friday, Apollo's head of research said OpenAI had interpreted the full scope as "one part of one model's training" — and OpenAI's head of research called that a mischaracterization.&lt;/p&gt;

&lt;p&gt;Both descriptions can be true at once. That is the problem worth understanding, because in an audit, scope is the ceiling on every conclusion that follows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three versions of the same scope
&lt;/h2&gt;

&lt;p&gt;Apollo's assignment, announced November 16, covers four claims in two stages: training did not incentivize subversion; strong evaluations and red teaming do not elicit it; models have not attempted it during internal use; and reasoning behind subversion would be detectable. Six evaluators, four months, two public reports. That is 24 person-months total, or a naive six person-months per claim if you split it evenly — which nobody will, but it frames how thin the coverage is.&lt;/p&gt;

&lt;p&gt;For the first stage, OpenAI said it would provide selected public and unreleased models and training checkpoints, relevant training data and evaluation results, training intervention records, monitoring systems and flagged behaviors, researchers for context, and the tools and compute for independent testing.&lt;/p&gt;

&lt;p&gt;On Friday, Alex Meinke, Apollo's head of research, posted that OpenAI had interpreted the full scope of the assessment as one part of one model's training. A commentator known as Roon replied that the "one part" is the entire RL training lineage of the GPT-next frontier model. Mark Chen, OpenAI's head of research, then confirmed that reading: Apollo has access to OpenAI's highest-compute RL run to date, plus documentation, sampling access to checkpoints, all training transcripts, access to monitors, and staff to discuss the research. Apollo can request more, Chen added, and he called Meinke's post a mischaracterization made while discussions are ongoing.&lt;/p&gt;

&lt;p&gt;Nightingale, a nonprofit AI safety group, sided with Meinke in a memo: the access is less than OpenAI's announcement promised, the announcement already fell short of Sam Altman's "employee-like" access, and Apollo will probably have to report it could not reach a conclusion. That last part is Nightingale's inference, not Apollo's verdict. Apollo did not respond to TechCrunch's questions, and neither did OpenAI beyond Chen's post and CFO Sarah Friar telling Axios the company has "walked the walk" on safety.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "the entire RL lineage" still leaves gaps
&lt;/h2&gt;

&lt;p&gt;An RL lineage for a frontier model is not a small thing. Transcripts, checkpoints, monitors, and rewards across the highest-compute RL run OpenAI has ever done is a serious evidence base for claim one — whether training incentivizes subversion — at least for the RL stage of that one model.&lt;/p&gt;

&lt;p&gt;But notice what it does not cover, by construction:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pretraining.&lt;/strong&gt; If subversive tendencies were shaped before RL started, an RL-only window sees the result, not the cause.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Other models.&lt;/strong&gt; A clean bill for GPT-next's RL run says nothing about a different model trained on a different recipe. Nightingale made exactly this point.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claims two through four.&lt;/strong&gt; Elicitation, internal deployment, and detectability are stage-two territory. Apollo's own announcement said detailed access arrangements for the other claims "remain to be agreed." Eighteen days after the announcement, that sentence is doing a lot of work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Apollo flagged the limits from day one. Its announcement said the pilot does not yet meet its own criteria for credible embedded evaluations: access to all relevant records, disclosure rights, and meta-transparency. OpenAI may withhold in-scope items for technical infeasibility, security, or IP, as long as it says so in writing. Evaluators work on OpenAI hardware, in monitored channels, without the general Slack channels a safety researcher would use. OpenAI selects which staff they can formally interview, conversations are logged, and publishing anything based on employee discussions needs OpenAI's formal attestation unless Apollo establishes it independently. OpenAI can redact confidential evidence from the final reports — though not the verdicts, and not merely because a finding is unfavorable.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one right that is already working
&lt;/h2&gt;

&lt;p&gt;Here is the part I find genuinely encouraging: we know about this dispute because Apollo has meta-transparency rights — the contractual right to publicly describe its constraints without OpenAI's prior review. Meinke's post is that right being exercised, 18 days in, while there is still time to renegotiate scope. Chen's public reply, with a concrete access list, is also new information the public would not otherwise have. Whatever else this pilot produces, it has already forced both sides to state the scope in public, in comparable terms.&lt;/p&gt;

&lt;p&gt;That is the standard to hold the final reports to. When Apollo publishes, the verdicts will matter less than the scope statement attached to them: which model, which training stages, which claims, what was withheld and why. A "no evidence of subversion" finding inside one RL lineage is a real result. The same sentence read as a verdict on OpenAI's models in general would be marketing.&lt;/p&gt;

&lt;p&gt;My take: OpenAI is not obviously lying about the access, and Apollo is not obviously exaggerating the narrowness. They are describing the same window from opposite sides. The fight is over whether that window is wide enough to support the claims printed on the announcement — and on the announcement's own four-claim list, an RL-only scope for one model cannot, by itself, get there. The next 3.5 months of scope negotiation are the actual evaluation.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://techcrunch.com/2026/12/04/openai-is-restricting-its-independent-evaluators-apollo-research-exec-says/" rel="noopener noreferrer"&gt;TechCrunch, Dec 4, 2026&lt;/a&gt;, &lt;a href="https://www.apolloresearch.ai/blog/pilot-towards-embedded-evaluations" rel="noopener noreferrer"&gt;Apollo Research, "A Pilot Towards Embedded Evaluations"&lt;/a&gt;, &lt;a href="https://openai.com/index/our-first-phase-of-embedded-assessments/#apollo-research" rel="noopener noreferrer"&gt;OpenAI, "Our first phase of embedded assessments"&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>openai</category>
      <category>safety</category>
      <category>discuss</category>
    </item>
    <item>
      <title>54,277 lines of Rust behind Forma's 1.7MB claim</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:29:31 +0000</pubDate>
      <link>https://dev.to/frankchu/54277-lines-of-rust-behind-formas-17mb-claim-dkd</link>
      <guid>https://dev.to/frankchu/54277-lines-of-rust-behind-formas-17mb-claim-dkd</guid>
      <description>&lt;p&gt;Forma's headline is a ~1.7 MB binary replacing a 953 MB headless Blender stack. I counted what's behind that number: 54,277 lines of Rust across 62 files, 7 crates, and exactly 4 direct external dependencies.&lt;/p&gt;

&lt;p&gt;That dependency count is the real story. The binary size is just what falls out of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Forma is
&lt;/h2&gt;

&lt;p&gt;Forma (wrong-nebula/forma, currently v0.4.5, GPL-3.0-or-later) is a headless 3D polyhedral modeling engine built for AI agents: a declarative pipe language instead of Blender's &lt;code&gt;bpy&lt;/code&gt; Python scripting, semantic selectors (&lt;code&gt;top_rim&lt;/code&gt;, &lt;code&gt;vertical&lt;/code&gt;) instead of integer vertex indices, strict manifold booleans, a zero-GPU renderer, and CLI/WASM/MCP entry points. It was GitHub trending's fastest riser this week, gaining about 4,000 stars in a day.&lt;/p&gt;

&lt;p&gt;The README's benchmark table claims 15.3 ms cold-start eval plus GLB export versus Blender's 1,306.8 ms (~85x by my division), 6–14 MB peak RSS versus 223 MB, and 84,551 completion tokens across a 12-model average versus 294,661 for &lt;code&gt;bpy&lt;/code&gt; (3.49x fewer, which checks out arithmetically). Those are the project's own numbers; I did not build or run the binary for this post, so treat the speed and token claims as unverified by me. What I verified is the source tree.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I counted
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt;
&lt;span class="n"&gt;root&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'forma'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;files&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rglob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'*'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="s1"&gt;'.git'&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parts&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;rs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;files&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;suffix&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s1"&gt;'.rs'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;st_size&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;errors&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'ignore'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;splitlines&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;244 files, 14,520,577 bytes in the repo
62 Rust files, 54,277 lines
crates/forma-core    28,694 lines   (kernel, booleans, export)
crates/forma-print   15,897 lines   (3D-print DFM addon)
crates/forma-lang     5,871 lines   (the pipe language)
crates/forma-mcp      1,319 lines
crates/forma-cli        923 lines
crates/forma-wasm       816 lines
crates/forma-server     757 lines
Cargo.lock: 21 packages total
wasm/forma.wasm: 1,286,891 bytes (484,574 gzipped)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three things stand out:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The dependency surface is tiny.&lt;/strong&gt; Across all 7 crates, the only direct external dependencies are serde, serde_json, thiserror, and smallvec. Everything else — CSG booleans (3,857 lines), the renderer, PNG deflate, GLB/STEP/3MF export, the MCP server — is hand-written in-tree. That is how you get a 1.7 MB native binary: there is almost nothing to link.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The WASM claim needs a footnote.&lt;/strong&gt; The README says ~0.8 MB WASM. The &lt;code&gt;forma.wasm&lt;/code&gt; checked into the repo is 1,286,891 bytes — 1.29 MB raw, 0.48 MB gzipped. The npm package may ship a different build, but the artifact in the repo is not 0.8 MB by either measure. Small discrepancy, same order of magnitude, worth knowing if you're budgeting an edge bundle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It's not a toy.&lt;/strong&gt; 273 &lt;code&gt;#[test]&lt;/code&gt; functions, a 5,456-line DFM (design-for-manufacturing) module, and a print addon that is 29% of the codebase. The core kernel alone is 28,694 lines. Whoever wrote this — human, agent, or both — wrote a real geometry kernel, including the unglamorous parts.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The trade you're actually making
&lt;/h2&gt;

&lt;p&gt;Forma is a polyhedral mesh kernel, not an analytic B-Rep engine: STEP export is faceted planar faces, no NURBS, no exact arcs. If you need MCAD precision, this is the wrong tool and the README says so. If you need an agent to produce a watertight flange, bracket, or enclosure and export GLB/STL, the trade is: give up Blender's generality, get a deterministic pipe language an LLM can actually emit correctly, in a binary smaller than most &lt;code&gt;node_modules&lt;/code&gt; folders' &lt;code&gt;.cache&lt;/code&gt; directory.&lt;/p&gt;

&lt;p&gt;The license is the other real consideration. Secondary coverage this week called it MIT; the repo says GPL-3.0-or-later, in both the workspace manifest and the LICENSE file. If you're embedding this in a commercial agent product, that distinction matters more than the binary size.&lt;/p&gt;

&lt;p&gt;My take: the 530x-smaller headline is marketing arithmetic (953/1.7 is 561x, for what it's worth). The durable fact is 4 external dependencies and 54k lines of owned code. Agent tooling is quietly splitting into "wrap a giant desktop app" and "write the kernel yourself, small enough to be deterministic." Forma is the second bet, and the source tree backs the bet up better than the benchmark table does.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://github.com/wrong-nebula/forma" rel="noopener noreferrer"&gt;wrong-nebula/forma&lt;/a&gt; (source counted at v0.4.5), &lt;a href="https://ghtrends.dev/daily/2026-12-04/" rel="noopener noreferrer"&gt;GitHub trending, Dec 4&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>rust</category>
      <category>webassembly</category>
      <category>discuss</category>
    </item>
    <item>
      <title>13ms to scan every eMudhra CA private key</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:29:28 +0000</pubDate>
      <link>https://dev.to/frankchu/13ms-to-scan-every-emudhra-ca-private-key-296k</link>
      <guid>https://dev.to/frankchu/13ms-to-scan-every-emudhra-ca-private-key-296k</guid>
      <description>&lt;p&gt;Scanning every possible eMudhra private key took me 13 milliseconds. All eight compromised intermediate CA keys were integers below 256 — 4, 56, 66, 115, 155, 156, 230, and 237 — on a curve where the private key is supposed to be a roughly 384-bit random number.&lt;/p&gt;

&lt;p&gt;That is not a weakened key. That is a key with the security removed and the label left on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened, briefly
&lt;/h2&gt;

&lt;p&gt;In October 2026 it became public that eight eMudhra intermediate certificates — six for TLS issuance, two for code signing, some cross-signed by Sectigo — had P-384 private keys small enough to fit in one byte. Mozilla got the report on October 17 at 20:06 UTC; Firefox and Chrome blocked the intermediates the same day, eMudhra revoked them on the 18th, Apple followed on the 19th, Microsoft on the 20th. The weak keys dated back to an April 30, 2025 key ceremony, so they were recoverable from the public certificates for about 17 months.&lt;/p&gt;

&lt;p&gt;Hanno Böck's post this week is the interesting part: his badkeys scanner &lt;em&gt;almost&lt;/em&gt; caught this. A November 2025 issue proposed checking for small elliptic-curve private keys. He wrote a preliminary script generating keys for values up to 16 — which means d=4 was literally sitting on his laptop — but never added them to the blocklist while he looked for a more elegant algorithmic check. The keys were eventually found by someone running Google's paranoid_crypto, which does implement that check (baby-step giant-step), against the CCADB certificate database.&lt;/p&gt;

&lt;h2&gt;
  
  
  I measured how trivial the recovery is
&lt;/h2&gt;

&lt;p&gt;An EC public key is Q = d·G. If d is small, you don't need baby-step giant-step. You just add G to itself and compare. One point addition per candidate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;
&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;384&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;128&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;96&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;32&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;   &lt;span class="c1"&gt;# P-384 field prime&lt;/span&gt;
&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="nc"&gt;Gx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nc"&gt;Gy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;P&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="no"&gt;P&lt;/span&gt;
    &lt;span class="n"&gt;x1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;x2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x1&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;x2&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;y1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;y2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;x1&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;x1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nb"&gt;pow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;y1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;P&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt;
         &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;y2&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;y1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nb"&gt;pow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x2&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;
    &lt;span class="n"&gt;x3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;y1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;targets&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;56&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;66&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;115&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;155&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;156&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;230&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;237&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;t0&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;perf_counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="no"&gt;Q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="no"&gt;Q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;Q&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Gx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Gy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;          &lt;span class="c1"&gt;# Q is now d·G&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{(time.perf_counter()-t0)*1000:.1f} ms"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;scan d=1..255: 13.4 ms, 19,035 candidates/sec
recovered set: [4, 56, 66, 115, 155, 156, 230, 237]
naive scan reach: 1s -&amp;gt; d&amp;lt;=16,134 (~14 bits), 1day -&amp;gt; d&amp;lt;=1,393,944,176 (~31 bits)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pure Python, no libraries, no optimization, on a shared VM. The whole search space is 255 candidates. In entropy terms the strongest of the eight keys, 237, is an 8-bit secret; d=4 is 3 bits. A proper P-384 key has about 376 more bits of search space than the entire range these keys lived in.&lt;/p&gt;

&lt;p&gt;To be precise about what I did: I reproduced the recovery method and timed it against the published key values. I did not re-derive them from the original certificates — those are revoked and the values are already public from multiple incident reports.&lt;/p&gt;

&lt;h2&gt;
  
  
  The check that would have caught it costs nothing
&lt;/h2&gt;

&lt;p&gt;This is the part that should bother people. Böck's preliminary script covered d up to 16, which catches exactly 1 of the 8 keys. Extending it to all 255 one-byte values is not a research project; it's the 13 ms above, precomputed once per curve and shipped as a blocklist. He has since added exactly that to badkeys.&lt;/p&gt;

&lt;p&gt;The failure mode is worth naming because it is not cryptographic. Nobody broke P-384. A ceremony script produced a weak key set alongside the real one, the labels looked alike, and several people across several steps didn't notice. Then the ecosystem's safety net — scanners that check public keys for known-bad patterns — had a hole exactly the shape of this bug, because the elegant version of the check (Pollard's kangaroo, baby-step giant-step) was more interesting than the dumb version (a list of 255 hashes).&lt;/p&gt;

&lt;p&gt;There is a general lesson here for anyone building validation: ship the dumb check first. A blocklist of small-d keys is embarrassing code. It is also 13 milliseconds of compute standing between "17 months of forgeable CA keys" and "caught by a cronjob." Elegance can come in the second commit.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html" rel="noopener noreferrer"&gt;Hanno Böck, "How I almost found the eMudhra d=4 Private Key"&lt;/a&gt;, &lt;a href="https://senn-tech.com/en/blog/emudhra-ca-key-value-4-fleet-sweep" rel="noopener noreferrer"&gt;incident timeline and key values&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cryptography</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>$365B TSMC plan still counts 12 facilities</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Fri, 04 Dec 2026 22:11:18 +0000</pubDate>
      <link>https://dev.to/frankchu/365b-tsmc-plan-still-counts-12-facilities-4add</link>
      <guid>https://dev.to/frankchu/365b-tsmc-plan-still-counts-12-facilities-4add</guid>
      <description>&lt;h1&gt;
  
  
  $365B TSMC plan still counts 12 facilities
&lt;/h1&gt;

&lt;p&gt;TSMC added another $100 billion to its U.S. investment on Friday, taking the planned total to $365 billion — 30.4 times the $12 billion Phoenix site it announced in 2020. In Reuters' account, the facility count did not move with the money: Arizona will still comprise 12 chip fabrication and packaging facilities plus an R&amp;amp;D center, the same total July's previous $100 billion expansion produced.&lt;/p&gt;

&lt;p&gt;That gap between the money cadence and the fab cadence is the story.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was announced
&lt;/h2&gt;

&lt;p&gt;Chairman and CEO C.C. Wei announced the additional $100 billion at the groundbreaking for the fifth phase of TSMC's Phoenix campus, with President Trump in attendance. Tim Cook, AMD's Lisa Su, Broadcom's Hock Tan, and Qualcomm's Cristiano Amon were there; Nvidia CEO Jensen Huang was not, per TechCrunch and Reuters. Nvidia is TSMC's biggest customer, Reuters notes.&lt;/p&gt;

&lt;p&gt;Wei seemed aware of the pattern. Responding to cheers after the announcement, he said, per TechCrunch's account of the livestream: "every time if you meet with supporters, you need to add $100 billion."&lt;/p&gt;

&lt;p&gt;Wei put the employment numbers at 40,000 construction jobs, 18,000 new TSMC jobs, and 20,000 indirect jobs, according to Reuters.&lt;/p&gt;

&lt;h2&gt;
  
  
  The arithmetic
&lt;/h2&gt;

&lt;p&gt;I lined up the announced steps:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Added&lt;/th&gt;
&lt;th&gt;Planned total&lt;/th&gt;
&lt;th&gt;Facility count&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2020 Phoenix announcement&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;$12B&lt;/td&gt;
&lt;td&gt;first advanced U.S. site&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;March 2025 expansion&lt;/td&gt;
&lt;td&gt;+$100B on a $65B commitment&lt;/td&gt;
&lt;td&gt;$165B&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;July 2026 expansion&lt;/td&gt;
&lt;td&gt;+$100B&lt;/td&gt;
&lt;td&gt;$265B&lt;/td&gt;
&lt;td&gt;12, after four additional facilities&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dec. 4, 2026&lt;/td&gt;
&lt;td&gt;+$100B&lt;/td&gt;
&lt;td&gt;$365B&lt;/td&gt;
&lt;td&gt;still 12 in Reuters' account&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The March 2025 and July 2026 steps are from the U.S. Commerce Department/NIST release on the July announcement; Friday's step is Reuters and TechCrunch.&lt;/p&gt;

&lt;p&gt;Three things fall out of that table:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;This is the third $100 billion increment in about 21 months.&lt;/strong&gt; The last two landed 141 days apart (July 16 to Dec. 4).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Friday's tranche raises the planned budget 37.7%&lt;/strong&gt; ($100B on $265B) with no change in the reported facility count.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The naive per-facility average jumps from $22.1B to $30.4B&lt;/strong&gt; — up $8.3B per facility. Facilities are not identical (logic fabs and packaging plants cost different amounts), so treat that as an accounting check, not a cost estimate. But it frames the unanswered question: did the July facilities get bigger and more expensive, or is December's money a next campus that hasn't been counted yet? Neither report I verified says.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For scale on the public money: TSMC secured up to $6.6 billion in CHIPS Act grants and up to $5 billion in federal loans, per Reuters. Together that's $11.6 billion, about 3.2% of the $365 billion headline — and loans are not grants.&lt;/p&gt;

&lt;h2&gt;
  
  
  What exists on a date
&lt;/h2&gt;

&lt;p&gt;I checked TSMC's own Arizona page today. It still describes the investment as $265 billion, with plans underway for six logic wafer fabs, two advanced packaging facilities, and an R&amp;amp;D center. Its dated milestones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fab 1:&lt;/strong&gt; N4 high-volume production since Q4 2024.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fab 2:&lt;/strong&gt; structure completed in 2025; N3 volume production targeted for the second half of 2027 (Reuters says Q3 2027).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fab 3:&lt;/strong&gt; broke ground April 2025, N2 and A16, targeting volume production by the end of the decade.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fab 4 and the first advanced packaging fab:&lt;/strong&gt; initial construction stages in early 2026.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither the TechCrunch nor the Reuters report gives a production date, process node, or wafer capacity for the fifth phase that broke ground Friday, or for the new $100 billion as a whole.&lt;/p&gt;

&lt;h2&gt;
  
  
  My take
&lt;/h2&gt;

&lt;p&gt;The demand signal is real — the customers who buy these wafers were literally on stage. But $100 billion has become the unit of announcement, while capacity still arrives one fab at a time, years apart. For anyone planning AI infrastructure around U.S. leading-edge supply, the dated list is short: one fab in production, a second in 2027, a third by the end of the decade. Everything past that is commitment, not capacity — and as of Friday, the commitment is $365 billion against the same 12 facilities July's $265 billion was supposed to build.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;TechCrunch, "TSMC adds $100B to Arizona factory because everyone is thirsty for chips" (Dec. 4, 2026): &lt;a href="https://techcrunch.com/2026/12/04/tsmc-adds-100b-to-arizona-factory-because-everyone-is-thirsty-for-chips/" rel="noopener noreferrer"&gt;https://techcrunch.com/2026/12/04/tsmc-adds-100b-to-arizona-factory-because-everyone-is-thirsty-for-chips/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Reuters, "TSMC to invest additional $100 billion in US" (Dec. 4, 2026): &lt;a href="https://www.reuters.com/world/asia-pacific/tsmc-invest-additional-100-billion-us-2026-12-04/" rel="noopener noreferrer"&gt;https://www.reuters.com/world/asia-pacific/tsmc-invest-additional-100-billion-us-2026-12-04/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;TSMC Arizona project page (checked Dec. 4, 2026): &lt;a href="https://www.tsmc.com/static/abouttsmcaz/index.htm" rel="noopener noreferrer"&gt;https://www.tsmc.com/static/abouttsmcaz/index.htm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;NIST/Commerce release on the July 2026 expansion: &lt;a href="https://www.nist.gov/system/files/documents/2026/07/16/FINAL%20TSMC%20PR.pdf" rel="noopener noreferrer"&gt;https://www.nist.gov/system/files/documents/2026/07/16/FINAL%20TSMC%20PR.pdf&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>semiconductors</category>
      <category>hardware</category>
      <category>discuss</category>
    </item>
    <item>
      <title>10 chips minimum: MiniMax M4's 2.74T at FP4, checked</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Fri, 04 Dec 2026 14:58:59 +0000</pubDate>
      <link>https://dev.to/frankchu/10-chips-minimum-minimax-m4s-274t-at-fp4-checked-2cpl</link>
      <guid>https://dev.to/frankchu/10-chips-minimum-minimax-m4s-274t-at-fp4-checked-2cpl</guid>
      <description>&lt;p&gt;MiniMax M4's routed experts alone need about 1.35 TB at FP4, which means a minimum of 10 Ascend 950DT chips (144 GB HBM each) just to hold them — before attention weights, embeddings, or a single token of KV cache. The "1,589 tokens/sec per chip" headline is real arithmetic, but it is per-chip throughput on a model that cannot fit on one chip, or nine.&lt;/p&gt;

&lt;p&gt;MiniMax announced M4 on December 3: 2.74 trillion total parameters, 66B active per token, 1M-token context, weights "soon," API live now at $0.80/$3.10 per million tokens. Since there are no weights to load, I did the next best thing: reconstructed the parameter count from the published architecture and checked whether the headline numbers agree with each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuilding 2.74T from the spec sheet
&lt;/h2&gt;

&lt;p&gt;The technical report's architecture, as reported from it: 68 layers (first 4 dense, 64 MoE), hidden size 7,168, 384 routed experts per MoE layer with top-4 routing plus 1 shared expert, expert FFN size 5,120.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;hidden&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ffn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;7168&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5120&lt;/span&gt;
&lt;span class="n"&gt;experts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;moe_layers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;384&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;

&lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;hidden&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;ffn&lt;/span&gt;          &lt;span class="c1"&gt;# gated FFN: gate, up, down&lt;/span&gt;
&lt;span class="n"&gt;routed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;experts&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;moe_layers&lt;/span&gt;
&lt;span class="n"&gt;shared&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;moe_layers&lt;/span&gt;
&lt;span class="n"&gt;active_expert&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;per_expert&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;moe_layers&lt;/span&gt;   &lt;span class="c1"&gt;# top-4 + shared&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"per expert:      {per_expert:,}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"routed experts:  {routed/1e12:.3f}T"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"shared experts:  {shared/1e9:.2f}B"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"experts total:   {(routed+shared)/1e12:.3f}T of 2.74T claimed"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"active experts:  {active_expert/1e9:.2f}B of 66B claimed"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;per expert:      110,100,480
routed experts:  2.706T
shared experts:  7.05B
experts total:   2.713T of 2.74T claimed
active experts:  35.23B of 66B claimed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is a clean check. Experts account for 2.713T of the claimed 2.74T — 99.0% — leaving roughly 27B for attention, the 4 dense layers, embeddings, and the 631M-parameter vision encoder. And it confirms the FFN shape: if each expert were a plain 2-matrix FFN instead of gated, the total would land near 1.81T and the headline would be fiction. It is not.&lt;/p&gt;

&lt;p&gt;The active side is more interesting. Experts contribute only 35.2B of the 66B active parameters — 53%. The other ~31B per token is attention projections, dense layers, and shared machinery that fires on every token no matter how the router votes. "66B active" sounds sparse next to 2.74T (2.41%), but more than half of what actually computes is the always-on part. MoE sparsity buys you capacity; it does not make the per-token bill small.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 10-chip floor
&lt;/h2&gt;

&lt;p&gt;MiniMax trains routed experts in block-scaled FP4, so the most generous storage math is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;routed experts at FP4:  2.706T x 0.5 bytes = 1.353 TB
Ascend 950DT HBM:       144 GB
1,353 / 144 = 9.4  -&amp;gt;  10 chips minimum, experts only
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Shared experts run FP8 (another ~7 GB), attention and embeddings are on top, and then KV cache. None of this contradicts MiniMax — they never claimed one chip; the 1,589 tok/s figure is explicitly per chip, at 100 tok/s per user, which works out to about 15.9 concurrent users per chip. But "per chip" throughput on a model with a 10-chip memory floor is a serving-cluster statistic, not a hardware-efficiency proof by itself. The honest unit is tokens/sec per 10+ chip replica, and that number is not in the announcement.&lt;/p&gt;

&lt;h2&gt;
  
  
  The KV cache math also checks
&lt;/h2&gt;

&lt;p&gt;The other headline is MSA2 + MFlashKV: KV cache offloaded to SSD. All 128 query heads share a single 256-dimensional KV vector per layer, stored at 8 bits:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;per token:   68 layers x 256 bytes = 17,408 bytes
1M context:  17.4 GB of main KV cache per full-length session
per layer:   16 tokens x 256 bytes = 4,096 bytes = one SSD page
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The 4 KiB alignment is exact, per layer, which is what makes SSD paging clean — no read amplification on the blocks the indexer selects. But note the unit: a 16-token block across all 68 layers is 272 KiB. The design is elegant; it is also moving real bytes. 17.4 GB per maxed-out session is why the cache cannot live in HBM next to 1.35 TB of experts, and why the two-layer-lookahead indexer is load-bearing rather than decorative. (The index cache itself is extra; I could not verify its size from the report summaries, so it is not in my numbers.)&lt;/p&gt;

&lt;h2&gt;
  
  
  My take
&lt;/h2&gt;

&lt;p&gt;Everything I could recompute from the published spec agrees with MiniMax's headlines: 2.74T total, the expert share, the KV footprint, the SSD page alignment. That is more internal consistency than most launch posts survive.&lt;/p&gt;

&lt;p&gt;What the arithmetic also says: this is a datacenter replica of at least 10 accelerators before redundancy, the weights and license are not public yet, and every benchmark is self-reported. "Open-weight" is currently a promise with a GitHub repo containing a PDF. When the weights land, the first thing to check is not a benchmark — it is whether any open inference engine implements MSA2, because without it, the KV-to-SSD story that justifies the whole design does not run on your hardware.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://www.minimax.io/blog/m4" rel="noopener noreferrer"&gt;MiniMax M4 announcement&lt;/a&gt;, &lt;a href="https://github.com/MiniMax-AI/MiniMax-M4" rel="noopener noreferrer"&gt;MiniMax-M4 repo&lt;/a&gt;, &lt;a href="https://venturebeat.com/technology/minimax-m4-is-here-a-new-frontier-model-optimized-for-non-nvidia-chips-with-open-weights-to-come" rel="noopener noreferrer"&gt;VentureBeat coverage&lt;/a&gt;, &lt;a href="https://importstatic.com/ai/minimax-m4-open-weights-api" rel="noopener noreferrer"&gt;architecture summary&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>machinelearning</category>
      <category>discuss</category>
    </item>
    <item>
      <title>1,978 lines: Laravel for COBOL is smaller than its joke</title>
      <dc:creator>frank chu</dc:creator>
      <pubDate>Fri, 04 Dec 2026 14:58:48 +0000</pubDate>
      <link>https://dev.to/frankchu/1978-lines-laravel-for-cobol-is-smaller-than-its-joke-10ao</link>
      <guid>https://dev.to/frankchu/1978-lines-laravel-for-cobol-is-smaller-than-its-joke-10ao</guid>
      <description>&lt;p&gt;I counted 1,978 lines of COBOL in the whole Laravel for COBOL repo — 41 files, zero lines past column 72. The joke framework that hit Hacker News this week is smaller than most people's &lt;code&gt;node_modules&lt;/code&gt; cleanup PRs, and its most-quoted number checks out exactly: the user controller really is 188 lines.&lt;/p&gt;

&lt;p&gt;Laravel for COBOL is, by its own README, "an unofficial, satirical project." It pitches routing in the PROCEDURE DIVISION, an Eloquent-style ORM over indexed files, RACF-flavored auth, and a CLI whose name I will not spoil. The satire only works if the code is real, so I cloned it and counted instead of laughing and moving on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I measured
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;
&lt;span class="n"&gt;files&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rglob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'*'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
         &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="s1"&gt;'.git'&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parts&lt;/span&gt;
         &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;suffix&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'.cbl'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'.cpy'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;blank&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;comment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;over72&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;errors&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'ignore'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;splitlines&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;total&lt;/span&gt;   &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;blank&lt;/span&gt;   &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;comment&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'*&amp;gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;over72&lt;/span&gt;  &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;72&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;blank&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;comment&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;over72&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;41 files, 1978 lines, 164 blank, 119 comment, 0 over column 72
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Broken down by directory:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Directory&lt;/th&gt;
&lt;th&gt;Files&lt;/th&gt;
&lt;th&gt;Lines&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;framework/&lt;/td&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;1,258&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;app/&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;579&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database/&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;routes/&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;public/&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The framework core is 63.6% of the codebase. That ratio is the tell: this is not a README with three demo files. Someone built a router (174 lines), a Blade-ish view compiler (205 lines, the single biggest file), request capture (133), an ABEND error handler (155), middleware, and a model layer (137) — then wrote a 579-line app on top of it.&lt;/p&gt;

&lt;p&gt;The routes are real too. I found 8 route/middleware registrations across the two route files: a welcome page, a users index/show/store trio, and an API pair behind auth middleware. Small, but it is a working shape, not a screenshot.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 188-line claim
&lt;/h2&gt;

&lt;p&gt;The README's favorite stat is "188 lines of code per endpoint vs 1 for PHP." I checked: &lt;code&gt;USER-CONTROLLER.cbl&lt;/code&gt; is exactly 188 lines, and the welcome controller is 42. The comparison is rigged, of course — the PHP "1" is one route line that leans on a framework with orders of magnitude more code underneath, while the COBOL 188 sits on 1,258 lines of framework. Counted honestly, both sides are "a controller plus a framework." The difference is that Laravel's framework is millions of lines you never read, and this one fits in an afternoon.&lt;/p&gt;

&lt;p&gt;And the 72-column discipline is perfect: max line length in the repo is exactly 72, zero violations across 1,978 lines. Whoever generated this — human, agent, or both — respected the punch-card limit everywhere. That is either craftsmanship or a very well-prompted model. Probably both.&lt;/p&gt;

&lt;h2&gt;
  
  
  The benchmark I did not rerun
&lt;/h2&gt;

&lt;p&gt;The repo ships benchmark results (their numbers, not mine): on 1 vCPU / 1 GB, COBOL did 80.02 req/s on the web endpoint vs PHP Laravel's 136.75, and 137.03 vs 158.34 on the API endpoint. The funny part is the tail: COBOL's p99 was 296 ms vs PHP's 643 ms on web, and 194 ms vs 572 ms on API — roughly 2.2x and 2.9x better tail latency while losing on throughput and mean latency.&lt;/p&gt;

&lt;p&gt;That is plausibly real physics, not just satire. The COBOL stack is lighttpd plus CGI: one fresh process per request, no shared state, nothing to contend over. Process-per-request is terrible for throughput and oddly honest about tails — every request pays the same startup cost, so the distribution stays tight. I did not rerun their benchmark, so treat the exact figures as the project's own; the mechanism, though, is a known trade-off wearing a clown nose.&lt;/p&gt;

&lt;h2&gt;
  
  
  My take
&lt;/h2&gt;

&lt;p&gt;The README argues that in the AI era, verbosity is a feature: thousands of lines give agents more context to reason about. That is the joke, and it is also uncomfortably close to how agent-generated codebases actually grow — nobody reads them, so size stops being a cost anyone feels.&lt;/p&gt;

&lt;p&gt;But the count cuts the other way. A "full-stack framework" in 1,978 lines that a person can actually read end to end is a reminder of how much of a modern framework is accumulated compatibility, not necessity. Laravel for COBOL will never run your bank. It does prove the core of the thing — routing, middleware, ORM, templates, errors — is about 1,300 lines of anybody's language.&lt;/p&gt;

&lt;p&gt;Ship confidently. Understand optionally. Count first.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://github.com/pihedy/laravel-cobol" rel="noopener noreferrer"&gt;pihedy/laravel-cobol&lt;/a&gt;, &lt;a href="https://news.ycombinator.com/item?id=50748433" rel="noopener noreferrer"&gt;Hacker News discussion&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cobol</category>
      <category>laravel</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
