ex_vec VS Rustler

Compare ex_vec vs Rustler and see what are their differences.

ex_vec

re-creating rust's `vec!` macro in elixir (by hailelagi)

Rustler

Safe Rust bridge for creating Erlang NIF functions (by rusterlium)
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
ex_vec Rustler
1 37
0 4,433
- 0.9%
10.0 8.6
about 1 year ago 15 days ago
Elixir Rust
MIT License 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.

ex_vec

Posts with mentions or reviews of ex_vec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-17.
  • It's legos all the way down
    3 projects | dev.to | 17 Feb 2023
    You can find the full source for this example here, please let me know if you have a comment, found a bug or typo. Thanks for reading!

Rustler

Posts with mentions or reviews of Rustler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-09.
  • Pulumi W̶a̶s̶m̶/̶R̶u̶s̶t̶ Gestalt devlog #7
    4 projects | dev.to | 9 Feb 2025
    Currently, Pulumi Gestalt supports C and Wasm/Rust. Next week, I'll be working on native Rust support, which will also pave the way for other languages like Dart and Erlang.
  • Ask HN: What is the best way to learn Erlang?
    5 projects | news.ycombinator.com | 1 Oct 2024
    Yep, I think you'd be hard-pressed to find the actual Elixir code be the bottleneck in a real-life application. But if you do encounter that, you can use something like Rustler[0] for the CPU-intensive bottleneck, as Discord did[1] while working on a data structure they needed. Slow DB queries are something else to look out for.

    [0] https://github.com/rusterlium/rustler

    [1] https://github.com/discord/sorted_set_nif

  • AI Toolkit: Give a brain to your game's NPCs, a header-only C++ library
    2 projects | news.ycombinator.com | 9 Jan 2024
    For performance intensive tasks, you could rely on Rust NIFs, there is this great project: https://github.com/rusterlium/rustler

    My last project with Elixir was using Elixir merely as an orchestrator of static binaries (developed in golang) which were talking in JSON via stdin/stdout.

  • Building Apps with Tauri and Elixir
    14 projects | dev.to | 19 Oct 2023
    From the moment we discovered Tauri, we really felt like this was the perfect fit. The API is really solid, the configuration files are minimal and easy to understand, and the usage of Rust makes it way easier to add new functionalities and think about interesting ways of interoperating with Elixir via the Rustler library.
  • Async Rust Is A Bad Language
    11 projects | news.ycombinator.com | 8 Sep 2023
    Elixir/Rust is the new Python/C++, and Rustler makes the communicating between the 2 languages super easy: https://github.com/rusterlium/rustler
  • Why elixir over Golang
    10 projects | /r/elixir | 29 May 2023
    Rustler is so awesome for this. Write Elixir NIFs in Rust? Yes, please!
  • Is RUST a good choice for building web browsers?
    6 projects | /r/rust | 27 May 2023
  • Why do you enjoy systems programming languages?
    2 projects | /r/rust | 25 May 2023
    But really, I would suggest thinking about what you want to build before "how" or "with which tool" - one of the signs of a person becoming a good engineer is having an array of tools at their disposal and being able to choose a correct tool for the correct task. Rust also excels in integrating with other languages - with JS via WebAssembly (a bit of self-promotion, for example), with Elixir via Rustler, with Python via PyO3 and PyOxidizer, etc. So you absolutely can start writing a frontend app with JS, or a distributed system with Elixir, or a data processing/ML app with Python and use Rust to speed up critical parts of those. Or, in reverse, you can start with Rust & add new capabilities to whatever you're building, that being a frontend, a resilient chat interface, or an ML model.
  • PasswordRs 0.1.0 released (Rust NIF for password hashing)
    4 projects | /r/elixir | 24 Apr 2023
    I created a elixir (wrapper) library to generate password hashes. Other Elixir libraries use a C NIF to generate password hashes. This libary uses a Rust NIF (using Rustler) and the Rust libraries the generate the different hashes. Additionally this library uses RustlerPrecompiled so you don't need to have a Rust compiler installed to use this library. It supports argon2, scrypt, brypt and pbkdf2.
  • Elixir and Rust is a good mix
    10 projects | news.ycombinator.com | 13 Apr 2023

What are some alternatives?

When comparing ex_vec and Rustler you can also consider the following projects:

rspec-core - RSpec runner and formatters

gleam - ⭐️ A friendly language for building type-safe, scalable systems!

nifty - helpful tools for when I need to create an Elixir NIF .

crate-deps

hsnif - Tool that allows to write Erlang NIF libraries in Haskell

dplyr - dplyr: A grammar of data manipulation

duckdb-rs - Ergonomic bindings to duckdb for Rust

rst - The open source design documentation tool for everybody [Moved to: https://github.com/vitiral/artifact]

Akka - A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

elixir-nodejs - An Elixir API for calling Node.js functions

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured