- 43
- 140 272
Louis Pilfold
เข้าร่วมเมื่อ 25 พ.ย. 2013
I invented the Gleam programming language. Let's do some hacking in Gleam. :)
Gleam: Past, Present, Future! • Louis Pilfold @ FOSDEM 2024
Gleam: Past, Present, Future! • Louis Pilfold @ FOSDEM 2024
มุมมอง: 25 012
Hell is real, billions burning as you read, you broke the laws of God, but Jesus paid the fine, so repent of all your sins and follow Jesus Christ to be saved from eternal torment. ...
lol
Party on, Louis.
Party on dude
First comment! That is a great shirt!
I have been looking for dragonfly's alternative nowdays . 😊
noooooo no cat... uninstalling this browser entirely then
hey, may i know whats your color scheme called in neovim?
Pretty certain he uses Catpuccin.
Its named DuskFox
brother, doesn't know much about how it works, but I am looking forward to learn Gleam the language as a great tool for the future I have some of my ideas that I would like to have in any programming language is math or latex like syntax like julia has , directly present into the inline code and shorten the function. Derivatives or integrations and more, it would be a great resource later for ai ml and 3d work .
Hey Louis, great video and great work on Gleam, I love it so far. This video kind of inspired me to an idea, but I don’t know if it is feasible with Gleam. I want to create a specific cli in gleam that interacts with the console, similar to some stuff in the video, and publish the compiled artifact as npm package. Are there any optimizations or instructions on this process?
Hi guys, Wisp and Lustre are web frameworks, why it should not use one of those?
Why should what not use one of those?
Eating or drinking 25 seconds into a video is a sure tell sign of something that is probably deemed as geekiness by oneself.
is this a disco elysium mentioned moment?
every moment is
Just gotten to gleam dev and I ABSOLUTE LOVE THE LANGUAGE, thank you for creating it! <3
@@luciusdusk2901 🥰
30:19 Cat spotted!
why the aggressive political statements on the website? it won't stop me from using the language but it's going to push a lot of potential users away. i could understand in a discord server or something but it's too much on the front page of the website. i'm not against any of that but it just seems unnecessary and provocative.
@@front-crook that’s the point
may i ask why it compiles to javascript? it seems like something that wouldn't be very straightforward and wasm is an option. also, does this limit the language? as far as i understand, you would have to build the language around javascript compatibility. i don't know anything though which is why i'm asking.
It does not limit the language at all and compared to wasm it's very straightforward to target.
how mature is the tooling for compiling to typescript type definitions? would love to ditch typescript pleaseee, don't want to use reasonML
@@wcdcio The Gleam compiler outputs accurate TS type definitions if you ask it to.
This is basically F# from all I can see, plus built-in actors and Erlang tools. Too bad Microsoft doesn't value it nearly as much as C# to hire more devs and improve its tooling.
It's an ML language so it's like F# at the core, but there's quite a lot different from F# overall.
Amazing, thanks!
I love your streams, as a compiler hobbyist I love seeing you work
Thank you!!!
Great talk
Thank you
❤
Regarding the discrepancies between the different fetch_adds around 1:10:00, only the fetch_add itself needs to be atomic. Adjusting the result of the wrapping function is fine since its working on a local copy and doesn't need to be atomic. So something like `fetch_add(x, n) - n` would be a fine impl for the erlang side.
The problem I was having was that you need to implement bounds checking on top of this, just substracting isn't enough
This is amazing, thanks! It was me looking for atomics in gleam/BEAM ..Missed the stream, I'm in Argentina..way too early for me
I'll publish the package soon, and I'll do some UK evening streams for you!
@@lpil great, helps me a lot to see how things are done..
Opening this stream I thought I was going to look at livecoding the project on Gleam, but instead I'm listening about camping and how wonderful London is. Well, that's fine with me :) I love it)
"No nazi bullsh*it" on the website. Yikes. Codified language for, "if you disagree with my progressive views, you're a nazi". Shame. It's a great language syntax. I removed my github star. I like the language, but I don't want to endorse communists and wokeness.
lol
Inhabe the same problem with the booleans! Even in real life. I don't have problems remembering 3 or 10 different variants, but when there are only two? My god
I never thought I would be interested in Gleam or any FP language at all being Java dev myself but here i am
Welcome!
Hi, what are the resources to go from 0 to 100 in Gleam. My main focus is building backend systems, never did anything other than dart and go. Best regards.
The tour is the best place to start! tour.gleam.run/
Absolutely love watching the language creator use the language and learn about it in the process! I have just started exploring Gleam as someone who loves functional style and OCaml and is looking for a practical language with a really cool standard library, gleam is incredibly exciting. Keep up the amazing work I am excited to keep learning more gleam and catch you on a stream soon!
Thank you!!
How can I be as good as you …
Practice every day and have fun!
@@lpil thank you for the response 🫡
what's this puck project about?
It's an app for organising a birthday party
Hey! I'm very happy that Gleam has passed 0.x and is gaining popularity! When I write Rust, I miss what I had in Elixir (mostly for BEAM), and with Elixir, I miss what I had in Rust (mostly for its type system). For me, Gleam is a new hope here, aiming for the best of both worlds. I believe first-class Rust support could be a huge advantage for Gleam. While I understand the challenges, especially with BEAM's scheduler, I think it's worth pursuing. I'd love to contribute, but I'm not sure if I'm skilled enough for such a task. I would love to give it a try though!
These are pure gold ❤
I was wondering, where can we see the final code you write in these lives? Any repo you upload them to?
v1.3.0. eh ?
Something that I really don’t understand: why is it that developers don’t like to type? :). I have arthritis and still I would rather type more than having some magic that makes me stop to figure out what is going on or having to look at the implementation. The original version is way better for me, it makes sense when I read the code. The second is too magical for my taste, sorry :(
Not sure what you mean, sorry. The old version requires less typing than the new version.
heyy can i ask what theme you're using for nvim?
Duskfox!
hey can i ask what theme you're using for nvim?
Duskfox!
@@lpil thank you!
Nice! some time ago i asked Giacomo about this because it really "triggered" me the decoding of json in gleam (although i know that is not simple to do that without reflections or macros). If this works out and comes out on the std library it will be HUGE for me and for everyone, it really simplifies boilerplate for that json handling
No idea how i got here or what this is, but hope youre doin great man
Thanks pal!
You've probably noticed by now but cake has gleam_pgo and sqlight as dev-dependencies only
keep up the good work Louis!
Thank you! Your encouragement means a lot to me 💜
Creating a gleamy language with all the modern tooling is an incredible undertaking. Great job!
Thank you!!
About the simple encoder/decoder thing, I don't know if typeclasses/traits/... are planned, but roc has them (called abilities there). They use it to create encoders and decoders. Look at the builtins Decoder and Encoder It is not possible to do without typeclasses though, and I don't know if adding them just for this usecase is worth it. (It might be worth it for other reasons though, idk)
Roc is cool! Here’s some info on type classes: gleam.run/frequently-asked-questions/#will-gleam-have-type-classes
do you thing you can share your vim config with us?
Thank you!!!! It's stock lazyvim! I want to make a custom one in future though.
1:53:38 I meant not only hints, but also full scanning of the project, loading missing modules at the click of a button, like in jetbraibs, etc. will this eventually be in the language server?
We already scan the whole project. I'm not sure what adding a missing module means, but pretty much anything you can think of we would like in the LS.
@@lpilI believe they might be referring to the functionality in jet-brains where: if you don’t have a module installed that’s referenced in your project it will pop up a window and you can click to install it to the project.
@@PuddinPop1945 On the nightly branch autocompletion will add modules for you. No confirmation popups though
Glamping is just like camping but in Gleam
How do I install gleam?
Here you go: gleam.run/getting-started/installing/