Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Gleam is nothing like Erlang or Elixir (its copying of Rust is so slavish it even has a toml file driven build system) and Erlang and Elixir are not split (the only place where they even sorta are is rebar vs. mix).

I don't particularly want to gatekeep "Rust fans who just want to write lots of Rust" off OTP. Let them have Gleam. Maybe they'll figure out how to lifetime-annotate binaries?



Gleam and Rust are really not alike at all aside from the most superficial ways. A couple bits of syntax, and the use of toml are about all I can come up with.


> Maybe they'll figure out how to lifetime-annotate binaries?

What do you mean by this, I know how lifetimes work in rust, but how would you do it on the binary level ?


Binary is Erlangese for Vec<u8>, hope that helps


There are no lifetimes in gleam though right ? or did i miss the memo.


No lifetimes, absolutely no plans to add anything similar. We’re nothing like rust!


maybe they can add them to guard against copying large binaries too much




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: