Top
Best
New

Posted by bbg2401 7 hours ago

Elixir-lang.org has a new design(elixir-lang.org)
149 points | 95 comments
hybridcivic182 5 hours ago|
José Valim & team have made such an incredible language and ecosystem. thank you for all the faithful work, especially the run up to 1.20 over this past year
loloquwowndueo 5 hours ago||
There’s no obvious way to switch to normal (aka “light”) mode. Dark mode is very difficult for some people (me included) to read.

If you must default to dark mode that’s your choice but I’d love to see a light mode toggle somewhere prominent.

eddd-ddde 3 hours ago||
Ideally websites just respect the existing media queries so you don't even have to switch!
sheept 16 minutes ago||
Designs can't be easily split into a pure light or dark mode, though. Before light/dark modes were popularized, it was common to have some parts be "dark" and other parts be "light," depending on the design (for example, would the iOS 5 game center be "dark mode"?). Elixir's website uses a mix of light and dark to delineate sections.

One consequence of software recently supporting light and dark schemes is that UI designs end up committing to all white or all dark, rather than tastefully choosing a color scheme that best frames its content in context.

madibo3156 5 hours ago||
Yeah. You'll notice that there's a mix of light and dark. Some segments are light-on-dark, then it switches to dark-on-light. It appears to me like a "design trend" that's at odds with accessibility. https://www.apple.com does this too.
sheept 14 minutes ago|||
Why would it be at odds with accessibility? The text contrast is excellent in each section, and the light/dark segments clearly define the border between sections. Forced dark mode can be difficult to read for users with astigmatism, but the font size is large, and the actual documentation sites[0] do have a light/dark switch.

[0]: https://elixir.hexdocs.pm/1.20.2/

moomoo11 1 hour ago|||
i along with 99% of people don’t mind it
recursivegirth 1 hour ago|||
This, plus there is research that suggests dark mode does not help with retention of information.[1] I have started to slowly transition back to light mode for most of my work applications. (Email, Coding, etc.)

Dark mode feels correct, but it is hostile. Now blue light on the other hand... you should get filters for your monitor/glasses.

[1] https://www.nngroup.com/articles/dark-mode/

loloquwowndueo 1 hour ago|||
99% of people? Citation needed.
jolux 3 hours ago||
Love the new site!

Minor typo in the Erlang card:

“Elixir also excels at IoT, distributed systems, and everything the Erlang is renowned for”

should probably be “everything the Erlang VM is known for” or “everything Erlang is known for.”

josevalim 3 hours ago|
Boom! Fixed, thanks!
999900000999 5 hours ago||
Elixir is such an elegant language.

I'm hoping to find a reason to use it soon.

andruby 3 hours ago||
Reading the Erlang ProgProgrammers book by Joe Armstrong made me a better Ruby programmer as it changed my perspective on functional programming and abstractions.

I first reached for Elixir when Ruby couldn't handle large amounts of websocket messages. It really shines in high-concurrency contexts. I also love Phoenix LiveView and have a couple of side-projects running on it.

CyberDildonics 59 minutes ago|||
I'm hoping to find a reason to use it soon.

Do you have a program that doesn't need to run fast?

dnautics 4 hours ago|||
its been fun building a multiagent personal assistant.

(wip, no guarantees, this is the engine i use)

https://github.com/ityonemo/ce_ce

pluralmonad 5 hours ago|||
Such a delight to use and the core team seems to always make the right decision.
shevy-java 2 hours ago||
I think most will agree that it improved on Erlang.

For me as a long-term ruby user, though, elixir is not quite as elegant as it could or should have been. Even simple things such as "defmodule Xyz do" feels weird to me.

mattmatters 31 minutes ago||
Thanks crew, looks great.

Love how dedicated you all are to providing clear entrypoints and being thoughtful around documentation!

