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 - Наука та технологія
📝Get your *FREE Golang Cheat Sheet* -
golangdojo.com/cheatsheet
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.
Thanks for bringing this up!
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.
Go is the future
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
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. 😅
I was literary asking myself this question, thanks for taking the time to do the research
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.
And this is awesome channel
Thank you! I have a video on projects for golang developers. Anything that helps you grow!
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.
So why dart over kotlin or go for flutter? Google sure love fragmentations
Like & subscribe, and stay tuned for that video :) But yeah Google wants to keep us busy learning different languages for sure lol
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.
I think it's because fuchsia OS , maybe?
Can I use Go for wasm to write VR games with three.js or A-frame? :D
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?....)
Performance. Dart is usually slower than JVM
We can still use the android ndk to compile golang into android app right?
Hi, thanks for the video. So in July 2022 there is still no way to build mobile apps on Golang right?
Fyne 👍
Let's hope they *GO* with it in the next iO instead of Java 🤞
Android was not created by Google, they bought it. Android predates Go. Two good reasons why Android isn't written in Go.
Hey can you drop a video for GoLang with Socket
Why then dart for flutter, not go
Google just announced that they're deprecating Go and building all their backend services in Rust
Proof ? I don't think so.
No not fully true but there are using rust instead of go for network services in fuschia os.
One year later, they have changed their mind.
👍
It's all JVM's fault
Btw i cant decide between kotlin and go for the backend of an android app
Golang, always ;)
i believe Go will dominate soon
I find JVM based languages horrible. I better program in Golang, modern C++ or Rust than Java, Scala or Kotlin.
Same here.. jvm is a torture chamber
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.
Rust for Android
Golang has won already in many areas it is heavily used in blockchain, DEVOPS and mostly backend stuff let android be its thing
The lack of generics is a desirable feature.
It's by design for sure. It's not quite desirable for everyone though. Thanks for the comment!
apparently only for a minority
Go now has generics
@@nathanlewis42 😭
go will be the main language for the next mobile RustOs 😂, why not?
Hahaha
The biggest reason for Android not using Go is, Go is not JVM based language and cannot interoperate with existing Java libraries.
Rust
What is this way of talking ... This is so distracting and annoying... Speak normally.
خلي بنادم في حالو اخاي الجزايري😂
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)
I have no problem understanding Wallace.
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 🤷♂️
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.
Im not native speaker and I fully understand all
Thanks for the feedback. Working to improve little by little everyday