News for hackers. Stuff that matters.
Re:Gleam v1.9.0 Released by juped on Sunday March 09, 2025 @01:52PM (#43311734)
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?

Re:Gleam v1.9.0 Released by tomtheelder on Sunday March 09, 2025 @03:00PM (#43312433)
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.
Re:Gleam v1.9.0 Released by worthless-trash on Monday March 10, 2025 @12:26AM (#43317008)
> 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 ?

Re:Gleam v1.9.0 Released by juped on Monday March 10, 2025 @01:40AM (#43317312)
Binary is Erlangese for Vec<u8>, hope that helps
Re:Gleam v1.9.0 Released by worthless-trash on Monday March 10, 2025 @05:44AM (#43318576)
There are no lifetimes in gleam though right ? or did i miss the memo.
Re:Gleam v1.9.0 Released by hayleighdotdev on Monday March 10, 2025 @07:59AM (#43319595)
No lifetimes, absolutely no plans to add anything similar. We’re nothing like rust!
Re:Gleam v1.9.0 Released by juped on Monday March 10, 2025 @06:21AM (#43318834)
maybe they can add them to guard against copying large binaries too much