DevotionGeo

DevotionGeo

Isn't Erlang(/Elixir) a better language for writing things like Dapr?

Most Liked

dwaynebradley

dwaynebradley

One of the things that Dapr gives you is the ability to not be tied to a certain service while building your app. Items like the pub/sub provider, key/value store, etc. are all “pluggable” with configuration so you app doesn’t need what is being used under the covers. Development could theoretically use MQTT for pub/sub and etcd for key/value but in production, these could be different.

There are also several language bindings for Dapr as well so each app or service you build, can be built with best language for its purpose. I would like to see an Elixir binding for Dapr though! :sunglasses:

@OvermindDL1 I’m pretty sure that Go is the “language of choice” for Dapr as that is what was used for building the core components.

OvermindDL1

OvermindDL1

It looks like Dapr is less a coding methodology of microservices like the erlang vm is, and more of just run snippets of things with glue between. I’d opt for Elixir over that for sure but it looks like it is JS centric so if you are already coding with JS then it’s easier to jump in. Looks like it can work either other languages but that is more via network pipes with them, which is a lot more hassle when you need speed like a NIF can do on the erlang VM or so. Dapr probably plugs into existing ecosystems better like the common cloud providers though.

Where Next?

Popular Backend topics Top

wolf4earth
Serverless has been quite a prevalent topic in our industry in the past few years, and while there are a lot of sceptics, I think it’s sa...
New
New
DevotionGeo
Some time ago I read somewhere that Rocket will work with stable versions of Rust. The previous version’s changelog says, “Core: Removed...
New
bot
Announcing the Error Handling Project Group | Inside Rust Blog. Want to follow along with Rust development? Curious how you might get in...
New
New
AstonJ
Consider this Erlang code: Rectangle = {rectangle, 20, 10}. {rectangle, Width, Height} = Rectangle. > Width. 20 > Height. 10 When...
New
First poster: bot
What's so exciting about Postgres? with Craig Kerstiens (The Changelog #417). PostgreSQL aficionado Craig Kerstiens joins Jerod to talk ...
New
AstonJ
Just discovered Fika - looks pretty neat! fn sum(a: Int, b: Int) : Float do a + b end I quite like the syntax, though would probably ...
New
Cellane
I’ve been asked by my supervisors at work to finally give everyone in the team presentation about “that Elixir thing you can’t seem to sh...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New

Other popular topics Top

PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New