At a glance the type system is quite barebones and nominative.
I'd like to see Gleam add support for structural types and maybe set theoretic [1]
11 karma · joined November 7, 2023
I'd like to see Gleam add support for structural types and maybe set theoretic [1]
C# (LINQ) or F# (Query Expressions) come to mind. Sadly not much else.
I admit that STW GC pauses sicken me, so I avoid them on principle.
I want to add that "ownership" isn't new. When working with systems languages without a GC, ownership was always there, you just kept track of it mentally, rust may be the first to make you aware of it by enforcing it at the compiler level, essentially making you aware that you are doing something stupid.
Adopting rust's ownership model was truly "zero cost" coming from a C/C++ background as we were already doing it.