• 3 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: December 2nd, 2022

help-circle





  • Between Elixir and Erlang. Erlang is what’s used in telecom right? Is Elixir as well? Is Elixir like a new improved Erlang? I’ve heard so much about Elixir recently.

    You have piqued my interest, I’ve recently gotten back into programming (I do “devops” for work) and don’t really consider myself a programmer, but I find languages fascinating. I was lucky enough to join a study group on compiler design with an Apache project leader and while it was over my head, I learned a lot and enjoyed it.

    (I know I could look this up, but enjoying the conversation :)





  • The easiest way to think about it that is kinda right, and what got me into is “It’s like compiled Ruby and nearly as fast as C”.

    Crystal is a language with syntax modeled after Ruby, which is considered one of the most human friendly languages (it’s way easier to understand than C and most others). Ruby and Crystal are “object oriented”. Like if you wanted to know what I had for lunch using Crystal you’d ask me, an “object” last_meal = kool_newt.stomach_contents, as where in C, you’d cut me open and look.

    Where Ruby is a dynamically typed (it figures out whether things are Strings or Arrays, etc on the fly as needed, handy but very slow) scripting language, Crystal is statically typed, so you have to be conscious of types while you code. And where with ruby you end up with a script, Crystal code is compiled into a binary.

    Where Ruby is good for small/medium websites with a modest traffic, or for prototyping ideas in an easy language, or making smaller utilities, Crystal can handle massive traffic, and make fast production level apps and tools without the difficulty of C or Java.

    I’m using Crystal and Kemal (Kemal is akin to Ruby’s Sinatra) for web dev, and trying to make my own DNS utils (I want dnsip, not a fan of drill, dig, and other tools).

    If you know Ruby, Crystal is an easy jump.







  • Splitting us up is the goal, divide and conquer. It’s one thing to hate your queer neighbor, it’s so much worse when you can point to another geographic region of “queers coming to harm your children” that military force can be used against. The separation is for two reasons, one is to help hold on to senate power by getting blue voters out to make sure red states don’t turn blue or purple, the other I think is to prepare for war and make war more likely, separating the sides. Civil war is hard when everyone is mixed up.

    We’ve seen what "conservatives’ do when they have power, they literally owned other humans, chattel slavery. We’ve seen what the goals of the military industrial complex (arguably the most powerful industry), more war,everywhere. Giving these groups the benefit of the doubt is dumb and will lead to real bad things.