{"id":58311,"library":"packed-simd","title":"Packed SIMD","description":"Portable Packed SIMD vectors for Rust, enabling cross-platform SIMD operations.","status":"active","version":"0.3.9","language":"rust","source_language":null,"source_url":"https://github.com/rust-lang/packed_simd","tags":["simd","vectorization","performance","portable","nightly"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npacked_simd = \"0.3.9\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add packed_simd","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"f32x4","correct":"use packed_simd::f32x4;"}],"quickstart":{"code":"use packed_simd::f32x4;\n\nfn main() {\n    let a = f32x4::new(1.0, 2.0, 3.0, 4.0);\n    let b = f32x4::new(5.0, 6.0, 7.0, 8.0);\n    let c = a + b;\n    println!(\"{:?}\", c);\n}","lang":"rust","description":"Demonstrates creating and adding two SIMD vectors."},"warnings":[{"fix":"Use `#![feature(portable_simd)]` on nightly and compile with `-C target-feature=+sse2,+avx2` or similar.","message":"Requires nightly Rust and specific target features (e.g., SSE2, AVX2) enabled via RUSTFLAGS or target-cpu.","severity":"gotcha","affected_versions":">=0.3.0"}],"env_vars":null,"search_vec":"'cross':11 'cross-platform':10 'enabl':9 'night':19 'oper':14 'pack':1,4 'perform':17 'platform':12 'portabl':3,18 'rust':8 'simd':2,5,13,15 'vector':6,16","created_at":"2026-06-16T16:19:17.475931+00:00","updated_at":"2026-06-16T16:19:17.475931+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-lang/packed_simd","github":"https://github.com/rust-lang/packed_simd","docs":"https://docs.rs/packed_simd/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}