News for hackers. Stuff that matters.
Re:Elixir v1.20 released: now a gradually typed language by 7bit on Wednesday June 03, 2026 @03:49PM (#48389000)
Found elixir intriguing and so Phoenix.

Two reasons I put it aside again are:

You need Beam and the Elixir. I find that really weird, because I'm used to just the language like in Python, Java, C, Rust. Not something underneath it, too.

There is no debugger. The way to debug Elixir is to print stuff to the console, like 40 years ago. No thanks.

Re:Elixir v1.20 released: now a gradually typed language by victorbjorklund on Wednesday June 03, 2026 @03:54PM (#48389073)
That is just wrong.

> You need Beam and the Elixir. I find that really weird, because I'm used to just the language like in Python, Java, C, Rust. Not something underneath it, too

The beam is a VM. You get that Java requires a VM too right? It’s called JVM for a reason. And Python requires an interpreter.

> There is no debugger. The way to debug Elixir is to print stuff to the console, like 40 years ago.

That is false. https://www.erlang.org/doc/apps/debugger/debugger_chapter.ht... and you have observer. And you have a lot of other debugging tools. I hear Java has a good one and maybe it’s better (I never used it) but it’s not true there exist no debuggers for the beam.

Re:Elixir v1.20 released: now a gradually typed language by Spixel_ on Wednesday June 03, 2026 @04:05PM (#48389236)
Almost nobody uses it though, which is too bad, especially since multi-head functions sometimes make it difficult to follow the execution path.

I'd like to do step by step but I cannot plug the debugger to VScode from inside a docker container.

Re:Elixir v1.20 released: now a gradually typed language by seanclayton on Wednesday June 03, 2026 @04:47PM (#48389807)
No one I know wears the shoes I like to wear, which is too bad, because that means I can't enjoy them as much now.
Re:Elixir v1.20 released: now a gradually typed language by Spixel_ on Wednesday June 03, 2026 @05:39PM (#48390500)
I meant that it doesn't get much love from the community, it's pretty clear it's not used much, that's why things like `dbg` gets added to the language.
Re:Elixir v1.20 released: now a gradually typed language by cmoski on Wednesday June 03, 2026 @04:49PM (#48389833)
People use it.
Re:Elixir v1.20 released: now a gradually typed language by Spixel_ on Wednesday June 03, 2026 @05:41PM (#48390522)
Some do, but the DX was bad last time I tried, I did not find a way to use it with my setup.
Re:Elixir v1.20 released: now a gradually typed language by ch4s3 on Wednesday June 03, 2026 @05:05PM (#48390033)
I've used it, but I've very rarely needed to do so.
Re:Elixir v1.20 released: now a gradually typed language by lionkor on Wednesday June 03, 2026 @03:50PM (#48389018)
Java has the JVM the same way that Elixir has Beam/OTP/...
Re:Elixir v1.20 released: now a gradually typed language by hackyhacky on Wednesday June 03, 2026 @03:53PM (#48389060)
And CPython runs Python bytecode, which is basically running in a Python virtual machine.

I am not sure what GP is objecting to.

Re:Elixir v1.20 released: now a gradually typed language by rfgplk on Wednesday June 03, 2026 @06:08PM (#48390804)
> I am not sure what GP is objecting to.

Elixir always felt like it would be a solid functional systems programming language, so not having a compiled backend is a genuine downside.

Re:Elixir v1.20 released: now a gradually typed language by 7bit on Wednesday June 03, 2026 @03:57PM (#48389114)
Read again...

Here's what you need to do for elixir:

Download and run the Erlang installer Download and run the Elixir installer

Here for Java: Download and run the Java SDK

And for Python: Download and run the Python installer

Re:Elixir v1.20 released: now a gradually typed language by sokols on Wednesday June 03, 2026 @04:15PM (#48389363)
To use Python/Java you have to download and install an OS. (Though some versions might run on bare metal)
Re:Elixir v1.20 released: now a gradually typed language by dematz on Wednesday June 03, 2026 @04:11PM (#48389318)
Is your issue something with the runtime itself, or just the difficulty of installing it?
Re:Elixir v1.20 released: now a gradually typed language by WolfeReader on Wednesday June 03, 2026 @04:15PM (#48389364)
I think the issue is "I have to install two things instead of one thing" which is a pretty weird way to judge a programming language.

I guess we know how he feels about TypeScript.

Re:Elixir v1.20 released: now a gradually typed language by WolfeReader on Wednesday June 03, 2026 @04:09PM (#48389296)
Here's what you need for Java:

Download SDKMan/Jenv

Install the version(s) of Java you need for your projects

Make sure your JAVA_HOME environment variable is set

Ensure your IDEs locate the correct Java home

Compared to all that, Elixir's two installers are trivial.

And if you have a competent package manager, you can just tell it to get Elixir and it'll handle Erlang for free.

Re:Elixir v1.20 released: now a gradually typed language by vips7L on Wednesday June 03, 2026 @05:10PM (#48390119)
No you don't. The process is exactly the same for Java.
Re:Elixir v1.20 released: now a gradually typed language by WolfeReader on Wednesday June 03, 2026 @05:24PM (#48390297)
Nah, I work on a team that has multiple microservices written over the years in different versions of Java. "Just click the installer" is not sufficient. That's why programs like jenv, SDKman, nvm, and others even exist (and are popular). Your lack of real-world experience is showing.
Re:Elixir v1.20 released: now a gradually typed language by vips7L on Wednesday June 03, 2026 @05:46PM (#48390578)
LOL LaCk oF eXpErIeNcE. Bro all you have to do is open intellij and it will prompt you to install the correct version of Java.
Re:Elixir v1.20 released: now a gradually typed language by WolfeReader on Wednesday June 03, 2026 @05:48PM (#48390611)
Don't tell OP this - he doesn't want to install multiple things. You'll scare him away from Java.
Re:Elixir v1.20 released: now a gradually typed language by 7bit on Thursday June 04, 2026 @08:45AM (#48397871)
Java is ugly anyway
Re:Elixir v1.20 released: now a gradually typed language by sbuttgereit on Wednesday June 03, 2026 @04:20PM (#48389427)
If you're going to try and use this analogy, you need to compare Elixir to Kotlin or Scala or Clojure rather than Java. Elixir is a language written for the BEAM which was created for Erlang. The BEAM happened to be useful VM for these other languages such as Elixir, Gleam, LFE, & Luerl.
Re:Elixir v1.20 released: now a gradually typed language by 7bit on Wednesday June 03, 2026 @04:28PM (#48389537)
No, I don't. I'm not writing gleam etc for the same reasons.
Re:Elixir v1.20 released: now a gradually typed language by dematz on Wednesday June 03, 2026 @04:50PM (#48389851)
If you don't want to then fair enough :) that said if your problem is just installation, some of the gleam people realized it can be tricky and made a nice guide for various operating systems and package managers: https://gleam.run/install/

Note this includes installing erlang as well

While it is multiple steps, the frustration is a much more one time thing compared to the problems and frustrations you'd have using a language or its ecosystem for a long time or big project

Re:Elixir v1.20 released: now a gradually typed language by freedomben on Wednesday June 03, 2026 @04:23PM (#48389457)
For Java you need a JRE and JDK depending on whether you're just running or also building. That they are bundled (for Windows) is slightly convenient, but they're not bundled on Linux so what you're saying is OS dependent
Re:Elixir v1.20 released: now a gradually typed language by burnt-resistor on Wednesday June 03, 2026 @05:38PM (#48390489)
JRE or JDK, not "and". The JDK is a superset of the JRE.
Re:Elixir v1.20 released: now a gradually typed language by freedomben on Wednesday June 03, 2026 @09:12PM (#48392452)
Thank you, appreciate the correction
Re:Elixir v1.20 released: now a gradually typed language by flexagoon on Thursday June 04, 2026 @07:53AM (#48397362)
> Download and run the Erlang installer Download and run the Elixir installer

No, you just install the elixir package from a package manager. Windows not including a proper one by default is not a fault of the language.

Re:Elixir v1.20 released: now a gradually typed language by wkrp on Wednesday June 03, 2026 @04:03PM (#48389203)
To be fair, there is more than just print debugging. You have access to tools like red(x)bug https://github.com/nietaki/rexbug, the Elixir-LS project has Debug Adapter Protocol support. And in my opinion, the REPL (and decent software architecture) makes it easy to investigate your code by just running the functions as needed (even if your live production system if you want).
Re:Elixir v1.20 released: now a gradually typed language by hmmokidk on Wednesday June 03, 2026 @04:02PM (#48389194)
I genuinely needed that laugh. Thank you
Re:Elixir v1.20 released: now a gradually typed language by 7bit on Wednesday June 03, 2026 @04:29PM (#48389547)
You make me laugh as well, all is good.
Re:Elixir v1.20 released: now a gradually typed language by freedomben on Wednesday June 03, 2026 @04:21PM (#48389432)
If you're used to Java, Elixir is like `javac`, Beam is like `java`. Mix is like a (way better) version of Gradle. You need elixir to compile your app, you only need the Beam to run it. Once you've built your project, you don't need Elixir anymore exactly like java/javac. C and rust compile to machine code so don't have a runtime dep, but otherwise they still require you to have a compiler at build time, just like elixir.
Re:Elixir v1.20 released: now a gradually typed language by lkuty on Thursday June 04, 2026 @01:53AM (#48394557)
But then you have all the Erlang libraries for free which is huge. And you add to them the Elixir libraries and that gives you a lot of stuff, just like you get with languages with rich libraries e.g. Java, Ruby, ... I find it reassuring.