portable-simd VS rust-base64

Compare portable-simd vs rust-base64 and see what are their differences.

portable-simd

The testing ground for the future of portable SIMD in Rust (by rust-lang)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
portable-simd rust-base64
20 9
967 659
1.0% 1.5%
7.8 4.6
about 1 month ago about 1 month ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

portable-simd

Posts with mentions or reviews of portable-simd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-16.
  • Zlib-rs is faster than C
    10 projects | news.ycombinator.com | 16 Mar 2025
    Others have already addressed the "unsafe" smell.

    I think the bigger point here is that doing SIMD in Rust is still painful.

    There are efforts like portable-simd [1] to make this better, but in practice, many people are dropping down to low-level SIMD intrinsics and/or inline assembly, which are no better than their C equivalents.

    [1]: https://github.com/rust-lang/portable-simd

  • Rust-lang/portable-SIMD: The testing ground for the future of portable SIMD
    1 project | news.ycombinator.com | 19 Dec 2023
  • Let's thank who have helped us in the Rust Community together!
    9 projects | /r/rust | 28 May 2023
    Jubilee and Caleb Zulawski for their tireless work on the portable SIMD project. It will land, some day, and when it does it's going to be an amazing boon for the project.
  • Mutually aligned vectors?
    2 projects | /r/rust | 9 May 2023
    The portable SIMD project implements an as_simd() function for slices. The basics are that you get 3 slices and the middle one is a SIMD slice. It allows for fast aligned loads of the data, which could matter if your algorithm is becoming memory bound; it is also a convenient and safe abstraction. In my case, I actually have 2 vectors (say, x and y). I can take them apart using as_simd() like so:
  • Code review: deinterlacing a RGBA colour buffer with std::simd
    2 projects | /r/rust | 18 Jan 2023
  • Base64 Encoding Performance: Java vs Rust
    3 projects | /r/rust | 16 Oct 2022
    Rust has generics and monomorphization. You can write the algorithm once and compile for multiple targets. rust-lang/portable-simd
  • Zen4's AVX512 Teardown
    4 projects | news.ycombinator.com | 26 Sep 2022
    This Rust issue [0] was the best short summary of what an SIMD Shuffle is I could find:

    „A "shuffle", in SIMD terms, takes a SIMD vector (or possibly two vectors) and a pattern of source lane indexes (usually as an immediate), and then produces a new SIMD vector where the output is the source lane values in the pattern given.“

    [0] https://github.com/rust-lang/portable-simd/issues/11

  • possibility of blas natively in Rust
    8 projects | /r/rust | 27 Aug 2022
    Yet by default it generates code which is only compatible with Pentium4 or newer. In fact lots of serious issues relate to older CPUs and rustc developers plan is to declare them closed when they would be able to drop i686 support (all AMD CPUs which support SSE2 support x86-64, too while Intel situation is mess).
  • Best portable simd library for stable rust?
    2 projects | /r/rust | 17 Aug 2022
    The standard API crate for portable simd is at https://github.com/rust-lang/portable-simd, but using this requires nightly, which I don't want to do. I'd like to use a crate for simd that works on both x86_64 and wasm in stable rust. wide looks fine for this purpose. Are there any potentially better choices?
  • Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
    11 projects | /r/rust | 29 Jul 2022
    See: https://github.com/rust-lang/portable-simd

rust-base64

Posts with mentions or reviews of rust-base64. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-22.
  • Rust is not the language for you if you don't like traits
    1 project | news.ycombinator.com | 4 Oct 2023
  • Base64 Implementation in Rust
    1 project | /r/rust | 17 May 2023
    It would be interesting to compare your implementation and the most popular implementation for Rust+base64: https://github.com/marshallpierce/rust-base64
  • Rust-base64: restore {encode, decode} convenience functions
    1 project | news.ycombinator.com | 12 Jan 2023
  • Question in Rust about Base64 encoding for xmlrpc
    2 projects | /r/AskProgramming | 22 Mar 2022
    I am writing a CLI util in rust that utilizes xml-rpc-rs to talk to an rtorrent server and I would like to be able to add torrent files. OK according to the python implementation, which some of the rtorrent developers have said is good, of xmlrpc-client it uses this base64 format: https://datatracker.ietf.org/doc/html/rfc2045.html#section-6.8 I base64 encode /some/file/foo.torrent and send it up. OK!
  • Announcing uuid-simd, hex-simd and base64-simd!
    10 projects | /r/rust | 31 Dec 2021
    Funny that you claim base64 forbids unsafe code while linking a PR where the current maintainer of the crate explicitly agrees that unsafe for the purpose of SIMD-acceleration is a-okay. Did you by any chance meant to link https://github.com/marshallpierce/rust-base64/pull/114 instead? ;)
  • Fast Rust Builds
    5 projects | news.ycombinator.com | 5 Sep 2021
    > It does need to be in the standard library

    When I say that something “has to be in the standard library”, I mean that it can’t be implemented outside the standard library. That’s certainly not the case here. You’re using an outright bad definition of “need” here—subjective opinion rather than objective requirement.

    > because everyone needs it

    This is factually wildly wrong. I wrote a fair bit more here but decided it wasn’t helpful. Précis: web stuff tends to load it indirectly (though amusingly most of the time actually not use it, so that Base64 code won’t actually end up in your binary), but it’s not terribly common outside of internet stuff to reach for Base64.

    I’ll leave just one more remark about Base64: once things are in the standard library, breaking changes can no longer be made; the base64 crate is still experiencing breaking changes (<https://github.com/marshallpierce/rust-base64/blob/master/RE...>, 0.12 and 0.13 were last year and 0.20 is not released), largely for performance reasons.

    Please don’t just call the thin-std approach “problematic” without acknowledging that the alternative is at least as problematic, just with a different set of caveats.

  • Stable versions of most important community crates
    2 projects | /r/rust | 15 May 2021
    Many of these have their own tracking issues on the path to v1.0. For example see this one for base64.
  • Debian discusses vendoring again
    12 projects | /r/linux | 13 Jan 2021
    I see base64. If the standard library has base64 encoding, go ahead and use it. But as a third-party dependency? Again, base64 encoding and decoding is trivial. I've written this a few times myself. It's not worth a dependency.

What are some alternatives?

When comparing portable-simd and rust-base64 you can also consider the following projects:

config-rs - ⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications).

semver-trick - How to avoid complicated coordinated upgrades

swift-bridge - swift-bridge facilitates Rust and Swift interop.

getopt - POSIX getopt() as a portable header library

fast_image_resize - Rust library for fast image resizing with using of SIMD instructions.

ulid-rs - This is a Rust implementation of the ulid project

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Rust is
the 5th most popular programming language
based on number of references?