Why are Companies Migrating from Python to Go!?

Поділитися
Вставка
  • Опубліковано 22 сер 2024

КОМЕНТАРІ • 86

  • @GolangDojo
    @GolangDojo  2 роки тому +3

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

  • @esra_erimez
    @esra_erimez 2 роки тому +175

    I love things that confirm my cognitive bias

  • @a4e69636b
    @a4e69636b 2 роки тому +15

    Thank you for this video. I would like to see more Python to Go case studies.

    • @victorray9369
      @victorray9369 2 роки тому +3

      UA-cam one of the best use cases from python to go

  • @oscar7557
    @oscar7557 Рік тому +18

    Switching from Python to anything is always a performance enhancement on the web. Go is fantastic, it just works and it’s easy to use. It’s opinionated nature will turn people off, but companies will love it.

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

    This is cue for Let's Get Rusty to slip in and make a video about why some companies are migrating from Go to Rust.

  • @mikesmith6838
    @mikesmith6838 2 роки тому +7

    Edge cases, at best. I can give you one reason why you won't see this in most cases: Libraries. No language has a larger community group than Python. Never has been one, either.

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

      JavaScript is definitely bigger

    • @sahilkumar-zp7zv
      @sahilkumar-zp7zv Рік тому

      @@williamross7552 Python is general purpose language so it has a library for almost everything whereas Javascript is mostly concentrated on web only.

  • @farzadmf
    @farzadmf 2 роки тому +18

    "Not getting too creative" I think that's the BEST and MOST IMPORTANT thing with Go that's taken for granted.

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

      One of Go's philosophy is being simple, readable and doing things in one way.

  • @starsbrave
    @starsbrave 2 роки тому +6

    Any company migrate from Java/Spring to Go?

  • @mti2fw
    @mti2fw 2 роки тому +18

    I really like Go, but would also like to see why companies are switching from Go to another language (like Discord due to the issue with GC)

    • @ashileshsonkusle2395
      @ashileshsonkusle2395 2 роки тому +2

      GC cannot start its work until all goroutines are stopped(stop the world). GC has to wait until all running goroutines reach breakpoint, increasing GC time. I think Discord faced this issue as GC was taking so much time.

    • @Rogueixpresents
      @Rogueixpresents 2 роки тому

      Discords case is unique. I don’t know if you actually read the blog you should actually give it a read bud.

  • @mengisi
    @mengisi 11 місяців тому +1

    Migration not equal to first time to market. After your customer grow switch to more reliable language. Python great for MVP.

  • @FullLifeFrank
    @FullLifeFrank 2 роки тому +4

    Form for cheet sheet still broken, never receive the email. Not in spam either.

  • @cryptic1692
    @cryptic1692 2 роки тому +4

    go is better than rust coz it's simple to learn and fast best of both world

    • @anon3118
      @anon3118 2 роки тому

      @@UlrikBrun-ir7mh memory safety isnt a concern with GC languages. Thats a c/c++ thing

  • @frankhuurman3955
    @frankhuurman3955 2 роки тому +11

    Interesting that putting in the time to rewrite Python applications to Go is worth it to these companies, I'm curious if Python can close the performance gap some more with the release of 3.11.
    Just curious if there is a Go equivalent of all the commonly used Python ML libraries.

    • @n000d13s
      @n000d13s 2 роки тому +6

      Python can never surpass compiled languages but python will be still be used for data analysis and ML. The repl is perfect for any kind of scientific experimentations

    • @khadimhusen
      @khadimhusen 2 роки тому +3

      It may possible if python use strict type and compile.
      But python is not designed like that.
      But learning python is easy for beginner.

    • @frankhuurman3955
      @frankhuurman3955 2 роки тому +1

      @@n000d13s for experimentations it's good definitely, but if performance counts wouldn't Go be able to handle predictions by a model a lot better?

    • @mching4473
      @mching4473 2 роки тому +5

      Python ML libraries are already either written in C or in Fortran.
      If rewriting the whole code base is not an option, Python already has a plethora of other options to make it faster (Cython, numba, JIT compiled implementations, mypyc, etc.). But the biggest problem, I think, is the lack of talent pool for this.

    • @dandogamer
      @dandogamer Рік тому +4

      Python ML libraries are written in C or C++ so they are super performant

  • @SaifaldeenSAH
    @SaifaldeenSAH 2 роки тому +2

    Man, you really made me like Go language, many thanks

  • @victorocampo5263
    @victorocampo5263 2 роки тому +1

    Thanks for introducing me to Go!

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

    You do realize that go is just braced python right?

  • @IkraamDev
    @IkraamDev 2 роки тому +2

    Let's Go!

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

    no, they're not

  • @khadimhusen
    @khadimhusen 2 роки тому +6

    Not agreed with your statement that go is best language. There is no best programming language. Every language pros and cons.
    And
    Some companies shifting go lang to rust. It doesn't mean rust is the best language.

    • @victorray9369
      @victorray9369 2 роки тому +1

      Exactly.

    • @miyukinagara
      @miyukinagara 2 роки тому

      👍

    • @sumer9999
      @sumer9999 2 роки тому

      Give me example where backend was moved from go to rust ? Rust development is costly and it's complicated. E.g. Go has GC where as Rust doesn't

    • @victorray9369
      @victorray9369 2 роки тому

      @@sumer9999 I think Deno moved from go to Rust.

  • @elongatedmust1951
    @elongatedmust1951 2 роки тому +2

    Faster development/poc is more important to test business idea, and to capture market earlier. Then use C# or Java for better design and performance. There is no need for GO.

    • @dandogamer
      @dandogamer Рік тому +4

      except from Go performs better than java in serverless/microservices which are becoming more common

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

    If you want to build a backend for your application just go with django first then if you need performance switch to go.why ? cause there is alot of python code out there if you get stuck on something.correct me if i'm wrong

  • @crimsionCoder42
    @crimsionCoder42 2 роки тому +5

    What about Java to go? Or Node to go? I think python will survive due to data science but if someone starts building Pandas, NumPy, or PyTorch for Go it would be the nail in the coffin for python.

    • @burnere633
      @burnere633 2 роки тому +16

      You are being silly. Pandas, NumPy etc. internally are built in C, C++, and in some cases, even FORTRAN. The reason Python was adopted to be a wrapper language/interface around this was due to its ease of use, quick prototyping/development, which made it especially easy for non-software developers (scientists, data analysts etc.). The only language around right now that could replace this stack in the future, is Julia.

    • @seanmiranda6042
      @seanmiranda6042 2 роки тому

      @@burnere633 that would make things easier actually, all we need to wait for is first class support or binding for go from these popular libraries and things would shift greatly.

    • @crimsionCoder42
      @crimsionCoder42 2 роки тому

      @@burnere633 yeah but that’s the catch isn’t it? Python is easy to work with but is dog slow. If it was a silver bullet we’d all be using nothing but python. I just don’t see data science and data engineering not being folded into the software engineer role instead of it remaining a specialty. So why not use a simple updated language that you can write and api for in one sprint then build a data lake the next?

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

      ​@@burnere633 Go is easier than Python.

    • @luckerooni1153
      @luckerooni1153 10 місяців тому

      @@crimsionCoder42 If you think that's happening you're highly underestimating what's happening to data. Because of AI, managing the ins and outs of the data network itself is becoming a very demanded specialty very comparable to the world 20 years ago where software was being built as an assistant, companion and general simplification tool to everything.

  • @tomsheldonworld
    @tomsheldonworld 2 роки тому +2

    next check Java vs Go

  • @SebastianHaasDotDe
    @SebastianHaasDotDe 2 роки тому +3

    ?! From 100 ms to 10ms is a 1000% performance increase. Not 90% xD

  • @cryptic1692
    @cryptic1692 2 роки тому +2

    kids who are saying rust is better than go they should know it comes with a cost though lmao :)

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

    i need comparison between Django rest api security and go rest api security

  • @burnere633
    @burnere633 2 роки тому +9

    Now do "Why are Companies Migrating from Go to Rust!?"

    • @tjgdddfcn
      @tjgdddfcn 2 роки тому

      Ive only seen discord do it tbh

    • @igoralmeida9136
      @igoralmeida9136 2 роки тому

      only discord did that because of the go garbage collector, other garbage collected languages would have the same problem discord had with go

    • @burnere633
      @burnere633 2 роки тому +2

      @@tjgdddfcn Can't a guy just say something over-the-top in the Internet and not be nitpicked at?!

    • @synen
      @synen 2 роки тому

      Wrong channel.

    • @sumer9999
      @sumer9999 2 роки тому

      Rust is only used for planet scale application with billions of users, application development is costly since it's more time consuming,

  • @garfnadeck
    @garfnadeck 2 роки тому

    Where to find this companies that hire jr and internship?

  • @mightyplayer6977
    @mightyplayer6977 2 роки тому +5

    With all the respect to your work mate. The best programming language in the world is Python. And no one other programming language comes even close to it. Speed is not everything.

    • @coledrain2158
      @coledrain2158 2 роки тому +12

      That's a naive statement.
      Nothing like " Best programming language "
      Use the tool that fits your use case

    • @sumer9999
      @sumer9999 2 роки тому +10

      Speed is very important, if my company spends 100K $ on compute cost, then with Go it will reduce to less than 50k$

    • @patrikw1
      @patrikw1 2 роки тому

      Yeah it is matter of use-case and cost, whether cost is "its more efficient and better tooling to write this in python" OR it is "it is more efficient by performance so i can reduce scaling issues and GCE/AWS cost of business"

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

      ​@@sumer9999i think its just the problem of your company that a couple extra milliseconds affects your cost by double.

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

    So, to avoid confirmation bias, let's look at people that already decided to go towards go, okay... :D

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

    Thanks 🙂

  • @lubeckable
    @lubeckable 2 роки тому

    are you still working with java?

  • @dasmarkopo
    @dasmarkopo 2 роки тому

    Golang seems pretty damn fast.

  • @lazyh0rse
    @lazyh0rse 2 роки тому +1

    I want your input, I'm a C# developer, I tried to recreate one of my apps in nodejs, but the amount of time it took me is massively lower compared to C#. I'm wondering if it's the same story with python vs go, I know python is definitely easier, however, by how much? is it really worth it to start with go?
    Because honestly I don't think it's that important to value performance over speed of development for startup companies and such.

    • @Zero_Hour
      @Zero_Hour 2 роки тому

      Python is much easier to learn if you're coming from C#. If you haven't learned C, learning Go will be much more challenging in terms of understanding when and where to use pointers or not, Go generics have a strange syntax and the lack of dynamic typing is frustrating, and Go structs are much more tedious to use and write than making a simple class in Python. If you really need the performance, most people use Cython or gmpy, along with numerous other fast-math libraries.

    • @lazyh0rse
      @lazyh0rse 2 роки тому

      @@Zero_Hour thank you for the reply, I actually learned some go, it has really clever shortcuts and its much easier than I initially thought, but I have not coded anything useful yet, however I coded a little bit of python. Your point hit home tbh, If performance is an issue, using cython or numpy most likely will be enough, and there is a abundance of tutorials online.

  • @whatthefunction9140
    @whatthefunction9140 2 роки тому

    The SaaS company I work for is moving to go

  • @provokator-provocateur7603
    @provokator-provocateur7603 2 роки тому +3

    This video is pure propaganda

    • @mrme488
      @mrme488 Рік тому +4

      Hell yes !! there is no languege better than other ! choosing a language it depends what you are trying to do !

  • @sumer9999
    @sumer9999 2 роки тому +2

    Google tried to buy Python 15 years ago, buy the founder didn't sell it, so Google created Go and now it's better than Python.

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

    Concurency

  • @SajidAli-wy1zs
    @SajidAli-wy1zs 2 роки тому

    don not say something lke that. just stop

  • @z00lus
    @z00lus 2 роки тому

    Okay , many languages faster then python. In java you can create a single jar file for deployment too. The main point of all this what python is good for faster development but not an option in long term run.

  • @codeitlikemiley
    @codeitlikemiley 2 роки тому +2

    why companies are migrating to rust lol

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

    Yoooooooo 😂

  • @dixztube
    @dixztube 2 роки тому

    Why do these metrics matter. All these apps are slow lol