Це відео не доступне.
Перепрошуємо.
Why are Companies Migrating from Javascript to Go!?
Вставка
- Опубліковано 16 сер 2024
- Today we will understand why are companies migrating from Javascript to Go. Enjoy!
--
Golang Dojo is all about becoming Golang Ninjas together. You can expect all kinds of Golang tutorials, news, tips & tricks, and my daily struggles as a Golang developer. Make sure to subscribe if you look forward to such content!
Get Your Golang Cheat Sheet! - golangdojo.com...
Git repos & notes - golangdojo.com...
Golang Basics - • Golang Basics - Instal...
Golang Informative - • How much do Golang dev...
--
Timestamps
0:00 Intro
0:37 Javascript's only advantages
1:37 Javascript and NodeJS's origin
2:40 Reason #1
3:19 Reason #2
4:56 Reason #3
6:13 Reason #4
7:42 Sources
8:22 Outro
--
#golang #goprogramming #golangdojo
Get your *FREE Golang Cheat Sheet* -
golangdojo.com/cheatsheet
I currently have a class called software deployment where we're making web services with golang. My professor is pretty embedded in the industry. When he started with the company he works for he went and converted all their node.js applications to go resulting in a 700% performance increase compared to the node implementations. Given that these were also deployed on AWS this resulted in literally thousands of dollars in compute time saved. That is a huge implication if you're a small company just trying to get your start and rely on cloud services
Nodejs runs JavaScript code in a single thread, which means that your code can only do one task at a time. However, Node. js itself is multithreaded and provides hidden threads through the libuv library, which handles I/O operations like reading files from a disk or network requests.
Oh man!… nowadays we use only typescript for programming. We even have deno project to run typescript directly. That is like nodejs. Performance issues? JS engines do great optimizations and for most applications it is not the issue. In web servers JS cannot achieve the performance of golang, that is true, but that is not required for most projects! And if we talk about performance - you should see c++ frameworks or even rust based.
Tired of you, experts, that make such comparisons! There is NO reason to migrate TS project if it works fine. It has types, it performs, the syntax of the language is so much richer, than golang! And that is very ez to work with it.
Golang IS beautiful language! I do like start new projects on go, instead of TS, but I would never say TS will not work for usual server.
I would instead ask requirements for project, bcs golang is compiled and we can have many metrics better. But if you have simple web app - that is ez to go full stack on TS.
Here was my mistake.
I agree for the most part with one exception. If you are running in the cloud of your choice, Go can reduce the number of expensive resources need to run the application/api/internal processes and that can reduce costs. This does have to be offset by the increased expense and development time and may not reach the profitability lever until your application starts to hit the high six or low seven figures which is still not a large site. I personally think that some processes that are processor-bound ( where JS is at a severe disadvantage ) would benefit dramatically from Go. I currently work for a Blockchain startup and some processes are offloaded from Python to Go for that reason.
I think your last statement shows some immaturity on your part. As a developer community, I suggest that we refrain from this kind of behavior and criticism and phrase comments in a more constructive manner.
@@jimmymac601 I personally would start project in go. What I do like, that I can run app in a very clean, basic machine. JS needs node/deno to run.
My last statement is emotional, I agree. Sorry for that. My fault
@@stanislauyan3204 I would start a new project in Go as well. But TS for both front and backend is a strong case especially when considering easing FE developers into backend dev.
No worries on the comment. Happens to all of us.
Because they said .... " Let's go " 🤭🤭🤭
That’s right :)
Switching to Java from Golang, because in my org people come from Java background and write go code with Java mindset. Hence our org go code is heavily “javaised”
I thought JavaScript and Typescript are the two main frontend languages?
So how can Go, which is for backend, going to replace them?
Or do you mean Go is replacing Node.Js which is used for backend?
Still a noob programmer so please correct any misunderstandings I have .
"When the most unfortunate event in the 21 century"
Almost spat my food 😭
u can use clustering to use multiple cores while using node for your backend apart from that pretty accurate characterization
Im using load balancer 💪 GO is good but syntax is not friendly.
@@batu4605 I advise sticking with learning go, its syntax is not as bad as one might believe on a first glance. Look at rust or zig and u will appreciate the simpleness + performance provided by go.
1.25 x speed worked better for me for this video 😊😊
1.5
3
I don't think you should say Go or Node, their is a plenty of room for both of them as they are pretty simple, Rust is another story :) !!!
I love your videos, but I gotta say this: JS is NOT interpreted. It is just in time compiled. Your point still stands though.
Thank you for this video. Get well.
if you really care for performance there is Rust; if you dont, which in most backend apps its not a priority, TS is better (integrates better with frontend and access to more developers). Either way Go is niche use case
go is a pretty good middle ground.
Nah Go is pretty much becoming the standard now, nothing niche about it
@@blakeneese1385 It's used. Nothing compared to python js/ts or even php.
Of course it’s not yet, how old is GoLang compared to those?
@@blakeneese1385 yes so its not standard
they are migrating from Node.js to Go. not from Javascript.
Javascript is the king when it comes to frontend development and mostly people use Javascript for frontend. and there is no chance for Go to take place of Javascript.
with Js , we can build frontend, backend, mobile, desktop ..etc.
for performance i will choose Rust or Zig over Go (slowly)
This video is completely unprofessional fanboy gossip. Unsubscribed...
Same, this kind of naive comparison and statements without solid reason just exposed himself…unsubscribed
True, the whole video is just about how go is the god language!
bye
link is down bro
i love go, but always bet on js
Completely agree 👍
how does Go works on frontend?
You can use http/template to render templates or you can do http.fileserver to serve static files such as html pages. Or both.
How about the obvious? Javascript is a scripting language designed for manipulating the DOM in a browser and not writing servers. This is analogous to "when all you have is a hammer, every problem is a nail".
Can you cover leetcode in go, series?
True! Golan is more satisfying
Way to trigger all these JS guys love it 😅
Rip frontend devs
But doing Go with frontend is shooting yourself in the foot as it's tightly coupled then. I would like to use Go with NuxtJS and why RIP frontend if he is saying using Go instead of Node.Js 🤨
korean?
Oh thats why I get so much hassle in Li these days huh xd
Which companies bro? Stop saying bs. If you want more Go lang lovers to follow your channel then make good contents, not shitty comparisons.
Loled at JS dev raging in comments
A go developer talking about node js error handling.. hahaha
yeah, amount of expressive code that you can write even with typescript or ruby is much more easier than dumbed down golang. Trust me I have used it and don't want to go back, unless the scope is small and isolated.
6:28 this is very true. If compared to Go, the JS developer community is too idiotic.
only cli ):
Do you have any data source that support your claim about companies are migrating to Go Lang ?!
It's a clickbait, companies don't switch to go.
Do you have any data source suggesting they're not ?!
You can just google, many are switching to Go, I actually don’t have any on my mind rn tho I forgot
Because they are too lazy to learn Rust. Lol
no yooooo
So many mistakes in this video
Go really sucks
Go Is fast. But it can't print console.log in faster. It very hardly the case. Scammer