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

AstonJ
Currently a hot topic in the BEAM world, let’s start a thread for it (as suggested by @crowdhailer here) :smiley: What are your current...
New
New
First poster: bot
AbstractMachinesLab/caramel. :candy: An Erlang backend to the OCaml compiler. Contribute to AbstractMachinesLab/caramel development by c...
New
First poster: bot
https://twitter.com/briandfoy_perl/status/1354535622069919748 This thread was posted by one of our members via one of our news source tr...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
Exadra37
Finishing my app to take notes on Videos: I am aiming to put it online on my playground by this weekend. Edit: It’s up https://video...
New
jaeyson
Sorry for the very vague noob question, I really want to ask this: When do we use async or sync code in the context of Elixir? AFAIK gen...
New
lucasvegi
Hello guys! Perhaps some of you have already seen this invitation on other channels in the Elixir community or even responded to our surv...
New
KnowledgeIsPower
MongoDB, Cassandra, DynamoDB and etc. Also, do you use VM or container to run it?
New
jaeyson
Hey! Just a random thought though: Found an article from fudzilla where AI can be a good debugger. How does one integrate something like ...
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
PragmaticBookshelf
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New
pragdave
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
New