Hey 2-years-ago-Ryan: it's mid-2023 and I'm using your videos every couple of days to keep me going-- your cool cadence and immediately practical vibe are like pure programming sugar as I slog through onboarding into a new complex project with three new languages (like, I like learning, and I'm okay with being confused and lost and wrong a lot, but it does wear me down). Anyway, you're the light at the end of the tunnel with your genuine excitement and can-do pragmatism. Plus, doing it all while chilling, a hero to us all. Thanks, Ryan!
Nice video. Enjoy your journey as a Gopher. For those curious, goroutines are like little independent processes multiplexed on threads. Creating and destroying a thread is expensive but goroutines are super lightweight and cheap to create and destroy.
@@peterpetersen6613 I mean it depends on the case as for complex components, in svelte you would probably have to make your own, whereas in react, the community is massive, there will probably already be a package for it. That't why I usually like to use svelte for fun, and react for serious projects.
Appreciate the vid. I'm a little curious about Go as a Node dev, but haven't worked on anything that has made me use it just yet. Everything in the vid is reasonably reproducible in Node. The TypeScript typechecker is really slow, so your last point is resonating pretty hard. That's why kdy1 is porting the TypeScript compiler to Go, and I can't wait
If you want to test it, you could setup some gRPC routines in Go, then call them with something like gprc/gprc-node from Node. Disclosure: not a Go professional. But I've been researching adding it to my toolbox as well. I agree with the sentiment though: it seems neat to be able to do all these basic things. But whether a tool easily fits into an existing software ecosystem without adding too much hassle *while also adding benefit not possible with the existing system* is the real test.
Yeah Typescript is a great way to add more safety to JS. I think TS is good for most API work and React stuff. It’s when it comes to performance that Golang starts to shine 🤩
@@prestonrasmussen1758 Compiled to javascript that will be interpreted right? The compile I am talking about here is what computer understand "101010101010101010"
@@webpro9083 Well very technically TypeScript is transpiled to JavaScript but you’ll see a lot of people use compiling to describe this process. That’s not what I’m talking about. In the modern day, JS is compiled to bytecode once the code warms up using the Just-in-Time compiler or JIT. The bytecode is either interpreted by a VM or compiled to machine code (again, a lot of factors go into this), but it’s the same process as Java and C# (although those two languages are compiled to bytecode ahead of time).
If a man lying in bed eloquently tells you to try Go, try Go. Awesome video bro, I'll be starting a project "soon" and would love to build the backend in go, rather than node-ts. I'm already exploring go, and it's definitely different, but I'm open minded and optimistic that I'll enjoy coding the go way. Stay well my brother ☮️🏆
Hooooold up, long running operations in GO vs JS, even if GO compiled to JS would still be JS single threads. So how does it help if you needed a JS app?
Comparing JS to Golang doesn't make any sense - unless you are specifically referring to NodeJS. JS and Golang are used in completely different ecosystems and solve different problems.
I’d say knowing JS and Go are a must in your skill set. Go is going to be the language for building reliable, scalable implementations of ML algorithms. So, Go it’s a nice to have not necessarily a replacement for JS.
@@rei2502 I started to learn Rust cause everyone talked about it.. then just for fun I tried go and like go way more than rust. Not saying Rust is bad in any way, but I prefer Go.
@@AndrewTSq go philosophy matches much better with JS/TS, Rust is fine for things where you want critical levels of performance or reliability, which TBH is rare for most of us. And GO isn't slow either.
Wow nice Go is a nice-looking language syntax wise. The println reminds me of Kotlin's println and I think there was another language which used the println as well? Also, never seen a language use the double dots with the equal sign ':=' ? I don't know. But I am guessing Golang is primarily used as a backend language?
8:05 maaaan come on, that's why they have created typescript, you could do those on typescript too.. anyway but the go also cool, thanks man, I loved your pillow
Hey Ryan. Quick question: was there any specific resource that you used to learn Go? I want to transition into Go from JS like you mentioned and tryna figure out where to start.
Hi Ryan, I am back. I decided to message you because I was wondering if you were familiar with C# and Java? I am looking at either one of these technologies because I am getting close to learning and creating projects with JavaScript my focus is full stack. I choose C# and Java because both are posted a lot in the job market in NYC especially Java. But my question to you is, which tech is easier to pick up in terms of finding materials to learn and create projects and which one is better supported and finally from your personal opinion which one would you recommend? Love your videos and aspires me to focus deeper into programming, thanks man.
I find that when most RUclipsrs say "JavaScript" they're actually referring to node.js (a server-side JavaScript runtime environment), in which case you can definitely compare them and Go is definitely better. Until I realized this, videos like this were baffling to me too.
JavaScript and Golang are two completely different programming languages. They have minimal overlap in terms of domain and can therefore never be an option with each other.
I don’t understand how as a developer you can just switch your language. If you are working in a company you can’t go to your manager and say that today I will use golang(i mean you can’t write go along with js in the same file). You can maybe work on personal projects with go in that case you don’t need to work on scale and maybe you are better of working with js.
This guy does coding videos while in bed. He wins the Internet.
This is more common than you would think. I literally had to force myself to get out of bed during the pandemic while coding.
He is op 😂
bruh you are the first guy recording lying on a bed, lmao it's so original keep that up, loved it
The most relaxing introduction to Go ever 😀
Bruh you're programming in bed? That's next level
I love your teaching vibe, you get straight to use cases and how they’re tackled and not a lot of content creators do that. Keep it up bro 😎
2020: Not wearing pants on a zoom call.
2021: Giving a presentation from bed.
What's next for our cultural evolution?
Going back to no mic, no cam only notepad and unregistered hypercam2
With his willy hanging out
@@TheMemin247 don't forget trance
giving bed from presentation
@@lagseeing8341here I am
Hey 2-years-ago-Ryan: it's mid-2023 and I'm using your videos every couple of days to keep me going-- your cool cadence and immediately practical vibe are like pure programming sugar as I slog through onboarding into a new complex project with three new languages (like, I like learning, and I'm okay with being confused and lost and wrong a lot, but it does wear me down). Anyway, you're the light at the end of the tunnel with your genuine excitement and can-do pragmatism. Plus, doing it all while chilling, a hero to us all. Thanks, Ryan!
Man u are my supermodel. There is no such cooler thing than coding and making a video while lying on the bed. SUBSCRIBED
Laying in bed, so relaxing voice, concise and clear,... Man add a cocktail and it's like a vacation watching you
Learned more about Go in 8 min with your video than the two hours I've spent with some random tuts found on google. Tks!
Bro, the way you chill while coding is awesome 😂
The best under 10 minute intro I've seen yet.
Nice video. Enjoy your journey as a Gopher.
For those curious, goroutines are like little independent processes multiplexed on threads. Creating and destroying a thread is expensive but goroutines are super lightweight and cheap to create and destroy.
Like your style of delivery, subbed!
Awesomw video bruv! Let's go we need more content 👨💻🚀
Golang is so easy to learn. I love this language. If i have to choose close compiled alternative to js then it definitely would be golang.
I started to learn golang a couple of weeks ago for almost the same reasons, good observations, and damn you were so smooth. code & chill lmao
This was a great overview of Go! Thanks!
From PHP to Java to NodeJS to Python finally GO. Now I'm in paradise.
I don't know any coding language should I start from GO?
@@denchola Yep! You first need learn/understand algorithm
Nice! IMO Js with Go can be the best (React in front-end & Golang as restfull API in back-end)
This is my next move
This is a powerful combo!
Front-end should be done in a more performant framework, like Svelte
Best stack
@@peterpetersen6613 I mean it depends on the case as for complex components, in svelte you would probably have to make your own, whereas in react, the community is massive, there will probably already be a package for it.
That't why I usually like to use svelte for fun, and react for serious projects.
most comfortable youtuber
What about Typescript?
Appreciate the vid. I'm a little curious about Go as a Node dev, but haven't worked on anything that has made me use it just yet. Everything in the vid is reasonably reproducible in Node. The TypeScript typechecker is really slow, so your last point is resonating pretty hard. That's why kdy1 is porting the TypeScript compiler to Go, and I can't wait
If you want to test it, you could setup some gRPC routines in Go, then call them with something like gprc/gprc-node from Node.
Disclosure: not a Go professional. But I've been researching adding it to my toolbox as well.
I agree with the sentiment though: it seems neat to be able to do all these basic things. But whether a tool easily fits into an existing software ecosystem without adding too much hassle *while also adding benefit not possible with the existing system* is the real test.
What if we had to compare it it to TS though.. Would miss the .map, .filter etc.. 😭
Yeah Typescript is a great way to add more safety to JS. I think TS is good for most API work and React stuff. It’s when it comes to performance that Golang starts to shine 🤩
Compiled language Vs interpreted... Compiled always wins. It's go Vs rust Vs c++ not Js level
@@webpro9083 TS isn’t going to get the same performance as the other languages you mentioned, but it is compiled when it needs to be
@@prestonrasmussen1758 Compiled to javascript that will be interpreted right? The compile I am talking about here is what computer understand "101010101010101010"
@@webpro9083 Well very technically TypeScript is transpiled to JavaScript but you’ll see a lot of people use compiling to describe this process.
That’s not what I’m talking about. In the modern day, JS is compiled to bytecode once the code warms up using the Just-in-Time compiler or JIT. The bytecode is either interpreted by a VM or compiled to machine code (again, a lot of factors go into this), but it’s the same process as Java and C# (although those two languages are compiled to bytecode ahead of time).
You sir have convinced me to get into Go
I kinda only need Golang for Calculations though,
nodejs is quite enough for most of my RestApi calls anyway.
These aspects you mention are what I like about Kotlin
Great video, as a javascript developer i was unsure about learning go and this video clarified my thoughts
What about typescript?
If a man lying in bed eloquently tells you to try Go, try Go. Awesome video bro, I'll be starting a project "soon" and would love to build the backend in go, rather than node-ts. I'm already exploring go, and it's definitely different, but I'm open minded and optimistic that I'll enjoy coding the go way. Stay well my brother ☮️🏆
Oh my God I aspire to be the type of developer you are so badly. That’s chilling out enjoying what you do beyond comprehension
i only watched this video as of now and he is definitely morgan freeman of coding
Hooooold up, long running operations in GO vs JS, even if GO compiled to JS would still be JS single threads. So how does it help if you needed a JS app?
What about typescript to address the larger projects
Damn bro made me subscribe. 2024 I'm learning Go
I think you are just saying “I am switching from fronted dev to backend dev “
Comparing JS to Golang doesn't make any sense - unless you are specifically referring to NodeJS. JS and Golang are used in completely different ecosystems and solve different problems.
Though I get your point, you wouldn’t compare Flask to GoLang, you will compare Python to GoLang. Underlying NodeJs is JavaScript. So he’s not wrong
I came here to learn about Go but now I need to know what your bed setup is
I’d say knowing JS and Go are a must in your skill set. Go is going to be the language for building reliable, scalable implementations of ML algorithms. So, Go it’s a nice to have not necessarily a replacement for JS.
what about Rust?
@@rei2502 web3
@@rei2502 I started to learn Rust cause everyone talked about it.. then just for fun I tried go and like go way more than rust. Not saying Rust is bad in any way, but I prefer Go.
@@AndrewTSq go philosophy matches much better with JS/TS, Rust is fine for things where you want critical levels of performance or reliability, which TBH is rare for most of us. And GO isn't slow either.
Wow nice Go is a nice-looking language syntax wise. The println reminds me of Kotlin's println and I think there was another language which used the println as well? Also, never seen a language use the double dots with the equal sign ':=' ? I don't know. But I am guessing Golang is primarily used as a backend language?
Yeah the ‘:=‘ for definitions originated as notation used in math, and Go adopted it
Great video!!
What's about Rust for Backend
why not typescript? 🤔
the thing is that I do not see many job openings for Golang
You're taking "home office" to the next level lying in bed and all
Definitely subscribed!
That's what I like, straight to the point!
I would use a pointer in IsAdult function: func (p *Person)..
Great video, can you compare Python and Go?
this is a dope video! 🙂
You also do that same concurrency thing is nodejs too but u need to know about node clustering and fork worker
How to call javascript when you build go web application?
That is the hard part in golang
Which table are u using
This is kinda tutorial I need. ❤
8:05 maaaan come on, that's why they have created typescript, you could do those on typescript too.. anyway but the go also cool, thanks man, I loved your pillow
Why I switched from JS to Golang (As a C++ developer)
Awesome video style man! How is your audio so good, btw? 🤔
Was it hard for you to find jobs in Golang if your base was Javascript ?
Hey Ryan. Quick question: was there any specific resource that you used to learn Go? I want to transition into Go from JS like you mentioned and tryna figure out where to start.
K&R helped
codewars is a great one
This man legit woke up, get his laptop, and decided to record a video in bed.
Do you Jacky while you Hacky
So basically, you don't want to use typescript and web/node workers ?
So THIS is the zoom level at which a JS developer develops. Nice to know!
man how are you typing
Nice GoLang is used in startups fangs everywhere just like Java. Java is old and boring. Golang is fills the gap real nice
Wow, I didn't to knew about that. Thanks a lot.
so why did you switch? :D
Golang looks fun
This guy's voice is just joyful.
Very useful thank you
compiler is also super fast.
Hi Ryan, I am back. I decided to message you because I was wondering if you were familiar with C# and Java? I am looking at either one of these technologies because I am getting close to learning and creating projects with JavaScript my focus is full stack. I choose C# and Java because both are posted a lot in the job market in NYC especially Java. But my question to you is, which tech is easier to pick up in terms of finding materials to learn and create projects and which one is better supported and finally from your personal opinion which one would you recommend? Love your videos and aspires me to focus deeper into programming, thanks man.
Golang❤
Instantly subbed when I saw that you were in bed that's hilarious
Finally
One more js frontend man switched to a proper backend technology
You just described TypeScript
Why Go when Rust?
Js is going to be the king for web frontend though...until WASM is pretty mature I think
Yep, but for now i think javascript is still the common usage instaed if WASM
I don't understand why I'm so instantly a fan
nice video, thanks
Ok i agree go is good language but man straight away coding in go from bed something epic i never saw in my life. Setup tour please
me on my bed watching this guy code from his bed xD
liked and subbed, keep up the good work
Legend
' Golang is not Object oriented but makes you do object oriented type of things..' 😭😂
Its not that easy. .Js is so popular. all companies only support .js. you can use .js natively in firebase and cloudflare worker
I don't understand this comparison. Go is server side and js in on the browser. Cool vid though
I find that when most RUclipsrs say "JavaScript" they're actually referring to node.js (a server-side JavaScript runtime environment), in which case you can definitely compare them and Go is definitely better.
Until I realized this, videos like this were baffling to me too.
@@TheRythimMan omg, I just revisited this video to watch it again and you replied to my message with the same thoughts as me. wtf?? LOL
he's just chilling tho
Ashamed to admit but I can at times stay and work in bed for the whole day
i just started the vid and i can't believe that he just recorded this in bed
nice video!!!
JavaScript and Golang are two completely different programming languages. They have minimal overlap in terms of domain and can therefore never be an option with each other.
Nice video
I don’t understand how as a developer you can just switch your language. If you are working in a company you can’t go to your manager and say that today I will use golang(i mean you can’t write go along with js in the same file). You can maybe work on personal projects with go in that case you don’t need to work on scale and maybe you are better of working with js.
Both languages are very different.
this video is more like "Learn Go in Single Video"
These are certainly reasons to use go over js, but none of them are good reasons.
+1 like for lying in bed while recording ....
Golang bestlang 💪💪
and now the cons of golang compared to js
Go, JS, and wasm with a webview.
I thought I was the only one programming in bed