Тёмный

Gleam v1 HAS BEEN RELEASED 

ThePrimeTime
Подписаться 518 тыс.
Просмотров 158 тыс.
50% 1

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

Наука

Опубликовано:

 

9 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 381   
@ward7576
@ward7576 4 месяца назад
Recruiters already rubbing their hands before writing "Mandatory 5 year experience with Gleam programming language"
@user-ez8ty5ii5r
@user-ez8ty5ii5r 4 месяца назад
With 7 years total industry experience :D
@toTheMuh
@toTheMuh 4 месяца назад
@@user-ez8ty5ii5r for junior salary :D
@stanrock8015
@stanrock8015 2 месяца назад
I’m shocked anyones wanting specific Gleam experience at this point
@jsonkody
@jsonkody 4 месяца назад
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 4 месяца назад
Beautiful
@unknownbird6165
@unknownbird6165 4 месяца назад
Nice.
@Kane0123
@Kane0123 4 месяца назад
C# gang still here…
@Microphunktv-jb3kj
@Microphunktv-jb3kj 4 месяца назад
i also think todays languages need pkg repos and discovery by default alongside the t hings mentioned in 5:55
@noahpederson9816
@noahpederson9816 4 месяца назад
What's funny is OOP is *supposed* to be an implementation of actor patter with message passing...
@replikvltyoutube3727
@replikvltyoutube3727 4 месяца назад
Erlang mentioned
@tauiin
@tauiin 4 месяца назад
billons must BEAM
@Mempler
@Mempler 4 месяца назад
Err i dunno - lang
@coldestbeer
@coldestbeer 4 месяца назад
The hard r too
@lpil
@lpil 4 месяца назад
Woo! Thanks pal!
@angeloceccato
@angeloceccato 4 месяца назад
Louis! Let's Prime writing Gleam. PLS!
@JLarky
@JLarky 4 месяца назад
Congrats :)
@0e0
@0e0 4 месяца назад
big it up!
@costinel57
@costinel57 4 месяца назад
Loved your chat with Richard Feldman a while back, would *love* seeing you have one with prime too :)
@havokgames8297
@havokgames8297 4 месяца назад
@@costinel57 where is this Richard / Louis chat?!
@charmcli
@charmcli 4 месяца назад
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 4 месяца назад
charm = based
@ahmedifhaam7266
@ahmedifhaam7266 Месяц назад
Question. As a new dev, Why do you guys use GO over Rust.
@hank9th
@hank9th 4 месяца назад
10 - Louis Pilford is the most benevolent dictator a language could have. Would love to see him on the stream.
@nyahhbinghi
@nyahhbinghi 4 месяца назад
yes!
@ConverseMidas
@ConverseMidas 4 месяца назад
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 4 месяца назад
He based
@mikkelens
@mikkelens 4 месяца назад
I just wish he didn't spread misinformation/misconceptions about the rust trademarks in like every single video/stream
@ahmedifhaam7266
@ahmedifhaam7266 Месяц назад
​@@mikkelens?
@mikkelens
@mikkelens Месяц назад
@@ahmedifhaam7266 it seems he's started getting over it, but I've been watching him less so I wouldn't know for sure. The rust trademark thing was only subject to scrutiny because rust is such a darling open source project. The Rust Foundation is not at all some uniquely corporate entity in the programming language ecosystem. The 'scandal' was that an unfinished piece of legal jargon was a little restrictive with the use of a trade mark, not too dissimilar to how all other trademarks already work even in programming languages. People (like Prime) blew a fuss about it because they wanted to have a reason to feel or be justified in feeling skeptical or different in their view of rust in general.
@tuankietnguyentran8872
@tuankietnguyentran8872 12 дней назад
@@mikkelens ?
@SkinnyGeek_1010
@SkinnyGeek_1010 4 месяца назад
We got a Gleam mention!
@Sel178
@Sel178 4 месяца назад
Gleam is super nice. I have one small production program written in gleam and it was such a joy to make it.
@nyahhbinghi
@nyahhbinghi 4 месяца назад
link to it please
@Murderbits
@Murderbits 4 месяца назад
prime: GLEAM IS FINALLY HERE Prime: I dunno what gleam is
@Yoshidzo
@Yoshidzo 4 месяца назад
Btw Gleam compiler is written in Rust
@nyahhbinghi
@nyahhbinghi 4 месяца назад
yes, good choice. Building a compiler with the language you're writing is not impossible but sounds like a bad idea.
@Yoshidzo
@Yoshidzo 4 месяца назад
@@nyahhbinghi it's called bootstrapping
@nyahhbinghi
@nyahhbinghi 4 месяца назад
@@Yoshidzo yes you can do it, I understand, but I think it's a good choice not to :)
@Yoshidzo
@Yoshidzo 4 месяца назад
@@nyahhbinghi why you think so?
@yet_another_communist
@yet_another_communist 4 месяца назад
Probably they will change in the future or simply let it be; if it works, it works.
@jly_dev
@jly_dev 4 месяца назад
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 4 месяца назад
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 4 месяца назад
It really is everything I want
@jly_dev
@jly_dev 4 месяца назад
@@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 4 месяца назад
Why do you like result/option? It is a horrible horrible feature!
@RegrinderAlert
@RegrinderAlert 4 месяца назад
@@oleksiistri8429nice ragebait
@OnFireByte
@OnFireByte 4 месяца назад
BEAM based functional language with C style syntax and statically typed. Can't ask more than that
4 месяца назад
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.
@petrvorlicek3643
@petrvorlicek3643 4 месяца назад
That's one pink language... I am in!
@NostraDavid2
@NostraDavid2 4 месяца назад
When Prime said "use Currying" he meant "use a Closure". I was so freaking confused. Prime should learn some proper FP.
@NostraDavid2
@NostraDavid2 4 месяца назад
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 4 месяца назад
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 4 месяца назад
@@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 4 месяца назад
​@@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 4 месяца назад
currying and closures are related...you are binding data to data, etc
@jsonkody
@jsonkody 4 месяца назад
Elixir mentioned ._.
@raidtheferry
@raidtheferry 4 месяца назад
I see a lot of ppl complaining about _another_ lang but if im being honest this actually seems like a pretty useful language
@hunterxvov4ik
@hunterxvov4ik 4 месяца назад
ok time to reset the counter. again.
@nyahhbinghi
@nyahhbinghi 4 месяца назад
good call! we were at 11:59pm but back at 11:01pm
@maximofernandez196
@maximofernandez196 4 месяца назад
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
@tmthyha
@tmthyha 4 месяца назад
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 4 месяца назад
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 4 месяца назад
@@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.
@RyanIsHoping
@RyanIsHoping 4 месяца назад
Lets go! I love gleam sm, glad to see the coverage!
@havokgames8297
@havokgames8297 4 месяца назад
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 4 месяца назад
i was about to say that all the newer languagesa just re-create Express lol.. or Laravel
@nyahhbinghi
@nyahhbinghi 4 месяца назад
@@Microphunktv-jb3kj yes but Phoenix compared to Rails is night and day better
@fuzzy-02
@fuzzy-02 4 месяца назад
Who waits to see what kind of -agen we getting at the video end? Lmao, they get me excited.
@herrpez
@herrpez 4 месяца назад
I do not envy your life.
@adnan37h
@adnan37h 4 месяца назад
@@herrpez I’m sorry you had to leave this reply
@herrpez
@herrpez 4 месяца назад
@@adnan37h I chose to.
@Pjiwm
@Pjiwm 4 месяца назад
Old Rust also used the functional (no clue what that arrow is called ngl) assignment operator.
@SimonHolloway
@SimonHolloway 4 месяца назад
The "use" feature is really reeeally nice. Please do more videos on Gleam
@azizsafudin
@azizsafudin 4 месяца назад
The same thing is available in scala
@SimonHolloway
@SimonHolloway 4 месяца назад
@@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.
@bmno.4565
@bmno.4565 4 месяца назад
Erlang's VM is so underrated.
@quachhengtony7651
@quachhengtony7651 4 месяца назад
Why? Is it fast or something compare to CLR/JVM?
@OnFireByte
@OnFireByte 4 месяца назад
@@quachhengtony7651 great for high-concurrent application, especially for server + high fault torrerent
@UnidimensionalPropheticCatgirl
@UnidimensionalPropheticCatgirl 4 месяца назад
@@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 4 месяца назад
​@@quachhengtony7651 It's got some crazy concurrency features.
@marioprawirosudiro7301
@marioprawirosudiro7301 4 месяца назад
@@quachhengtony7651 Heard it's really good with parallelization. Don't know the details though.
@ThEldeRS
@ThEldeRS 4 месяца назад
This video made me laugh like crazy. Thanks for your content Prime :D
@nyahhbinghi
@nyahhbinghi 4 месяца назад
yes
@LoneIgadzra
@LoneIgadzra 4 месяца назад
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.
@ujjawalsinha8968
@ujjawalsinha8968 4 месяца назад
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 4 месяца назад
await?.and_then() vibes... less declarative, more composable and functional
@jcollins519
@jcollins519 4 месяца назад
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 4 месяца назад
Gleam actually mentioned!
@filippavlovic18
@filippavlovic18 4 месяца назад
4:50 its monad, is this the new greatest programming language? Kapp
@eitanseri-levi2169
@eitanseri-levi2169 4 месяца назад
The rust safe overflow “bug” has been around since 2015 btw
@dan-bz7dz
@dan-bz7dz 4 месяца назад
How come they didn't notice?
@eitanseri-levi2169
@eitanseri-levi2169 4 месяца назад
@@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 4 месяца назад
@@dan-bz7dz It's been recognized since 2015. However, it can't be fixed until the new trait solver is implemented (pretty sure)
@tears_falling
@tears_falling 4 месяца назад
please do the gleam tour, it took me like 40 minutes
@nyahhbinghi
@nyahhbinghi 4 месяца назад
link to gleam tour
@nyahhbinghi
@nyahhbinghi 4 месяца назад
Just like TS -> JS, I believe the incremental compiler for Gleam will be super fast
@sadaros95
@sadaros95 4 месяца назад
For that last part, information should be free, education deserves compensation
@met0xff00
@met0xff00 4 месяца назад
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 4 месяца назад
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 4 месяца назад
@@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#)
@dandogamer
@dandogamer 4 месяца назад
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)
@Rankao
@Rankao 4 месяца назад
Honestly I feel like this video could generate a few shorts. Like the property demo was hilarious
@ujjawalsinha8968
@ujjawalsinha8968 4 месяца назад
I think Gleam is written in Rust 🦀
@blacktipe9922
@blacktipe9922 4 месяца назад
it has been rewritten from erlang to rust, you are right yes
@valaphee
@valaphee 4 месяца назад
And Gleam build tools are written in Rust
@MadaraUchihaSecondRikudo
@MadaraUchihaSecondRikudo 4 месяца назад
Re: 16:00 - This is what the `static` keyword is sugar for. A property on the constructor function.
@godbleak
@godbleak 3 месяца назад
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 🤷)
@taylorallred6208
@taylorallred6208 4 месяца назад
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 4 месяца назад
yes that's right!
@hosseines276
@hosseines276 4 месяца назад
lovim' it :D
@Serizon_
@Serizon_ 4 месяца назад
charm mentioned. really interesting but gleam also looks cool
@Lemmy4555
@Lemmy4555 4 месяца назад
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)
@DavidBonelo
@DavidBonelo 4 месяца назад
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
@rawallon
@rawallon 4 месяца назад
I hope 10 years from now someone write a book tittle "JS all the way down"
@raymondhill7837
@raymondhill7837 2 месяца назад
Massive W for Gleam!
@justbrad_v3906
@justbrad_v3906 4 месяца назад
wait that is crazy
@tanko.reactions176
@tanko.reactions176 4 месяца назад
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.
@timc.9703
@timc.9703 4 месяца назад
of all modern PLs gleam has the perfect syntax. If it would be great if we could compile to native.
@TminusDoom
@TminusDoom 4 месяца назад
Most languages start out simple and straightforward don't they?
@personal-stream-studio
@personal-stream-studio 4 месяца назад
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 4 месяца назад
@@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 4 месяца назад
@@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.
@aDaily1222
@aDaily1222 Месяц назад
sort of. but Louis is guaranteeing not to make breaking changes or add unncessary "features". no other language creator made that promise.
@jhonny6382
@jhonny6382 4 месяца назад
Gleam feels like the child of go and rust
@detaaditya6237
@detaaditya6237 4 месяца назад
Syntax-wise, rust is definitely close. But what are the go-like components that exist in gleam? I haven't found any
@jhonny6382
@jhonny6382 4 месяца назад
@@detaaditya6237 in the sintax I don't see any, I see them in the philosophy of the language
@nyahhbinghi
@nyahhbinghi 4 месяца назад
it's the targetted runtime (BEAM) not just the language
@draakisback
@draakisback 4 месяца назад
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.
@eppi6328
@eppi6328 4 месяца назад
the lisp mascot though
@justkant
@justkant 4 месяца назад
zig mentioned
@KSmifune
@KSmifune 4 месяца назад
coool
@el_carbonara
@el_carbonara 4 месяца назад
I imagine
@RandomGeometryDashStuff
@RandomGeometryDashStuff 4 месяца назад
12:18 isn't that what `static` keyword is for (properties on functions)?
@JonnyArmano
@JonnyArmano 4 месяца назад
Float comparisons: . >=.
@YumanoidPontifex
@YumanoidPontifex 4 месяца назад
"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 :)
@pdgiddie
@pdgiddie 4 месяца назад
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.)
@chawakornchaichanawirote1196
@chawakornchaichanawirote1196 4 месяца назад
Haven't watched the vid yet. My ick with Gleam is division by 0 returns 0, because 'no runtime exceptions' for operations, except assert.
@Thundechile
@Thundechile 4 месяца назад
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.
@guywithknife
@guywithknife 4 месяца назад
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.
@angeloceccato
@angeloceccato 4 месяца назад
Zig is a super language, but lsp is not a primary focus for them
@FlanPoirot
@FlanPoirot 4 месяца назад
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 4 месяца назад
Their main Lsp contributor died some time ago. 😢, probably because of that.
@egorsozonov7425
@egorsozonov7425 2 месяца назад
No, Zig is shit because no concept of trait/interface
@FlanPoirot
@FlanPoirot 2 месяца назад
@@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
@fortwentiblazeit4177
@fortwentiblazeit4177 4 месяца назад
@LadyTink
@LadyTink 4 месяца назад
That sales pitch feels very Elm like
@mkvalor
@mkvalor 4 месяца назад
"...we will also avoid language bloat." Ha. Haha. Hahahahahahhahahahaaaa... We shall see.
@patto2k358
@patto2k358 4 месяца назад
That other guy officially mimics PRIME
@RandomGeometryDashStuff
@RandomGeometryDashStuff 4 месяца назад
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
@mhemaungthuwin7916
@mhemaungthuwin7916 4 месяца назад
It's feel like do block in Haskell
@TJackson736
@TJackson736 4 месяца назад
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 4 месяца назад
"use x " is just pattern matching syntax, nothing related to
@TJackson736
@TJackson736 4 месяца назад
@@OnFireByte IOMonad just sounds like the functional version of streaming.
@yjlom
@yjlom 4 месяца назад
@@TJackson736 it's more like the functional version of async/await
@Jerler91
@Jerler91 4 месяца назад
Give Lucy a saxophone and everything will be ok. Lol
@y00t00b3r
@y00t00b3r 4 месяца назад
I'm kinda unclear to me whether or not Prime knows what "currying" means or not...
@stevenhe3462
@stevenhe3462 4 месяца назад
He doesn't.
@sullivan3503
@sullivan3503 4 месяца назад
The example he gave was currying... A function that takes one parameter and then returns another function is exactly what currying is.
@DeusEx3
@DeusEx3 4 месяца назад
It's a very spicy line of code, right?
@stevenhe3462
@stevenhe3462 4 месяца назад
@@sullivan3503 Not really, technically. Check out Wikipedia.
@user-cb3le9oh9p
@user-cb3le9oh9p 4 месяца назад
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?
@calorus
@calorus 4 месяца назад
Looks like there is Birl for Time?
@astral6749
@astral6749 4 месяца назад
Their mascot looks like it's seen the most gruesome thing in the world.
@nyahhbinghi
@nyahhbinghi 4 месяца назад
they fixed it :) it's now a starfish that doesn't look like a butthole haha
@rezzubs
@rezzubs 4 месяца назад
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!
@Wielorybkek
@Wielorybkek 4 месяца назад
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.
@wumwum42
@wumwum42 4 месяца назад
24:30 This was just a proposal and didnt got applied. The current rules are much more open that what you're describing
@zigyzig3348
@zigyzig3348 4 месяца назад
"strong desire to have only one way of doing things" - meanwhile in C#...
@sohn7767
@sohn7767 4 месяца назад
New way to do null check next update!
@briza_md
@briza_md 4 месяца назад
Gleam the cube
@JorgetePanete
@JorgetePanete 4 месяца назад
to me, if let and let else in Rust are overhead features
@parsanobahari6089
@parsanobahari6089 4 месяца назад
15:38 javascript! I love it!
@jsonkody
@jsonkody 4 месяца назад
I like that Gleam mascot is JoJo reference :D
@Lynxiro
@Lynxiro 4 месяца назад
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 4 месяца назад
I'd say that Gleam is the simplest functional language out there. You can grasp all concepts in a few hours.
@steveoc64
@steveoc64 4 месяца назад
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
@mintx1720
@mintx1720 4 месяца назад
There's the go hivemind and the init guy.
@4citi
@4citi 4 месяца назад
Attaching properties to JavaScript sounds like REXX stem variables
@re1konn
@re1konn 4 месяца назад
Feels closer to Scala than Elixir to me
@thatoddshade
@thatoddshade 3 месяца назад
they use Futura as their font and Rust as the language for their compiler. it has to be good.
@laughingvampire7555
@laughingvampire7555 4 месяца назад
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 4 месяца назад
true
@wondays654
@wondays654 4 месяца назад
Tried to build the binary but it failed due to some rustup rustc version issue. Guess gleam aint for me.
@ReyLamurin
@ReyLamurin 4 месяца назад
Installation issues here too. Bummer.
@wondays654
@wondays654 4 месяца назад
@@ReyLamurinmine just fixed itself, so i don't know maybe they made an update either on their end or on my OS end.
@DeathSugar
@DeathSugar 4 месяца назад
rust lifetime bug was there before NLL appeared, so it's not new release faults
@h2_
@h2_ 4 месяца назад
Why should we use Gleam over Elixir?
@nyahhbinghi
@nyahhbinghi 4 месяца назад
static typing - obvious
@bug5654
@bug5654 4 месяца назад
Lucy straight out of Dr. Who.
@fuzzy-02
@fuzzy-02 4 месяца назад
Gealm the truth
@marcusrehn6915
@marcusrehn6915 4 месяца назад
My favorite piece of javascript code to show java developers back in the day was this: function a () { function b () { return a;} return b;} This lets you do a()()()()()()()()()() as many parens as you want.
Далее
Java Is Better Than Rust
42:14
Просмотров 43 тыс.
Flo Rida - Whistle НА РУССКОМ 😂🔥
00:29
Просмотров 783 тыс.
The harsh reality of good software
27:28
Просмотров 346 тыс.
Proxy - Design Patterns in 5 minutes
3:59
Просмотров 4,1 тыс.
Trying Zig Part 1
1:30:00
Просмотров 87 тыс.
Falling In Love With Gleam
33:26
Просмотров 195 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1 млн
Meet Devin - The End Of Programmers As We Know It
31:02
New Gleam Just Dropped
25:33
Просмотров 78 тыс.
Scams In Software Engineering
31:44
Просмотров 630 тыс.
iPhone, Galaxy или Pixel? 😎
0:16
Просмотров 1,2 млн