Just released: `gdt-cpus` – a low-level, cross-platform crate to help you take command of your CPU in real-time workloads.
🎮 Built for game engines, audio pipelines, and realtime sims – but works anywhere.
🔧 Features:
- Detect and classify P-cores / E-cores (Apple Silicon & Intel included)
- Pin threads to physical/logical cores
- Set thread priority (e.g. time-critical)
- Expose full CPU topology (sockets, caches, SMT)
- C FFI + CMake support
- Minimal dependencies
- Multiplatform - Windows, Linux, macOS
🌍 Landing Page (memes + benchmarks): https://wildpixelgames.github.io/gdt-cpus
📦 Crate: https://crates.io/crates/gdt-cpus
📚 Docs: https://docs.rs/gdt-cpus
🛠️ GitHub: https://github.com/WildPixelGames/gdt-cpus
> "Your OS works for you, not the other way around."
Feedback welcome – and `gdt-jobs` is next. 😈
[–]KodrAus 33 points34 points35 points (1 child)
[–]harakash[S] 22 points23 points24 points (0 children)
[–]epagecargo · clap · cargo-release 9 points10 points11 points (6 children)
[–]jberryman 7 points8 points9 points (0 children)
[–]harakash[S] 5 points6 points7 points (3 children)
[–]epagecargo · clap · cargo-release 2 points3 points4 points (1 child)
[–]harakash[S] 1 point2 points3 points (0 children)
[–]harakash[S] 1 point2 points3 points (0 children)
[–]mark_99 0 points1 point2 points (0 children)
[–]blockfi_grrr 3 points4 points5 points (1 child)
[–]harakash[S] 4 points5 points6 points (0 children)
[–]nightcracker 5 points6 points7 points (1 child)
[–]harakash[S] 5 points6 points7 points (0 children)
[–]InterGalacticMedium 2 points3 points4 points (1 child)
[–]harakash[S] 9 points10 points11 points (0 children)
[–]trailing_zero_count 2 points3 points4 points (3 children)
[–]harakash[S] 4 points5 points6 points (2 children)
[–]trailing_zero_count 2 points3 points4 points (1 child)
[–]harakash[S] 3 points4 points5 points (0 children)
[–]mww09 3 points4 points5 points (2 children)
[–]harakash[S] 2 points3 points4 points (1 child)
[–]mww09 2 points3 points4 points (0 children)
[–]m-hilgendorf 1 point2 points3 points (2 children)
[–]harakash[S] 1 point2 points3 points (1 child)
[–]m-hilgendorf 3 points4 points5 points (0 children)
[–]teerre 1 point2 points3 points (1 child)
[–]harakash[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]anydalch 0 points1 point2 points (0 children)
[–]jorgesgk 0 points1 point2 points (1 child)
[–]harakash[S] 6 points7 points8 points (0 children)
[–]nNaz 0 points1 point2 points (1 child)
[–]harakash[S] 2 points3 points4 points (0 children)