Gleam v1 HAS BEEN RELEASED

  Рет қаралды 151,858

ThePrimeTime

ThePrimeTime

2 ай бұрын

Recorded live on twitch, GET IN
/ theprimeagen
Become a backend engineer. Its my favorite site
boot.dev/?promo=PRIMEYT
This is also the best way to support me is to support yourself becoming a better backend engineer.
Article link: gleam.run/news/gleam-version-1/
By: Louis Pilfold | louispilfold?ref_...
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
Kinesis Advantage 360: bit.ly/Prime-Kinesis
Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
turso.tech/deeznuts

Пікірлер: 367
@ward7576
@ward7576 2 ай бұрын
Recruiters already rubbing their hands before writing "Mandatory 5 year experience with Gleam programming language"
@user-ez8ty5ii5r
@user-ez8ty5ii5r 2 ай бұрын
With 7 years total industry experience :D
@toTheMuh
@toTheMuh 2 ай бұрын
@@user-ez8ty5ii5r for junior salary :D
@stanrock8015
@stanrock8015 Ай бұрын
I’m shocked anyones wanting specific Gleam experience at this point
@jsonkody
@jsonkody 2 ай бұрын
Erlang: "Hey Gleam, what is best in life?" Gleam: "To crush the OOP enemies, see their architectures crumble before you, and to hear the lamentations of their developers!" Erlang: "Very good!"
@robismerto
@robismerto 2 ай бұрын
Beautiful
@unknownbird6165
@unknownbird6165 2 ай бұрын
Nice.
@Kane0123
@Kane0123 2 ай бұрын
C# gang still here…
@Microphunktv-jb3kj
@Microphunktv-jb3kj 2 ай бұрын
i also think todays languages need pkg repos and discovery by default alongside the t hings mentioned in 5:55
@noahpederson9816
@noahpederson9816 2 ай бұрын
What's funny is OOP is *supposed* to be an implementation of actor patter with message passing...
@replikvltyoutube3727
@replikvltyoutube3727 2 ай бұрын
Erlang mentioned
@tauiin
@tauiin 2 ай бұрын
billons must BEAM
@Mempler
@Mempler 2 ай бұрын
Err i dunno - lang
@coldestbeer
@coldestbeer 2 ай бұрын
The hard r too
@charmcli
@charmcli 2 ай бұрын
Thanks for the shoutout 💖 We also love being able to build open source command line tooling full time. We're stoked to see more people giving terminals some love :)
@renat0sp
@renat0sp 2 ай бұрын
charm = based
@ConverseMidas
@ConverseMidas 2 ай бұрын
one of the things I like most about Prime's videos is that he doesn't fall into the trap of "everything new/stuff I don't know about is all garbage." There are so many people who constantly talk about how bad everything is, whereas Prime genuinely makes me feel hyped to code.
@XDarkGreyX
@XDarkGreyX 2 ай бұрын
He based
@mikkelens
@mikkelens 2 ай бұрын
I just wish he didn't spread misinformation/misconceptions about the rust trademarks in like every single video/stream
@lpil
@lpil 2 ай бұрын
Woo! Thanks pal!
@angeloceccato
@angeloceccato 2 ай бұрын
Louis! Let's Prime writing Gleam. PLS!
@JLarky
@JLarky 2 ай бұрын
Congrats :)
@0e0
@0e0 2 ай бұрын
big it up!
@costinel57
@costinel57 2 ай бұрын
Loved your chat with Richard Feldman a while back, would *love* seeing you have one with prime too :)
@havokgames8297
@havokgames8297 2 ай бұрын
@@costinel57 where is this Richard / Louis chat?!
@landonyarrington7979
@landonyarrington7979 2 ай бұрын
Gleam is so cool: - simple (small surface area like go) - benefits of beam (scalability, soft real time, leverage elixir/erlang) - rust paradigms (result/option, pattern matching)
@sfulibarri
@sfulibarri 2 ай бұрын
Rust has those paradigms, they are not 'rust paradigms'. Not too mention that erlang's pattern matching is more powerful than rust's by a long shot.
@eileennoonan771
@eileennoonan771 2 ай бұрын
It really is everything I want
@landonyarrington7979
@landonyarrington7979 2 ай бұрын
@@sfulibarriI say "rust" because that is the predominant target audience of this channel, I am aware that other languages have those monads and pattern matching
@oleksiistri8429
@oleksiistri8429 2 ай бұрын
Why do you like result/option? It is a horrible horrible feature!
@RegrinderAlert
@RegrinderAlert 2 ай бұрын
@@oleksiistri8429nice ragebait
@hank9th
@hank9th 2 ай бұрын
10 - Louis Pilford is the most benevolent dictator a language could have. Would love to see him on the stream.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
yes!
@Sel178
@Sel178 2 ай бұрын
Gleam is super nice. I have one small production program written in gleam and it was such a joy to make it.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
link to it please
@Yoshidzo
@Yoshidzo 2 ай бұрын
Btw Gleam compiler is written in Rust
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
yes, good choice. Building a compiler with the language you're writing is not impossible but sounds like a bad idea.
@Yoshidzo
@Yoshidzo 2 ай бұрын
@@nyahhbinghi it's called bootstrapping
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
@@Yoshidzo yes you can do it, I understand, but I think it's a good choice not to :)
@Yoshidzo
@Yoshidzo 2 ай бұрын
@@nyahhbinghi why you think so?
@yet_another_communist
@yet_another_communist 2 ай бұрын
Probably they will change in the future or simply let it be; if it works, it works.
@SkinnyGeek_1010
@SkinnyGeek_1010 2 ай бұрын
We got a Gleam mention!
@NostraDavid2
@NostraDavid2 2 ай бұрын
When Prime said "use Currying" he meant "use a Closure". I was so freaking confused. Prime should learn some proper FP.
@NostraDavid2
@NostraDavid2 2 ай бұрын
Maybe he was just confused, but I feel he never learned proper FP, which makes thing confusing whenever he's referring to FP concepts being used in multi-paradigm languages.
@mikkelens
@mikkelens 2 ай бұрын
It confused me a lot, he was basically just talking about using a higher order function. What is currying actually, to be specific? I feel like I don't even know what it means
@Pictor13
@Pictor13 2 ай бұрын
@@NostraDavid2 As ignorant as I am, I think the purpose of currying is pretty similar to closures: access values initialised somewhere else. That’s what Prime meant in the example he was making about avoiding to add obscure properties to a function. What he shows actually IS currying.
@Pictor13
@Pictor13 2 ай бұрын
​@@mikkelens currying, like partials, is a way to pre-feed a value to a function. Can’t link you here the stack overflow answer /a/51253347
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
currying and closures are related...you are binding data to data, etc
@Murderbits
@Murderbits 2 ай бұрын
prime: GLEAM IS FINALLY HERE Prime: I dunno what gleam is
@OnFireByte
@OnFireByte 2 ай бұрын
BEAM based functional language with C style syntax and statically typed. Can't ask more than that
@tmthyha
@tmthyha 2 ай бұрын
Lack of tooling is why Crystal hasn't caught on imo. I want to use it but a lot of very basic QoL stuff is missing and doesn't even seem to be on the roadmap.
@FlanPoirot
@FlanPoirot 2 ай бұрын
no, crystal hasn't caught on bc there really isn't that many people wanting to use ruby let alone a language that's very close to ruby syntax wise but that's compiled it's just a niche language for a niche audience
@tmthyha
@tmthyha 2 ай бұрын
@@FlanPoirot it hasn't caught on amongst people who absolutely do want that, is what I mean. I felt that went without saying, but there is always someone who needs it spelled out.
@havokgames8297
@havokgames8297 2 ай бұрын
Gleam is a genuinely beautifully designed language. If they can get a "killer" app like Phoenix working, then I would likely choose it over many other languages.
@Microphunktv-jb3kj
@Microphunktv-jb3kj 2 ай бұрын
i was about to say that all the newer languagesa just re-create Express lol.. or Laravel
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
@@Microphunktv-jb3kj yes but Phoenix compared to Rails is night and day better
@raidtheferry
@raidtheferry 2 ай бұрын
I see a lot of ppl complaining about _another_ lang but if im being honest this actually seems like a pretty useful language
2 ай бұрын
No, people who educate actually want education to be free, but they still want to be rewarded. It should be free in the sense that someone else pays for it. Not in the sense that educators work for free.
@jsonkody
@jsonkody 2 ай бұрын
Elixir mentioned ._.
@petrvorlicek3643
@petrvorlicek3643 2 ай бұрын
That's one pink language... I am in!
@LoneIgadzra
@LoneIgadzra 2 ай бұрын
Really excited about Gleam, but what you need to understand is that Erlang is OTP: A completely unique way of writing systems. Gleam is exciting for BEAM, but it has wrappers for very little of OTP so far.
@bmno.4565
@bmno.4565 2 ай бұрын
Erlang's VM is so underrated.
@quachhengtony7651
@quachhengtony7651 2 ай бұрын
Why? Is it fast or something compare to CLR/JVM?
@OnFireByte
@OnFireByte 2 ай бұрын
@@quachhengtony7651 great for high-concurrent application, especially for server + high fault torrerent
@UnidimensionalPropheticCatgirl
@UnidimensionalPropheticCatgirl 2 ай бұрын
@@quachhengtony7651 Speed is not really the impressive part of BEAM, and the JIT is actually slightly slower than both CLR and JVM, but where it beats them is introspection capabilities, insane IPC (meaning you can run it on multiple nodes and have them share scheduler) and the scheduler being second to none when it comes to resilience in concurrent systems at scale.
@Patmorgan235Us
@Patmorgan235Us 2 ай бұрын
​@@quachhengtony7651 It's got some crazy concurrency features.
@marioprawirosudiro7301
@marioprawirosudiro7301 2 ай бұрын
@@quachhengtony7651 Heard it's really good with parallelization. Don't know the details though.
@Pjiwm
@Pjiwm 2 ай бұрын
Old Rust also used the functional (no clue what that arrow is called ngl) assignment operator.
@maximofernandez196
@maximofernandez196 2 ай бұрын
I think I might like this. So far I prefer simplicity over anything else (I have a strong grug mindset), and the guy who made the language seems to get it
@SimonHolloway
@SimonHolloway 2 ай бұрын
The "use" feature is really reeeally nice. Please do more videos on Gleam
@azizsafudin
@azizsafudin 2 ай бұрын
The same thing is available in scala
@SimonHolloway
@SimonHolloway 2 ай бұрын
@@azizsafudin nice! It looks like scalas "use" works like pythons "with" and JavaScripts "using". Where as Gleams "use" works like Kokas "with", enabling many dynamic patterns by letting the user function control when (0-*) to call the rest of the code in the current scope.
@hunterxvov4ik
@hunterxvov4ik 2 ай бұрын
ok time to reset the counter. again.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
good call! we were at 11:59pm but back at 11:01pm
@fuzzy-02
@fuzzy-02 2 ай бұрын
Who waits to see what kind of -agen we getting at the video end? Lmao, they get me excited.
@herrpez
@herrpez 2 ай бұрын
I do not envy your life.
@adnan37h
@adnan37h 2 ай бұрын
@@herrpez I’m sorry you had to leave this reply
@herrpez
@herrpez 2 ай бұрын
@@adnan37h I chose to.
@eitanseri-levi2169
@eitanseri-levi2169 2 ай бұрын
The rust safe overflow “bug” has been around since 2015 btw
@dan-bz7dz
@dan-bz7dz 2 ай бұрын
How come they didn't notice?
@eitanseri-levi2169
@eitanseri-levi2169 2 ай бұрын
@@dan-bz7dz they noticed, there’s been a open GitHub issue for this as of 2015. Fixing it is extremely difficult, I’m not even sure the rust team wants to/can fix this issue
@samuelfalk8438
@samuelfalk8438 2 ай бұрын
@@dan-bz7dz It's been recognized since 2015. However, it can't be fixed until the new trait solver is implemented (pretty sure)
@ujjawalsinha8968
@ujjawalsinha8968 2 ай бұрын
Gleam has such a small surface area that you have to do pattern matching to do if else logic. There is no if else syntactic construct in the language, just pattern matching. And I like it 😊
@reviraemusic
@reviraemusic 2 ай бұрын
await?.and_then() vibes... less declarative, more composable and functional
@met0xff00
@met0xff00 2 ай бұрын
That is really a great sales pitch. Till now I always thought "ok unfortunately almost no one is using Elixir anymore, will be even worse with Gleam". But after hearing that... ;)
@pdgiddie
@pdgiddie 2 ай бұрын
What makes you think noone is using Elixir? As a full-time Elixir dev I'd say it seems to be gaining interest as awareness grows. Also really interested in Gleam, though.
@met0xff00
@met0xff00 2 ай бұрын
@@pdgiddie well, a couple years ago I saw it mentioned in job ads here and there, articles were floating around etc. But the last years haven't seen anything anymore. Some I know who switched their stuff to Go. The little I played around with it I really liked it though. It was definitely my favorite from the bunch I tried at that time (I wrote some toy things in a handful of languages I didn't know, including Clojure, Julia, Go, F#)
@ThEldeRS
@ThEldeRS 2 ай бұрын
This video made me laugh like crazy. Thanks for your content Prime :D
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
yes
@tears_falling
@tears_falling 2 ай бұрын
please do the gleam tour, it took me like 40 minutes
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
link to gleam tour
@RyanIsHoping
@RyanIsHoping 2 ай бұрын
Lets go! I love gleam sm, glad to see the coverage!
@ujjawalsinha8968
@ujjawalsinha8968 2 ай бұрын
I think Gleam is written in Rust 🦀
@blacktipe9922
@blacktipe9922 2 ай бұрын
it has been rewritten from erlang to rust, you are right yes
@filippavlovic18
@filippavlovic18 2 ай бұрын
4:50 its monad, is this the new greatest programming language? Kapp
@jcollins519
@jcollins519 2 ай бұрын
I frequently attach properties to react components. Objects that have graphql fragments for component props, objects containing 'data-testid's for the jsx elements in the component ...
@F.a797
@F.a797 2 ай бұрын
Gleam actually mentioned!
@valaphee
@valaphee 2 ай бұрын
And Gleam build tools are written in Rust
@TminusDoom
@TminusDoom 2 ай бұрын
Most languages start out simple and straightforward don't they?
@personal-stream-studio
@personal-stream-studio 2 ай бұрын
No. I don't think so. For example, Mojo with theirs SIMD stuff. And functional languages with their monads, parenthesis and exotic patterns. And what about JavaScript?)) Yeah, it was kinda simple but it is not straightforward. Same thing I could say about CMake, VimScript
@TminusDoom
@TminusDoom 2 ай бұрын
@@personal-stream-studio Yeah, you're right that they don't end up being simple and straightforward. I guess what I meant was, I don't believe anyone sets out making a new language without that being the intention. The only reason I see to make a new language is that someone thinks they can do something more simple or straightforward than one of the other 100 billion languages.
@C4CH3S
@C4CH3S 2 ай бұрын
@@TminusDoomLook at go. still at 25 keywords, everything slightly complicated is in the stdlib, and some edge cases are made by the go team but not even in the stdlib (like the text or cases package) writing Go feels like i'm forced to do it the idiomatic way by how constrained it is, and that's good. it's been more than a decade and the language is about as simple as when it came out, with exception of generics maybe. compare that to Rust, which has an insane amount of features every update. I doubt their original idea was to be like Go simplicity wise. stuff like java which has about 10 ways of making an array and 5 ways of concatenating two strings together, if they had the Go philosophy like gleam also has, you wouldn't have those things. there is a method for literally anything you can think about on every type. gleam aims to be like Go, and if they do it like Go did in the last decade, I believe they can achieve their goal. for example, gleam doesn't even have a for loop, looping is strictly done with recursion.
@angeloceccato
@angeloceccato 2 ай бұрын
Zig is a super language, but lsp is not a primary focus for them
@FlanPoirot
@FlanPoirot 2 ай бұрын
not a primary focus **at the moment**. they've made it clear that they will only work on those things after the language itself is further along, anyone that has hung around enough on the zig discourse channels knows that zls will eventually die as zig will have it's own autocompletion server in the compiler itself (they won't be using the LSP as their protocol)
@PRIMARYATIAS
@PRIMARYATIAS 2 ай бұрын
Their main Lsp contributor died some time ago. 😢, probably because of that.
@egorsozonov7425
@egorsozonov7425 3 күн бұрын
No, Zig is shit because no concept of trait/interface
@FlanPoirot
@FlanPoirot 3 күн бұрын
@@egorsozonov7425 that's the dumbest shit I've heard interfaces are nice but they're not a complete requirement, Zig is a C replacement which is a language that doesn't have those either, you just get data do soemthing and maybe return data. it's a different style of programming. if you were to give an argument for why zig sucks I'd think it would be more valid if you spoke about comptime's complexity and how it makes making good tooling harder. also there's a lot of inconsistency in the stdlib and the conventions used in the language rn. also the language is not even 1.0, it could completely change under ur feet, so unless you're very much into it and willing to contribute I'd advise u to keep out for now
@RandomGeometryDashStuff
@RandomGeometryDashStuff 2 ай бұрын
12:18 isn't that what `static` keyword is for (properties on functions)?
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
Just like TS -> JS, I believe the incremental compiler for Gleam will be super fast
@MadaraUchihaSecondRikudo
@MadaraUchihaSecondRikudo 2 ай бұрын
Re: 16:00 - This is what the `static` keyword is sugar for. A property on the constructor function.
@godbleak
@godbleak Ай бұрын
The caveat is that you then have to use the `new` keyword to access the non-static methods. I created a WooCommerce API client that had an interface like this: interface Products extends Methods { (id: number): { Variations: Variations } Attributes: ProductAttributes } interface ProductAttributes extends Methods { (id: number): { Terms: Terms } } /* Terms & Variations look much like the above */ interface Methods { retrieve: (id: I) => Promise /* other methods */ delete: (id: I) => Promise } This would mean that I can make a DELETE request to the `/products/1` endpoint like this: `await Products.delete(1)` make a GET request to `/products/2/variations/3` with `await Products(2).Variations.retrieve(3)` and make another GET request to `/products/attributes/4/terms/5` with `await Products.Attributes(4).Terms.retrieve(5)` To use static methods, that last one would look like `await (new Products.Attributes(4)).Terms.retrieve(5)` which just feels weird. (I suppose one could argue that the pattern I created does too, but 🤷)
@sadaros95
@sadaros95 2 ай бұрын
For that last part, information should be free, education deserves compensation
@Lemmy4555
@Lemmy4555 2 ай бұрын
I'm not a fun of currying because it adds a significant amount of "distance" from the caller to the "actual logic". A syntax like retry(3, fn) is much better, and if you want multiple functions to retry the same amount of times, just use a variable: retry3 = retry(3) res = retry3(fn) vs let times = 3; res = retry(times, fn)
@chawakornchaichanawirote1196
@chawakornchaichanawirote1196 2 ай бұрын
Haven't watched the vid yet. My ick with Gleam is division by 0 returns 0, because 'no runtime exceptions' for operations, except assert.
@draakisback
@draakisback 2 ай бұрын
I played around with gleam a bunch, it's quite good. It's still missing a few things that stop me from moving from elixir to it. I would love to see OTP as a part of the core language given that it's a part of the core in the erlang virtual machine, I also think the import system is slightly clunky, I wish they had some kind of import that wasn't just aliasing. That being said, it has all the great features of elixir and erlang with static analysis. I am curious to see what the elixir type system will look like when they eventually release that, but gleam does fill a niche in the beam languages. I would also be curious to see how gleam handles native interface functions and interop in general.
@dandogamer
@dandogamer 2 ай бұрын
I've used gleam for the past 3 days and can confirm it's very easy to learn (even without knowing any preexisting functional languages)
@RandomGeometryDashStuff
@RandomGeometryDashStuff 2 ай бұрын
11:36 I think javascript is less hard to read than c++ because there is less syntax (you know `array._isDefault = true` is assignment, now you only need to figure out how assignment to arrays works) and the many ways to solve problem use similar syntax features (I mean things like, addition, subtraction, multiplication, bitwise or, function declaration, class declaration, function literal…) but combine them differently
@TJackson736
@TJackson736 2 ай бұрын
4:18 That doesn't look like the assignment variable but the stream operator in C++. Notice how it can be reversed to stream out the response or an error.
@OnFireByte
@OnFireByte 2 ай бұрын
"use x " is just pattern matching syntax, nothing related to
@TJackson736
@TJackson736 2 ай бұрын
@@OnFireByte IOMonad just sounds like the functional version of streaming.
@yjlom
@yjlom 2 ай бұрын
@@TJackson736 it's more like the functional version of async/await
@rezzubs
@rezzubs 2 ай бұрын
Could someone tell me what's so good about gopls? Prime is always saying it's good but not why he likes it specifically. I haven't used go much but from what I've seen, rust-analyzer seems much more capable. Also, gleam looks pretty cool!
@Rankao
@Rankao 2 ай бұрын
Honestly I feel like this video could generate a few shorts. Like the property demo was hilarious
@wumwum42
@wumwum42 2 ай бұрын
24:30 This was just a proposal and didnt got applied. The current rules are much more open that what you're describing
@chris-pee
@chris-pee 2 ай бұрын
While the tooling seems nice based on what's in the article, the fact that it's a transpiled language without any sourcemaps support confuses me. Neither the Erlang, nor the JS target support debugging it seems? Proper debugging is not a nice-to-have.
@jhonny6382
@jhonny6382 2 ай бұрын
Gleam feels like the child of go and rust
@detaaditya6237
@detaaditya6237 2 ай бұрын
Syntax-wise, rust is definitely close. But what are the go-like components that exist in gleam? I haven't found any
@jhonny6382
@jhonny6382 2 ай бұрын
@@detaaditya6237 in the sintax I don't see any, I see them in the philosophy of the language
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
it's the targetted runtime (BEAM) not just the language
@tanko.reactions176
@tanko.reactions176 2 ай бұрын
11:55 this is exactly the reason why lisp died. ultimate power is not always a good thing. its chaos. order is limiting that chaos into digestable structure.
@YumanoidPontifex
@YumanoidPontifex 2 ай бұрын
"strong desire to have only one way of doing things" - easy brag when you're at the v1 stage in the timeline :D. let's see how well that goes when you're at v5 :)
@spottedmahn
@spottedmahn 12 күн бұрын
Did some from Gleam come on the show?
@kutlokenosi3116
@kutlokenosi3116 2 ай бұрын
hey man... Why do you select things with the first and last character not included......... It bothers me. But I love your videos!
@justkant
@justkant 2 ай бұрын
zig mentioned
@Serizon_
@Serizon_ 2 ай бұрын
charm mentioned. really interesting but gleam also looks cool
@pdgiddie
@pdgiddie 2 ай бұрын
My biggest concerns for Gleam vs Elixir so far is a good REPL and some macro feature. Runtime debugging is a strong feature for Elixir. It also compiles straight to BEAM bytecode. Gleam has some way to go to catch up with all that excellent tooling. But I _do_ like the Gleam foundation more than Elixir, especially the lack of `nil`. (I'm a full-time Elixir dev.)
@JonnyArmano
@JonnyArmano 2 ай бұрын
Float comparisons: . >=.
@sufyan56
@sufyan56 4 сағат бұрын
I got really excited seeing this but then instantly realized that it will take years for this language to get any level of relevance to the point of doing it full time, if it even survives. Even though it's a good language, it's incredibly hard to replace existing tools, ex. even ones as bad as Python.
@laughingvampire7555
@laughingvampire7555 2 ай бұрын
Elixir has no concurrency model, Elixir uses Erlang's concurrency model, by the fact of running on top of BEAM, the Erlang VM
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
true
@Thundechile
@Thundechile 2 ай бұрын
I love how Prime understands that bringing X new features to a language (such as Rust or TypeScript) becomes a major issue with time. I hope that they manage to keep Gleam as simple as it's today.
@wondays654
@wondays654 2 ай бұрын
Tried to build the binary but it failed due to some rustup rustc version issue. Guess gleam aint for me.
@ReyLamurin
@ReyLamurin 2 ай бұрын
Installation issues here too. Bummer.
@wondays654
@wondays654 2 ай бұрын
@@ReyLamurinmine just fixed itself, so i don't know maybe they made an update either on their end or on my OS end.
@DavidBonelo
@DavidBonelo 2 ай бұрын
Nice, now that it's ready for production I'm going to apply to a job asking for 10 years of experience writing Gleam, thanks haha
@Lynxiro
@Lynxiro 2 ай бұрын
As a Go enjoyer Gleam seems pretty interesting. At some point I'd want to learn a simple functional langusge that fills the needs Go does not really cover e.g. UI stuff.
@WilsonSilva90
@WilsonSilva90 2 ай бұрын
I'd say that Gleam is the simplest functional language out there. You can grasp all concepts in a few hours.
@steveoc64
@steveoc64 2 ай бұрын
Don’t think it’s going to help in your case. Go is great for building small and efficient binaries for multiple platforms This one is specifically for building apps that run on the BEAM. Very different kettle of fish
@y00t00b3r
@y00t00b3r 2 ай бұрын
I'm kinda unclear to me whether or not Prime knows what "currying" means or not...
@stevenhe3462
@stevenhe3462 2 ай бұрын
He doesn't.
@sullivan3503
@sullivan3503 2 ай бұрын
The example he gave was currying... A function that takes one parameter and then returns another function is exactly what currying is.
@DeusEx3
@DeusEx3 2 ай бұрын
It's a very spicy line of code, right?
@stevenhe3462
@stevenhe3462 2 ай бұрын
@@sullivan3503 Not really, technically. Check out Wikipedia.
@ultiucu
@ultiucu 2 ай бұрын
Does Gleam have any potential to use on embedded systems? I mean more natively like C/C++/Rust.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
only if BEAM bytecode can go to to embedded?
@ultiucu
@ultiucu 2 ай бұрын
@@nyahhbinghi Is there any chance this could happen at all?
@DanielCouper-vf5zh
@DanielCouper-vf5zh 2 ай бұрын
​@@ultiucuyes, the VM is designed to work on embedded systems (small low power boxes). That's what large chunks of the IP of the company that created it are. The feasibility of doing that at a low level if you're not a huge company whose business is building the hardware 🤷🏼‍♂️. But at a higher level, not really bare metal, Nerves (Elixir) works fine.
@eppi6328
@eppi6328 2 ай бұрын
the lisp mascot though
@fortwentiblazeit4177
@fortwentiblazeit4177 2 ай бұрын
@DeathSugar
@DeathSugar 2 ай бұрын
rust lifetime bug was there before NLL appeared, so it's not new release faults
@mkvalor
@mkvalor 2 ай бұрын
"...we will also avoid language bloat." Ha. Haha. Hahahahahahhahahahaaaa... We shall see.
@user-cb3le9oh9p
@user-cb3le9oh9p 2 ай бұрын
One thing I like about Go is that it embeds the runtime rather than requiring it to be installed on the host machine. I wonder why this couldn't be a goal for Gleam?
@parsanobahari6089
@parsanobahari6089 2 ай бұрын
15:38 javascript! I love it!
@9s-l-s9
@9s-l-s9 2 ай бұрын
Looks nice. But how does it compare to Elixir? Or Erlang directly? 🤔
@JLarky
@JLarky 2 ай бұрын
Erlang is fully dynamic, Elixir started working on gradual type system (similar to Typescript) but it's not ready yet. So gleam is the only production ready type safe BEAM based language
@WilsonSilva90
@WilsonSilva90 2 ай бұрын
It has a flatter learning curve. Gleam is like the Go of the BEAM VMs.
@timc.9703
@timc.9703 2 ай бұрын
of all modern PLs gleam has the perfect syntax. If it would be great if we could compile to native.
@taylorallred6208
@taylorallred6208 2 ай бұрын
I got super into Elixir a while back but then got disenchanted by the macro magic and dynamic types. Gleam might just bring me back to the beam.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
yes that's right!
@el_carbonara
@el_carbonara 2 ай бұрын
I imagine
@Brixmatt85
@Brixmatt85 2 ай бұрын
How is V vaporwave/a scam? I'm probably missing some context on this, but the language seemed fine to me last I checked.
@alvaromoe
@alvaromoe 2 ай бұрын
So what's the catch?
@yash1152
@yash1152 2 ай бұрын
16:10 Warning: NSFW Centent ahead. Reduce ur volume rapidly.
@astral6749
@astral6749 2 ай бұрын
Their mascot looks like it's seen the most gruesome thing in the world.
@nyahhbinghi
@nyahhbinghi 2 ай бұрын
they fixed it :) it's now a starfish that doesn't look like a butthole haha
@MrEnsiferum77
@MrEnsiferum77 2 ай бұрын
Looks like Rust, but fixed.
@rawallon
@rawallon 2 ай бұрын
I hope 10 years from now someone write a book tittle "JS all the way down"
@raymondhill7837
@raymondhill7837 Ай бұрын
Massive W for Gleam!
@patto2k358
@patto2k358 2 ай бұрын
That other guy officially mimics PRIME
@LadyTink
@LadyTink 2 ай бұрын
That sales pitch feels very Elm like
@guywithknife
@guywithknife 2 ай бұрын
Perfect, I was just about to start using gleam for the "functional core" aspect of an Elixir application I'm starting. So this is very timely.
@mhemaungthuwin7916
@mhemaungthuwin7916 2 ай бұрын
It's feel like do block in Haskell
@calorus
@calorus 2 ай бұрын
Looks like there is Birl for Time?
@justbrad_v3906
@justbrad_v3906 2 ай бұрын
wait that is crazy
@Wielorybkek
@Wielorybkek 2 ай бұрын
Gleam looks interesting, maybe I will look into it in like 5 to 10 years, at this time it will either be somewhat popular or already dead.
@thatoddshade
@thatoddshade 2 ай бұрын
they use Futura as their font and Rust as the language for their compiler. it has to be good.
@Jerler91
@Jerler91 2 ай бұрын
Give Lucy a saxophone and everything will be ok. Lol
@4citi
@4citi 2 ай бұрын
Attaching properties to JavaScript sounds like REXX stem variables
@red13emerald
@red13emerald 2 ай бұрын
Gleam looks so cool! I went through the language tour and it really has the best parts of all language paradigms I used so far! And when they say "only one way to do things", they mean it! There's no for loops, only recursion (with tail optimization, of course), and all the typical functional list operations are built on top of that. There's no async/await or coroutines, there's just functions with callbacks, and the use keyword is syntactic sugar to make that easier to read and write. And there's no mutability in the language either, you use the erlang OTP with actors, so you have an in-memory key-value store for mutable state. This is how it always should've been.
@balduin_b4334
@balduin_b4334 2 ай бұрын
it is what it is agen is very based
Python Sucks And I LOVE It | Prime Reacts
15:43
ThePrimeTime
Рет қаралды 246 М.
You Need Kubernetes?
27:59
ThePrimeTime
Рет қаралды 169 М.
1 класс vs 11 класс (неаккуратность)
01:00
БЕРТ
Рет қаралды 3,8 МЛН
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 5 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 31 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 73 МЛН
Gleam 1.0 Is Out! (I think I'm in love...)
33:26
Theo - t3․gg
Рет қаралды 184 М.
ThePrimeagen Hacks My Productivity
3:30
Scott Macchia
Рет қаралды 31 М.
DO NOT USE HTML Self Closing Tags | Prime Reacts
21:31
ThePrimeTime
Рет қаралды 136 М.
From $erverless To Elixir | Prime Reacts
22:34
ThePrimeTime
Рет қаралды 92 М.
Gleam: Past, Present, Future! • Louis Pilfold @ FOSDEM 2024
40:33
Louis Pilfold
Рет қаралды 18 М.
I Am Pretty Surprised By This
23:38
ThePrimeTime
Рет қаралды 83 М.
Rust for TypeScript devs : Borrow Checker
8:49
ThePrimeagen
Рет қаралды 211 М.
Neovim Tower Defense Update
57:47
TheVimeagen
Рет қаралды 20 М.
The Truth About HTMX | Prime Reacts
49:56
ThePrimeTime
Рет қаралды 337 М.
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Рет қаралды 6 МЛН
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 48 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 50 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 1,9 МЛН