Це відео не доступне.
Перепрошуємо.

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

КОМЕНТАРІ • 64

  • @GolangDojo
    @GolangDojo  Рік тому +3

    Get your *FREE Golang Cheat Sheet* -
    golangdojo.com/cheatsheet

  • @thegravatrax6461
    @thegravatrax6461 Рік тому +8

    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

  • @dmitriypurtseladze1507
    @dmitriypurtseladze1507 Рік тому +5

    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.

  • @stanislauyan3204
    @stanislauyan3204 Рік тому +25

    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.

    • @jimmymac601
      @jimmymac601 Рік тому +7

      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.

    • @stanislauyan3204
      @stanislauyan3204 Рік тому +2

      @@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

    • @jimmymac601
      @jimmymac601 Рік тому

      @@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.

  • @mysticmarble94
    @mysticmarble94 Рік тому +40

    Because they said .... " Let's go " 🤭🤭🤭

  • @ADITYAKUMARking
    @ADITYAKUMARking Рік тому +5

    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”

  • @JimRohn-u8c
    @JimRohn-u8c Рік тому +2

    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 .

  • @avithedev
    @avithedev Рік тому +6

    "When the most unfortunate event in the 21 century"
    Almost spat my food 😭

  • @kerodfresenbetgebremedhin1881
    @kerodfresenbetgebremedhin1881 Рік тому +7

    u can use clustering to use multiple cores while using node for your backend apart from that pretty accurate characterization

    • @batu4605
      @batu4605 Рік тому

      Im using load balancer 💪 GO is good but syntax is not friendly.

    • @kerodfresenbetgebremedhin1881
      @kerodfresenbetgebremedhin1881 Рік тому +3

      ​@@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.

  • @shaileshrudra8152
    @shaileshrudra8152 Рік тому +12

    1.25 x speed worked better for me for this video 😊😊

  • @sunny7268
    @sunny7268 Рік тому +7

    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 :) !!!

  • @MrBumbo90
    @MrBumbo90 Рік тому +2

    I love your videos, but I gotta say this: JS is NOT interpreted. It is just in time compiled. Your point still stands though.

  • @a4e69636b
    @a4e69636b Рік тому +1

    Thank you for this video. Get well.

  • @princeofexcess
    @princeofexcess Рік тому +14

    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

    • @kerodfresenbetgebremedhin1881
      @kerodfresenbetgebremedhin1881 Рік тому +1

      go is a pretty good middle ground.

    • @blakeneese1385
      @blakeneese1385 Рік тому +2

      Nah Go is pretty much becoming the standard now, nothing niche about it

    • @princeofexcess
      @princeofexcess Рік тому

      ​@@blakeneese1385 It's used. Nothing compared to python js/ts or even php.

    • @blakeneese1385
      @blakeneese1385 Рік тому

      Of course it’s not yet, how old is GoLang compared to those?

    • @princeofexcess
      @princeofexcess Рік тому

      @@blakeneese1385 yes so its not standard

  • @ehsankhorasani_
    @ehsankhorasani_ Рік тому +1

    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.

  • @haike8780
    @haike8780 Рік тому +2

    with Js , we can build frontend, backend, mobile, desktop ..etc.
    for performance i will choose Rust or Zig over Go (slowly)

  • @BenjaminWagener
    @BenjaminWagener Рік тому +8

    This video is completely unprofessional fanboy gossip. Unsubscribed...

    • @chriszhang8365
      @chriszhang8365 Рік тому +3

      Same, this kind of naive comparison and statements without solid reason just exposed himself…unsubscribed

    • @shera2667
      @shera2667 Рік тому +1

      True, the whole video is just about how go is the god language!

    • @lacascadaobregon
      @lacascadaobregon Рік тому

      bye

  • @bartukocakara7794
    @bartukocakara7794 4 місяці тому

    link is down bro

  • @alejandromedina1019
    @alejandromedina1019 Рік тому +3

    i love go, but always bet on js

  • @weissmannrob
    @weissmannrob Рік тому +1

    Completely agree 👍

  • @mming_my
    @mming_my Рік тому +1

    how does Go works on frontend?

    • @Beornz
      @Beornz Рік тому

      You can use http/template to render templates or you can do http.fileserver to serve static files such as html pages. Or both.

  • @esra_erimez
    @esra_erimez Рік тому

    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".

  • @fredrickdenga7552
    @fredrickdenga7552 Рік тому +2

    Can you cover leetcode in go, series?

  • @Rei-m3g
    @Rei-m3g Рік тому

    True! Golan is more satisfying

  • @blakeneese1385
    @blakeneese1385 Рік тому +1

    Way to trigger all these JS guys love it 😅

  • @toomuchpoop450
    @toomuchpoop450 Рік тому +6

    Rip frontend devs

    • @Mozescodes
      @Mozescodes Рік тому +10

      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 🤨

  • @ExpatTraderFX
    @ExpatTraderFX Рік тому

    korean?

  • @Scizzzor
    @Scizzzor Рік тому

    Oh thats why I get so much hassle in Li these days huh xd

  • @promethewz3457
    @promethewz3457 Рік тому +5

    Which companies bro? Stop saying bs. If you want more Go lang lovers to follow your channel then make good contents, not shitty comparisons.

  • @rastafadev
    @rastafadev Рік тому +1

    Loled at JS dev raging in comments

  • @athithyarj7216
    @athithyarj7216 Рік тому +2

    A go developer talking about node js error handling.. hahaha

    • @only_learn6095
      @only_learn6095 Рік тому

      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.

  • @larrasket
    @larrasket Рік тому +1

    6:28 this is very true. If compared to Go, the JS developer community is too idiotic.

  • @codelivewithme
    @codelivewithme Рік тому

    only cli ):

  • @yassinebouchoucha
    @yassinebouchoucha Рік тому

    Do you have any data source that support your claim about companies are migrating to Go Lang ?!

    • @RaZziaN1
      @RaZziaN1 Рік тому

      It's a clickbait, companies don't switch to go.

    • @nobytes2
      @nobytes2 Рік тому

      Do you have any data source suggesting they're not ?!

    • @dezaku6612
      @dezaku6612 Рік тому

      You can just google, many are switching to Go, I actually don’t have any on my mind rn tho I forgot

  • @simajacob7416
    @simajacob7416 Рік тому +1

    Because they are too lazy to learn Rust. Lol

  • @ygjt76v0-----
    @ygjt76v0----- Рік тому

    no yooooo

  • @AbedDan
    @AbedDan 5 місяців тому

    So many mistakes in this video

  • @avatar4
    @avatar4 Рік тому

    Go really sucks

    • @avatar4
      @avatar4 Рік тому

      Go Is fast. But it can't print console.log in faster. It very hardly the case. Scammer