Skysoft13

Skysoft13

I am try to learning elixir since 5 month, and I had a project in golang for mobile back-end for blockchain app, it had amazing performance, I am just curious about performance of elixir for blockchain apps, any idea?

Showing Posts 1 to 7

victorbjorklund

victorbjorklund

Probably helps if you expand a bit what the blockchain app is (which helps understand where bottlenecks are). Its a very broad category from exchanges (where every ms matters) to web3 nft apps etc.

Skysoft13

Skysoft13 OP

any kind of blockchain apps I mean.

mindok

mindok

As @victorbjorklund says, it depends on what you are after. Elixir performance characteristics are pretty well documented in these forums. Examples include:

Elixir language potential evaluation (comparison with go)

Elixir is not great at heavy duty number-crunching (although, depending on what you are doing, Elixir-Nx is addressing that).

However, for things like web-apps, the templating system and process model make for very efficient, performant web-apps that stay predictably responsive under load - e.g. no “stop-the-world” garbage collection.

“Blockchain apps” is a very broad set of possible applications with wildly different performance requirements so I don’t think you’re going to get a better answer without being more specific.

kokolegorille

kokolegorille

This book might interest You…

Skysoft13

Skysoft13 OP

@victorbjorklund @mindok @kokolegorille if you have app like dropbox and u keep data like images, videos, pdf…etc in blockchain, elixir or golang which one will be best for back-end services?

dimitarvp

dimitarvp

Any workload that’s I/O bound makes the used programming language almost irrelevant. Simply because I/O is the CPU waiting on periphery e.g. network and file operations.

Does it really matter if your processing code finishes in 5 or 5000 microseconds if the I/O operation inside the same function takes 250_000 microseconds? No, it doesn’t.

So your evaluation of the used programming language for this task should ask other questions like: do you need strong static typing so you can predict all errors in advance (Rust, Haskell, OCaml / F#), do you just want to work with something familiar (for many that’s Python or JavaScript), do you need a language with excellent error-handling runtime (Erlang/Elixir), how good is the community library coverage of the thing you want to do (for most people that is the ultimate deciding factor btw), and maybe others.

Only you can answer those questions. But generally, if a lot of I/O is involved, most languages are adequate, Elixir included.

vlmoon99

vlmoon99

Seeking thoughts on smart contracts on Elixir and Orb - I created a low-level representation of a smart contract in Elixir using Orb (for WASM compilation). Its speed and size are comparable to Rust, C, and Go implementations.
If you’re interested, please participate in the poll on GitHub.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apz
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews