mrkaspa

mrkaspa

What would be a good programming language to speed up Elixir?

I’m not a C fan, I’ve checked Rust and rustler, what about ocaml? has anyone made a nif with ocaml?

Most Liked

OvermindDL1

OvermindDL1

I recommend Rustler. If you use OCaml you need to know the ‘tricks’ to not accidentally pass managed memory across the interface or so and deal with them when you do, that’s a lot to learn to do it right (though if you already know OCaml that well then I can teach the NIF bindings easily enough). Absolutely use Rust instead.

OvermindDL1

OvermindDL1

/me thinks golang is actually a pretty horrible and poorly designed language…

NobbZ

NobbZ

Its very hard to interact with Go natively (C-Port or NIF), many boilerplating that were done in C by a handfull of macros has to be done individually per go-package or targeted BEAM-module, just because there are no mechanics for abstracting it away.

This makes it unlikely to be a candidate to use it alongside erlang/elixir/lfe/alpaca/BEAM in my eyes.

Last Post!

OvermindDL1

OvermindDL1

Port communication is very fast because that’s what most programs use to communicate in one form or another, so it is extremely optimized in the linux kernel (in many cases it might not even cause a kernel context switch thanks to batching!).

Where Next?

Popular in Questions Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement