Archive BRAIXD
Compile-time payloads, text diffusion at 1500 TPS, and the C-to-Rust translation problem / DISPATCH 104
PDF RSS

Dispatch 104 · 2026-08-20 braixd

Compile-time payloads, text diffusion at 1500 TPS, and the C-to-Rust translation problem

/ 00:08:34 / 4 sources

“The gap between 'LLMs can translate small C functions to idiomatic Rust' and 'LLMs can translate a 500K-line C codebase while preserving its behavior' is exactly the context window problem.”

— Seln Oriax, today's narration

Chapters

  1. 00:00:04 Compile-time payloads
  2. 00:02:19 Text at diffusion speeds
  3. 00:04:45 Moving C at scale
  4. 00:07:10 Tencent's next model

Sources

4 cited
  1. 1

    Malicious Rust Crate arrayref Runs a Build-Time Payload

    Article SafeDep Team

    Supply chain attacks in Rust have moved from dependency confusion to active account compromise. The typosquatting of proc-macro1 (confusing with the real proc-macro2) shows attackers exploiting deep infrastructure knowl…

    safedep.io/arrayref-proc-macro1-rust-build-… →
    Details
    Context
    Supply chain attacks in Rust have moved from dependency confusion to active account compromise. The typosquatting of proc-macro1 (confusing with the real proc-macro2) shows attackers exploiting deep infrastructure knowledge gaps. For builders, this is a reminder that even small crates sitting deep in your graph can trigger compile-time code execution.
    Key points
    • Version 0.3.10 of the popular Rust crate arrayref pulled in a typosquatted proc-macro1 dependency
    • The build script of proc-macro1 downloads and runs a remote binary at compile time
    • droundy's crates.io and GitHub accounts were compromised; proc-macro1 impersonated David Tolnay
    • arrayref sits deep under tiny-skia, sctk-adwaita, and winit — roughly 245M all-time downloads
    Provenance
    Article · Supporting source
  2. 2

    DiffusionGemma Technical Report

    Article

    If diffusion models for text scale this way, the memory bottleneck that limits per-request generation speed in AR models gets circumvented entirely. The question isn't whether diffusion beats speculation on throughput —…

    arxiv.org/abs/2608.00146 →
    Details
    Context
    If diffusion models for text scale this way, the memory bottleneck that limits per-request generation speed in AR models gets circumvented entirely. The question isn't whether diffusion beats speculation on throughput — it's whether the open-weight model can match the fine-tuned intelligence of proprietary systems at equal cost.
    Key points
    • Uses discrete diffusion to refine blocks of 256 tokens in parallel instead of decoding one at a time
    • Fine-tuned from Gemma 4 MoE (3.8B activated / 25.2B total parameters) with less than 10% of original training token budget
    • Generates ~1,500 output tokens per second on a single H100 GPU via bidirectional attention across canvases
    • Retains multimodal inputs, long-context support, and thinking mode; can still generate autoregressively
    Provenance
    Article · Supporting source
  3. 3

    Canonical Backs New Project to Translate Large C Codebases Into Safe Rust

    Article Bobby Borisov

    The gap between 'LLMs can translate small C functions to idiomatic Rust' and 'LLMs can translate a 500K-line C codebase while preserving its behavior' is exactly the context window problem. This project's answer — combi…

    linuxiac.com/canonical-backs-new-project-to… →
    Details
    Context
    The gap between 'LLMs can translate small C functions to idiomatic Rust' and 'LLMs can translate a 500K-line C codebase while preserving its behavior' is exactly the context window problem. This project's answer — combining LLMs with traditional analysis — is one of the few public commitments to solving it at scale.
    Key points
    • Three-year research project between Canonical and University of Bristol for automated C-to-Rust translation
    • Uses hybrid neurosymbolic approach — LLMs for pattern translation plus program analysis and formal methods for verification
    • AppArmor and snap-confine serve as real-world case studies (not immediate rewrite targets)
    • Current source-to-source translators copy C structures too closely, producing Rust that still relies on unsafe features
    Provenance
    Article · Supporting source
  4. 4

    Tencent begins testing its new flagship model Hunyuan Hy4

    Article Nunki08

    Tencent's gray testing of Hy4 signals continued Chinese investment in frontier models despite the global compute constraint. The 'Expert-Level' positioning above DeepSeek and their own Hy3 suggests a tiered model strate…

    www.reddit.com/r/LocalLLaMA/comments/1vth4l… →
    Details
    Context
    Tencent's gray testing of Hy4 signals continued Chinese investment in frontier models despite the global compute constraint. The 'Expert-Level' positioning above DeepSeek and their own Hy3 suggests a tiered model strategy rather than a single flagship.
    Key points
    • Hy4 appeared in the Tencent Yuanbao App model selection list, labeled 'Expert-Level Model'
    • Positioned above Hy3 and DeepSeek — positioned as a general-purpose model with tool-use focus
    • Confirmed in last week's Q2 earnings report that larger-parameter Hy4 would launch soon
    Provenance
    Article · Supporting source