I saw this talk at the beginning of my journey to Go, and it was not so easy to understand. Now two years later I see it from so much different point of view. That's mindblowing at the beginning, but so amazing. Thank you Dave for the great talk.
This man is a treasure. Great talk for real! But just have to check, am I the only one that sees an error on 16:21, SendMsg function where you return what you read from the error chan, but the function does not return anything... It does have sense to put the
13:35 In the first case in select should it be m.conns[conn.RemoteAddr()] or conns[conn.RemoteAddr()]? I think latter, since conns is not a field of structure Mux, but map defined in function loop().
As a kid I learned BASIC while dabbling with my C64, in elementary school we were taught Pascal to make a snake game, at the Polytechnic were taught C and other languages but I picked up Common Lisp myself. First class functions and higher order functions? Not a very scary concept to an ex-Lisper.
I think there’s an error in the chat channel example. The local map in the mux loop is never used. All operations in the select statement use fields on the mux
Yeah the typo was ‘m.conns’; should have been just ‘conns’ each time. At 13:55 he says that the conns map is just local to the function and can’t be mutated outside of it.
Ah, so a part of what Peter Bourgon says in ua-cam.com/video/LHe1Cb_Ud_M/v-deo.html about his actors stuff comes either from here (or their ideas just share common ancestry). Does anyone have earlier examples of this "ship a function on an actionc or an ops channel to synchronize"?
I think it's this one: ua-cam.com/video/yCbon_9yGVs/v-deo.html (the surname Boreham is not something I would've figured out, but the closed captions got it for me, or well, it got me Botham but youtube autocompleted it perfectly :D)
I saw this talk at the beginning of my journey to Go, and it was not so easy to understand. Now two years later I see it from so much different point of view. That's mindblowing at the beginning, but so amazing.
Thank you Dave for the great talk.
I don't fear first class functions anymore but I'm terrified of Dave Cheney now.
Why? Dave Cheney looks as such friendly guy.
Fantastic talk changing the way I see programming in Go!
Dave Chaney at his best! Thanks for sharing amazing knowledge!
This man is a treasure. Great talk for real!
But just have to check, am I the only one that sees an error on 16:21, SendMsg function where you return what you read from the error chan, but the function does not return anything... It does have sense to put the
After reading your comment I also see error in SendMsg. I think Dave Cheney was thinking along these lines. "In the line >>return
13:35 In the first case in select should it be m.conns[conn.RemoteAddr()] or conns[conn.RemoteAddr()]? I think latter, since conns is not a field of structure Mux, but map defined in function loop().
Genius
As a kid I learned BASIC while dabbling with my C64, in elementary school we were taught Pascal to make a snake game, at the Polytechnic were taught C and other languages but I picked up Common Lisp myself. First class functions and higher order functions? Not a very scary concept to an ex-Lisper.
Thank you, Dave! Great content.
great talk : ) the Mux example was too short.
I think there’s an error in the chat channel example. The local map in the mux loop is never used. All operations in the select statement use fields on the mux
Yes,I found that too.
Yeah the typo was ‘m.conns’; should have been just ‘conns’ each time. At 13:55 he says that the conns map is just local to the function and can’t be mutated outside of it.
On 16:30 he returns an error from the function SendMsg() which signature doesn't imply returning anything
Dave Wow wow❤❤❤ ur extremely valuable for Go community
any well written, open source apps with these good practices (this and the Option funcs)?
I'd like to see the complete code for the concurrent implementation which does not use locks, where can I find that?
Ah, so a part of what Peter Bourgon says in ua-cam.com/video/LHe1Cb_Ud_M/v-deo.html about his actors stuff comes either from here (or their ideas just share common ancestry). Does anyone have earlier examples of this "ship a function on an actionc or an ops channel to synchronize"?
What is the talk he was inspired by a couple of months ago? I can't hear him clearly and can't find the video.
I think it's this one: ua-cam.com/video/yCbon_9yGVs/v-deo.html
(the surname Boreham is not something I would've figured out, but the closed captions got it for me, or well, it got me Botham but youtube autocompleted it perfectly :D)
Dave and Rob kind of look like the gopher :)
Monads should not be scary.
cool stuff as always, would be better as Stream.Map(Add(2)).Push(1)=>3
Great knowledge, terrible speaker
3rd time watching... Great knowledge!, terrible speaker
What makes him a terrible speaker in your opinion?
@@joonasfi judging from his last name he isn't a native speaker, so that must be it
@@nxxxxzn so non-native english speaker = terrible speaker?
@@nxxxxzn He's Australian