4 ms·
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
by juped 2y ago
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?
- tomtheelder 2y agoGleam 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.
- deleted 2y ago[deleted]
- worthless-trash 2y ago> 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 ?
- juped 2y agoBinary is Erlangese for Vec<u8>, hope that helps
- worthless-trash 2y agoThere are no lifetimes in gleam though right ? or did i miss the memo.
- juped 2y agomaybe they can add them to guard against copying large binaries too much
- hayleighdotdev 2y agoNo lifetimes, absolutely no plans to add anything similar. We’re nothing like rust!