Why doesn't Google use Golang for Android Development!?

Поділитися
Вставка
  • Опубліковано 13 лип 2024
  • Why doesn't Google use Golang for Android Development!?
    In today's Golang video, we will go through the reasons why Google doesn't use the Go programming language for Android Development. Along with that, I will also talk about some background for the implementation of Java and Kotlin in Android, and everything you need to know on why Google didn't use Go for Android development. 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/cheatsheet
    Git repos & notes - golangdojo.com/resources
    Golang Informative - • How much do Golang dev...
    --
    #golang #goprogramming #golangdojo
  • Наука та технологія

КОМЕНТАРІ • 61

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

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

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

    Kotlin is not a Google "in house" language. Kotlin was invented by JetBrains. Kotlin is now the preferred programming language by Google for Android. However, it was JetBrains that invented it in 2011.

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

      Thanks for bringing this up!

  • @matiasbarrios7983
    @matiasbarrios7983 2 роки тому +21

    I have worked as a Go developer for the last 4 years. I can tell you a lot of good things about it, but I'll narrow it down to a single thing. Go is easy and comfortable. I witness every day developer fighting the Kotlin, C# and Java compilers and tools. Always having criptic errors, weird bugs and overall awkwardness of the code. So any time they are gaining by using other more "complete" languages, they are immediately losing it by have to arm wrestle the projects every single day.

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

      Go is the future

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

      I don't think so, I'm a c# dev and I don't have to fight the tooling
      I did back when I was coding in Java but idk about today, I'm getting started with Kotlin and Kotlin/Native and I hope I won't have to fight with tooling there

  • @TJ-wc3iq
    @TJ-wc3iq 2 роки тому +22

    Go was not developed for JVM, but for cloud. Kotlin was developer for JVM specifically. Android is based on JVM historically. Oracle accuses Google because of JDK. Use Kotlin instead of Java is an obvious choice. Perhaps. 😅

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

    I was literary asking myself this question, thanks for taking the time to do the research

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

    1.What is the best golang project for beginner and intermediate to put in portfolio.
    2.Should I use TCP for creating chat server or websockets.

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

      And this is awesome channel

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

      Thank you! I have a video on projects for golang developers. Anything that helps you grow!

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

    To create a wheel to compile code from Golang to JVM Bitcode?
    Maybe someone already thought about and began to work on something like that, but obviously not achieve to Beta.

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

    So why dart over kotlin or go for flutter? Google sure love fragmentations

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

      Like & subscribe, and stay tuned for that video :) But yeah Google wants to keep us busy learning different languages for sure lol

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

      Dart has both AOT and JIT compilers which is what powers hot reload. Dart allows flutter to avoid the need of a seperate declarative layout language like JSX and XML. Dart also compiles to JavaScript which brings "compiling for web" a step closer. An arm compiler to avoid having another engine running the code on the device (aka React Native). Also, Dart in itself is easy, intuitive, safe and really fun to learn.

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

      I think it's because fuchsia OS , maybe?

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

    Can I use Go for wasm to write VR games with three.js or A-frame? :D

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

    More interested into why they wouldn't use Dart along with their own IDE instead of using Kotlin (by JetBrains) and the IntelliJ IDE (which is all but a requirement for programming in Kotlin -- and it's what android studio is 'based' off of... i say 'based' because it's almost identical at first glance/use). They have what seems to be a very successful alternative to both the Kotlin language AND the multi-device platform (in Flutter), yet they go with Jet Brains' proprietary tools and JB's programming language instead.....
    Why not Go is a good question. Why not Dart (without knowing TOO much about Dart and flutter) seems (to me, atm) to be a MUCH more interesting question. If there's something I'm overlooking/missing here, please, shoot me down. I'd love to know why it wouldn't work (or is fundamentally different?....)

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

      Performance. Dart is usually slower than JVM

  • @wrnlb666
    @wrnlb666 3 місяці тому

    We can still use the android ndk to compile golang into android app right?

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

    Hi, thanks for the video. So in July 2022 there is still no way to build mobile apps on Golang right?

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

    Let's hope they *GO* with it in the next iO instead of Java 🤞

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

    Android was not created by Google, they bought it. Android predates Go. Two good reasons why Android isn't written in Go.

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

    Hey can you drop a video for GoLang with Socket

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

    Why then dart for flutter, not go

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

    Google just announced that they're deprecating Go and building all their backend services in Rust

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

      Proof ? I don't think so.

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

      No not fully true but there are using rust instead of go for network services in fuschia os.

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

      One year later, they have changed their mind.

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

    👍

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

    It's all JVM's fault
    Btw i cant decide between kotlin and go for the backend of an android app

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

    i believe Go will dominate soon

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

    I find JVM based languages horrible. I better program in Golang, modern C++ or Rust than Java, Scala or Kotlin.

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

      Same here.. jvm is a torture chamber

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

      Kotlin and Rust developer here. Just wanted to say, Kotlin doesn’t just target the JVM, it also targets native. But that path is not nearly as supported, outside of Kotlin Multiplatform Mobile for iOS, which is not common.

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

    Rust for Android

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

    Golang has won already in many areas it is heavily used in blockchain, DEVOPS and mostly backend stuff let android be its thing

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

    The lack of generics is a desirable feature.

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

      It's by design for sure. It's not quite desirable for everyone though. Thanks for the comment!

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

      apparently only for a minority

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

      Go now has generics

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

      @@nathanlewis42 😭

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

    go will be the main language for the next mobile RustOs 😂, why not?

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

    The biggest reason for Android not using Go is, Go is not JVM based language and cannot interoperate with existing Java libraries.

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

    Rust

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

    What is this way of talking ... This is so distracting and annoying... Speak normally.

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

      خلي بنادم في حالو اخاي الجزايري😂

  • @hurricane-rus
    @hurricane-rus 2 роки тому

    Please work harder on your diction - it's very hard to make out most words.
    Especially pay attention to the letters when your tongue touches the palate (l, n, d, r) - most of these letters are like "swallowed" in your speech.
    These letters should sound sonorous, not muffled.
    Also don't swallow the endings of the words.
    And you can speak a bit slower - it's ok, we are not rushing)

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

      I have no problem understanding Wallace.

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

      Well I’m not even a native english speaker and I can understand like 95% of his speech without any issues... for sure there are some words that are not as easy to understand as others but I think that’s totally normal 🤷‍♂️

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

      Work harder on your comprehension, the problem seems to be with you here. And stop saying 'we' as if most of his audience is complaining about his accent, *we* tend to focus on the content instead.

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

      Im not native speaker and I fully understand all

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

      Thanks for the feedback. Working to improve little by little everyday