Ross ROSS = Recommend OSS · open-source software intelligence for agents

Lokathor/bytemuck

A crate for mucking around with piles of bytes observed · 2026-08-28

github.com/Lokathor/bytemuck · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 96
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2540
  • days_rel: n/a
  • days_push: 26
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1049 stars · 111 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Rust library for safely bit-casting (transmuting) between plain data types and byte slices, with traits like Pod, NoUninit, and AnyBitPattern to enforce memory safety. It is widely used to reinterpret slices of structs as raw bytes, e.g. for sending vertex data to the GPU.

Use cases

  • cast a slice of structs to bytes for uploading to the GPU
  • safely transmute between plain data types in Rust
  • reinterpret a byte buffer as a different type
  • zero-copy serialization of plain-old-data structs
  • convert between u8 slices and typed slices
  • derive Pod/Zeroable traits for my structs

When to choose

  • you need to reinterpret memory between types without copying
  • you're preparing vertex or uniform data for graphics APIs like wgpu
  • you want checked or must-cast transmutes with safety traits instead of raw unsafe transmute
  • you need a tiny, stable, no_std-friendly dependency

When to avoid

  • your types contain pointers, references, or heap data (not plain old data)
  • you need general serialization to portable formats like JSON or protobuf
  • you only need simple numeric conversions that the `as` keyword or From/Into already handle

Facets

library · maturity stable

serialization developer-tools developer-tools graphics programming-languages rust cross-platform wasm bit-casting transmute pod zero-copy gpu-data unsafe-rust bytes

10 sources

Member repositories

RepositoryRoleHealth v2
Lokathor/bytemuckmain75

For agents

markdown · JSON · MCP: product_card(name="Lokathor/bytemuck")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem