crystal · elixir · elixiran · comics

Elixirian or Crystal vs Elixir showdown

Hello everyone.

Again I was experimenting with new language (Crystal) and I was learning it by doing puppet project - comics website (api, backend workers, frontend).

I’ve created Elixir Phoenix umbrella app where in apps folder I have 2 apps: api, scripts:

Elixir apps

and same with Crystal + Kemal:

Crystal apps

to say I’ve enjoyed doing the stuff - is nothing!

I’m very excited from process of doing same in both languages!

Source code of example app you can get from here - use it as boilerplate for your own beginnings.

Elixir version of this project I’ll keep private since I’ll keep on doing comics website for fun.

What I’ve learned from doing the stuff with both of languages.

First and foremost: Crystal and Elixir are not competitors. They built by developers who enjoy Ruby language

Look how beautiful it looks:

comixone handlers

But I’ve learned one thing!

How beautiful language can be it will not replace Elixir - while I was working many years with Elixir I cannot explain how I love this language, it’s style, it’s way of thinking functionally, thinking with BEAM VM stuff, GenServer-s, Agent-s and etc. It’s kinda different planet - where I’m meditating, I’m not thinking with OOP, I’m not thinking as C-like language syntax developer, I’m writing small functions which can be overloaded with “arities”,

Crystal is one shiny planet as Ruby for me, Elixir is another one.

But I’m more Elixirian and I decided to continue doing backend stuff with Elixir.


P.S. I’ll return periodically to Crystal - to make binaries (shell tools) which easy to support.


Talk soon!

fin