SoftTalker 2 hours ago||
I don't really have large monitors by today's standards, and the site looks nice enough but fully half of what I'm looking at is blank space. I don't remember what the old site looked like so don't know if that's really a change.
sph 5 hours ago||
No mention of AI and LLM in the front page. Life is good.
phoghed 3 hours ago||
Thankfully you were here to make sure we didn’t forget about it for even one post
eikenberry 4 hours ago|||
They have a Machine Learning section on the front page. Just have to scroll down a bit, under the "Use Elixir for" section.
nozzlegear 4 hours ago||
I don't think Machine Learning falls under what most people consider "AI" and "LLM" these days, even if they're technically intertwined.
sheept 11 minutes ago|||
Machine learning used to be used as a buzzword alongside AI, though nowadays after the release of ChatGPT it seems they've settled on AI.
Jtsummers 3 hours ago|||
How is LLM (a particular area of machine learning) not machine learning? Have people already forgotten the basis for LLMs?
dasil003 3 hours ago|||
The majority of people who use LLMs today never even heard of ML though a non-trivial percentage have heard that modern AI is powered by LLM. You can’t forget what you never knew. Such is the evolution of language when a formerly niche technical concept crosses the chasm to mass awareness.
cygx 3 hours ago|||
I'd argue there's a qualitative difference between using machine learning for specific data analysis tasks, and using a generic agentic AI system controlled by some corporate entity. The association of the term 'AI' with the latter is increasing.
Jtsummers 3 hours ago||
Yes, but nozzlegear claims that even technically "intertwined" (presumably they mean "inclined") people don't know the connection between LLMs and the broader ML work that encompasses it. That's a pretty big claim, and would be rather shocking if true. ML and deep learning were heavily invested in and discussed through the 2010s (and earlier, but the hardware developments at the end of the 2000s enabled the ML boom of the 2010s), is our industry really so memory constrained (I know there's a shortage now, but still) that people don't know the connection between machine learning and LLMs?
nozzlegear 2 hours ago||
> but nozzlegear claims that even technically "intertwined" (presumably they mean "inclined") people

Sorry, I meant the subjects (LLMs, ML, AI) are intertwined, not the people. But what I was getting at with my comment is that (IMO) most people see them as distinct things, even on HN where most know that LLMs use ML. As an analogy, it's like physics versus mathematics: separate subjects in most everyone's mind, and even separate academic departments, but physics is still math.

Onavo 5 hours ago||
But I bet the landing page was made with AI assistance.
sph 4 hours ago|||
It was not: https://news.ycombinator.com/item?id=48959936
vopi 3 hours ago||
>I also worked on all of the copy myself, collecting feedback from core maintainers as I went. The new tagline was a suggestion from Theo which we iterated on. I did use LLMs as an assistant, but I did not ask it to generate the content.

>Might as well use LLMs for the whole thing next time, since we will be accused of doing so anyway! :D

reliablereason 5 hours ago||||
It certainly looks like a Claude design to some extent; not all they way however.
bbg2401 5 hours ago|||
It feels less sloppy than most obviously AI generated landing pages.

The only sloppy aspects that stand out to me are the needless animations/transitions.

khurs 33 minutes ago||
Didn't see the old one, so don't know whats changed.

But it's blazing fast which is good to see.

grahac 6 hours ago||
This is great! Now waiting for the forum UI update too! :)

Hoping Elixir continues to thrive. It is such a great language (and such a great language for AI coding too!)

Stromgren 5 hours ago|
In fact it came out as the absolute best in a comparison by Tencent (1). See table 4. It’s more than a year old though.

1. https://arxiv.org/pdf/2508.09101

alberth 6 hours ago|
Elixir is great.

OT: I wish more funding & development effort went into BEAM itself on making it more performant.

Note: I’m not talking concurrency. I’m talking pure raw performance.

Seems like it’s been a one person show for over a decade on making it faster.

josevalim 5 hours ago||
There are multiple people working on the JIT within the last 5-6 years. The WhatsApp folks also contribute meaningfully.

I suspect once the Erlang/OTP team squeezes all performance in the JIT, they will look into optimizing across modules, which will probably open up many new possibilities, but it requires rethinking some runtime primitives.

ashton314 2 hours ago|||
A few years ago, I was working on an interpreter implemented in elixir for a domain specific language. It was a pretty basic metacircular interpreter. It relied heavily on function signature dispatch. When I tried breaking up the massive “interpret” function across modules, performance tanked. I got it all back by using some macro shenanigans, but understandably the team did not like this.

Knowing what I know now, I would’ve tried to push for a threaded interpreter to get rid of the runtime overhead of dispatching altogether. I don’t know if they’ve changed the architecture of that module much since I left :-)

alberth 4 hours ago|||
Hi Jose

You’re an inspiration for many. Thank you.

I’m curious to know what your top 3 hopes for BEAM itself are for the coming years (in any area that you think would make it better).

josevalim 4 hours ago||
Thanks for the kind words and the nice question!

1. The cross module optimizations I mentioned above 2. Have a WASM target for the runtime itself 3. Make it easier to ship single file executables with the whole VM

But they are really “nice-to-have”s. I have been a happy user for 15+ years!

ch4s3 6 hours ago||
It’s pretty hard to make things like math faster for real world use cases in a bytecode interpreter.
dmpk2k 6 hours ago|||
It's a JIT nowadays. Admittedly an extremely simple one, to minimize compile times and maintenance overhead.

You can get substantial performance improvements by using guards though. See what Wings3D does with is_float() everywhere in hot numeric-heavy code.

dnautics 4 hours ago||||
i ran a quick experiment where instead of doing boxing the way its done in the beam currently, i used a different boxing (NaN strategy and there was a 10x speedup
ch4s3 12 minutes ago||
Is that translates to real workloads you should open a pr.
jimbokun 6 hours ago|||
Java and Javascript run times do really well at that.
More comments...