proomt

Search

Search posts, papers, and topics

rust

RSS
  1. 1
    1 points

    Saving another 100TB of RAM with math (and Rust)

    Cloudflare reduced the memory footprint of its Pingora Backend Router by re‑examining the consistent‑hashing implementation in the pingora‑ketama library. By increasing the number of virtual hash points per server from the default 1 to the standard 160 (and applying weighted hashing based on disk capacity), they cut the per‑node overhead enough to reclaim >100 TB of RAM across the fleet. The post…

    Hacker News front pagecloudflare.com13 minHN478120lobste.rs33
  2. 5

    Nvidia announces native GPU programming in Rust

    NVIDIA released CUDA‑Rust, letting you write GPU kernels directly in Rust and compile to PTX. Two programming models are supported: the traditional SIMT model via the `cuda-oxide` backend (nightly Rust, custom codegen) and the newer Tile model via `cutile‑rs` (stable Rust, JIT‑compiled Tile IR). Both provide Rust‑typed safety guarantees (e.g., `DisjointSlice`, tensor partitioning) and simple Carg…

    Hacker News front pagenvidia.com11 minHN961402
  3. 7

    Typst makes big strides

    Typst 0.15 adds variable‑font support, experimental HTML export with MathML, a bundle output mode for multi‑file projects, multiple bibliography sections, and the ability to target several PDF standards at once. The post shows concrete Typst code snippets for each feature and notes the required compiler flags.

    Lobsterslwn.net12 minHN41lobste.rs117
  4. 8

    Some things Veloren does differently

    Veloren’s engine uses a custom ECS, a novel ‘chonks’ voxel storage, full‑world pre‑generation, physically‑based erosion, and a scalable real‑time simulation (rtsim) that keeps tens of thousands of NPCs active, achieving ~50% CPU usage on a 48‑core server with 500+ players.

    Lobstersjsbarretto.com8 minHN5lobste.rs70
  5. 10

    Labeled matches: why is this not in every regex engine?

    The author shows how to label tokens (dates, money, emails, etc.) with a single regex pass using extended operators (`&` for intersection, `~` for complement) in the resharp library. A tiny benchmark compares 10 patterns against spaCy’s NER, reporting ~1.9 GB/s (≈4500× faster) on 8 threads. The post lists the concrete patterns and argues that for deterministic, regular‑language entities regex can…

    Lobstersiev.ee7 minHN5lobste.rs27
  6. 11

    Lambda MicroEgg

    lambda-microegg is a Rust e‑graph library that adds scoped, alpha‑aware binders and Miller‑style higher‑order patterns to the Egg framework, enabling capture‑avoiding substitution and higher‑order rewriting with modest performance overhead.

    Lobstersphilipzucker.com15 minlobste.rs27
  7. 12

    Migrating the GitHub Copilot runtime to Rust, using Copilot

    The Copilot agent runtime was rewritten from a 130‑k‑line TypeScript/Node.js codebase into a native Rust library (~830 k lines of Rust) to reduce startup latency, memory use, and improve reliability. The migration was done incrementally (in‑place) across 128 PRs, with AI‑generated code handling most of the work. The new runtime exposes a C ABI for in‑process embedding by all six Copilot SDK langu…

    GitHub Oldgithub.blog65 minHN188
  8. 13

    tokenizers v1: encode, decode and scaling, measured

    Hugging Face has released `tokenizers` v1, a major performance update that achieves 3-30x faster encoding than v0.23 while maintaining identical output and API compatibility. Key optimizations include a SIMD-accelerated splitter, a thread-local word cache, and an allocation-free BPE merge loop, ensuring tokenization doesn't bottleneck ML workflows.

    Hugging Facehuggingface.co10 min
  9. 15

    GitHub Actions leaking secrets when Miri output is cached

    Miri writes all environment variables to the target/ directory, and when that directory is cached in GitHub Actions, secrets can be exposed to PRs. A short‑term patch now limits Miri to only preserve CARGO_* vars (excluding tokens) and OUT_DIR; until the fix lands, disable target caching or scope secrets away from Miri steps and clear existing caches.

    Rust Blogrust-lang.org3 min
  10. 17

    ClickHouse is now available on the dbt platform

    ClickHouse released a public‑beta dbt v2 adapter written in Rust that ships inside the dbt binary and talks to ClickHouse via the new ADBC driver. The adapter promises up to 30× faster dbt parsing and leverages ClickHouse’s sub‑second, high‑concurrency engine (e.g., materialized views, MCP server). A private‑beta integration on the dbt Platform now lets users develop, schedule, and catalog ClickH…

    ClickHouseclickhouse.com8 min
  11. 18

    Cylic trait implementations: motivation

    The post introduces the problem of cyclic trait implementations in Rust, showing how allowing certain cycles could enable “perfect derive” that derives traits based on field types rather than generic bounds. It also explains why naïvely accepting any cycle is unsound, especially with supertraits, and outlines the need for a principled solution.

    Mozilla Automation Teamsmallcultfollowing.com9 minHN1
  12. 19

    This Week in Rust 669

    This Week in Rust #669 is a curated roundup of community newsletters, project/tooling releases, blog posts, walkthroughs, research, the crate of the week, testing calls, and a detailed list of merged PRs across the Rust compiler, standard library, Cargo, rustfmt, Clippy, and rust‑analyzer, plus a brief compiler‑performance triage summary. No new RFCs were approved.

    Mozilla Automation Teamthis-week-in-rust.org9 min
  13. 20

    Icons! Lots of them! – These Weeks in Firefox: Issue 206

    Firefox 154 adds a Windows‑only UI to change the default browser icon, exposes a new Picture‑in‑Picture WebAPI, and ships a raft of small but concrete improvements across Add‑ons, DevTools, WebExtensions, WebDriver and the Rust‑based login storage component. Most changes are toggles or bug‑fixes (e.g., CSS handling in the Debugger, startup‑performance regression fix, storage.local auto‑reset, and…

    Mozilla Automation Teammozilla.org13 min
  14. 21

    Firefox WebDriver Newsletter 154

    Firefox 154 adds the emulation.setLocaleOverride command to WebDriver BiDi, letting tests override the Accept-Language header for fetch and WebSocket requests in workers. The newsletter also lists how to contribute to the multi-language WebDriver codebase and points to setup guides and community channels.

    Mozilla Automation Teamfxdx.dev1 min
  15. 22

    This Week in Rust 668

    This issue of *This Week in Rust* (Sept 9 2026) aggregates community news, recent Rust releases, notable blog posts, a “crate of the week” (tokio‑rcu), and a long list of merged PRs across the compiler, std, Cargo, rustdoc, rustfmt, Clippy and rust‑analyzer. The most concrete technical highlight is the tokio‑rcu crate, an async‑aware userspace RCU implementation built on Tokio.

    Mozilla Automation Teamthis-week-in-rust.org10 min
  16. 23

    This Week in Rust 667

    This issue of *This Week in Rust* (2026‑09‑02) aggregates recent Rust ecosystem activity: rustup 1.29.1 release, new project directors, foundation hires, tooling updates (wasmi 2.0, Rustdoc 33 % faster, async FFI framework), observations on Cargo scheduling, safety‑certified Rust product, DNS cache memory savings, Rust vs Go concurrency, const‑fn compile‑time tricks, and a list of 522 merged PRs…

    Mozilla Automation Teamthis-week-in-rust.org10 min
  17. 24

    Firefox WebDriver Newsletter 155

    Firefox 155 WebDriver newsletter lists recent bug fixes and cleanup work, including fixing a DevTools conflict, removing a thin helper, correcting double‑click behavior, and simplifying subscription handling.

    Mozilla Automation Teamfxdx.dev1 min
  18. 25

    This Week in Rust 666

    This issue of *This Week in Rust* (2026‑08‑26) aggregates community news: official Rust announcements (maintainers‑in‑residence, next‑gen trait solver, supply‑chain attack on arrayref, function‑overloading experiment), a Mozilla JPEG‑XL tooling update, several observations (AI‑assisted C/C++ rewrites, enum‑to‑word speedup, compilation metadata shaving, driver state handling, async vs sync for a r…

    Mozilla Automation Teamthis-week-in-rust.org9 min
  19. 26

    This Week in Rust 665

    This issue of This Week in Rust summarizes recent developments in the Rust ecosystem, including official updates, community projects like OxiSH, observations on language features, and core Rust project changes. It covers compiler, library, Cargo, Rustdoc, and Clippy updates, offering a broad overview of the language's progress.

    Mozilla Automation Teamthis-week-in-rust.org9 min