Menu

Post image 1
Post image 2
1 / 2
0

Benchmark: Rust 1.83 vs Go 1.24 for Cryptographic Operations with libsodium 1.0.19

DEV Community·ANKUSH CHOUDHARY JOHAL·about 1 month ago
#IxbZnr3f
Reading 0:00
15s threshold

When processing 1 million X25519 key exchanges per second, Rust 1.83 outperforms Go 1.24 by 22% using libsodium 1.0.19 – but the gap vanishes entirely for memory-constrained embedded crypto workloads. 🔴 Live Ecosystem Stats ⭐ rust-lang/rust — 112,435 stars, 14,851 forks ⭐ golang/go — 133,689 stars, 18,974 forks Data pulled live from GitHub and npm. 📡 Hacker News Top Stories Right Now Granite 4.1: IBM's 8B Model Matching 32B MoE (49 points) Where the goblins came from (696 points) Noctua releases official 3D CAD models for its cooling fans (284 points) Zed 1.0 (1889 points) The Zig project's rationale for their anti-AI contribution policy (329 points) Key Insights Rust 1.83 achieves 18.4 Gbps AES-256-GCM throughput vs Go 1.24’s 15.1 Gbps on 16-core AMD EPYC 9654 hardware Go 1.24 reduces libsodium memory overhead by 12% for small (128-byte) payloads compared to Rust 1.83 Ed25519 signing latency is 23% lower in Go 1.24 for 10k concurrent signing requests Rust’s zero-cost abstractions eliminate 8% of libsodium…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More