A
A
Alexander Vasilenko2015-10-25 21:36:36
Android
Alexander Vasilenko, 2015-10-25 21:36:36

Which is better to learn for Android NDK: Go or C/C++?

Hello, friends.
I'm studying Android development now, everything is ok, but I thought a little about the future. More precisely, about how to program for Android at a more advanced, and more specifically, low level. It's about optimizing application performance using the Android NDK.
Well, I feel ... in my gut that sooner or later I will encounter NDK, not because I have to, but also because it is very interesting to "get into the guts" of Andryushka (what did I write? Fu!).
So. There is a wonderful Go language, which, in principle, is already used in the development of Android applications. What for? They motivate by speeding up their work (I read this article on Habré). I also looked at vacancies on dice.com, and I'll tell you what. There are a lot of vacancies in the states for Android-developer with knowledge of Go.
But to look at our vacancies, it is required, traditionally (we have a traditional country in general) C / C ++. So. What is the question?
But in what, is Go suitable for Native development for Android, or to hammer in a bolt, continue to explore the jungle of C and Pros?
Here is a question.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
Oleg Gamega, 2015-10-26
@SanchelliosProg

Premature optimization is the root of all evil

C++ is a wonderful language, but a little strange .... well, at times it is very strange, but as a pioneer it is forgivable, especially considering what opportunities it gives.
But 97% of the time when developing for android, you don't need these features.
yes ... alas and ah, but it’s true, knowledge of c ++ will hardly help you in android development until you have mastered at least the android sdk at the basic level, you just won’t understand when you really need ndk and when overhead the cost will be higher than the execution speed on java.
I read an article on Habré about which you are talking ─ nonsense. Non-go nonsense, it could just as well be c++, but due to the certain yellowness of the article, it seems that go is the solution to all problems ... in no way is it a reproach to the author of the article, but it seems to me that he just wanted to play around with new technology) read the comments to the article carefully, as it often happens there is much more interesting stuff ))
Sayber ⏰ in my opinion you did not carefully read the answer of one pavel your examples of server applications. And yes, go is really just starting to develop, putting it into production is rather imprudent, android already has enough bugs to play with new ones without a serious need.
If briefly on the issue of c ++ or go, then definitely c ++ / c
If more practical .... Alexander Vasilenko do not suffer from garbage. You have testing experience, in the android world at first it will be much more valuable than C ++ experience. In most projects you will not meet with ++
Learn the basic things for android, if geography allows you, go to the office, no, look for a remote / freelance job, then you will understand what you need.

O
one pavel, 2015-10-25
@onepavel

Go is useless in android development, but knowing the pros opens up a lot of prospects

N
Nikita, 2015-10-25
@bitver

The choice of tool primarily depends on the task. Go benefits in easier and faster development in general (although there are those who would argue), but some resource management is lost, which is a tragedy in 10% of cases. What is the task? They say Java is quite enough up to the neck in full-time development.

A
Alex Isk, 2015-10-26
@fardok

native golanga for android is not. all the more there is no graph or to make interfaces. it is intended for servers and screwed QT is evil and like a goat button accordion
and there is no native or ide norms for it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question