Thread with 14 posts

jump to expanded post

it's a language for beam (the erlang vm), that's probably where the name comes from. syntax is clearly heavily inspired by rust and, like rust, it has algebraic data types and pattern matching. unlike rust it hasโ€ฆ a continuation-passing operator??? wow (it's called use)

Open thread at this post

what the hell, the gleam โ€œcheatsheetsโ€ claim gleam does not have โ€œlogicalโ€ && or ||, only โ€œbooleanโ€ && and ||. what does that mean? no short-circuiting? it seems like it short-circuits to me. also wait does this language not have bitwise operators??? why

Open thread at this post

anyway gleam seems pretty cute, and this word feels fitting? it's trying to be small-ish and โ€œfriendlyโ€. in its syntax, static typing and algebraic datatypes, it's like rust, but otherwise it feels like a simplified haskell: immutable data only, linked lists, no typeclasses

Open thread at this post

being statically-typed and targeting erlang's vm, beam, is an interesting choice. at first glance it seems appealing but i would be worried that this will cause problems once you're dealing with hot reloading and message passingโ€ฆ

Open thread at this post
samir, somewhat , @samir@functional.computer
(open profile)

@hikari Gorgeous. I wanted to write something like that for a little language for a build system. This seems far more thought-out than what I had in mind.

Honestly, if I were to pursue this project, I think I might try building it on top of Gleam and abandoning my own language. Seems far more practical and quite well-suited.

I wish it had a concept of pure functions, but otherwise, looks cracking.

Open remote post (opens in a new window)