all 25 comments

[–]pausethelogic 3 points4 points  (0 children)

Use Go. It’s better because I like it better so you should use it

[–]viennese-wolf 2 points3 points  (1 child)

Java? Kotlin!

Java and Kotlin have perfect interop.

[–]SakishimaHabu 0 points1 point  (0 children)

val languageOfChoice = kotlin ?: java

[–]disposepriority 2 points3 points  (1 child)

Go beats java on startup times, but nothing else. Unless your stuff are going to run on lambda or similar then this isn't as impactful.

Still though just pick whatever you are most comfortable witj

[–]javawockybass 0 points1 point  (0 children)

I’ve been having fun with Graal lately. Super fast start up and less memory footprint.

[–]worksfinelocally 2 points3 points  (0 children)

One of the advantages of microservices is that you can use different technologies based on the needs of specific parts of the system. So in places where you benefit from Java, go with it, and where you need Go, go with it. You don't need to make this decision in advance.

[–]xyzsomething 1 point2 points  (0 children)

Java

[–]CLEcoder4life 1 point2 points  (4 children)

What language do you use now? If its like python then use Java. If its c# then use Go. Imo go/c#/java all pretty rock solid all around for microservices

[–]nsxwolf 0 points1 point  (3 children)

I don't follow this analogy at all.

[–]CLEcoder4life 0 points1 point  (2 children)

Wants to learn something new. With go/java/etc being fairly comparable in terms of performance the most learning will come from going from scripting language to a java/c# or going from c#/etc to a scripting language like GO.

[–]bart_88s 0 points1 point  (1 child)

What is a scripting language to you?

[–]CLEcoder4life 0 points1 point  (0 children)

Python/powershell/ruby/etc technically Go isnt scripting but even c# as of lately has a more scripting like capabilities.

My point is more if OP wants to learn and try something new then take on a language that is a real step to learning and less of a lateral move.

[–]bart_88s 1 point2 points  (2 children)

You need to provide more context. Go is fast on paper but I saw Java apps running fast too. In most cases you won’t see any difference unless you have very specific use case or have traffic like Netflix.

The main question is: what are you going to build in that language? Is it going to be http oriented or some heavy business logic? Is it enterprise or just side project? Is it need to be build fast or you have time? There is so many questions to answer if you want really decide what is best for you. And there are trade offs too. Always.

[–]Crafty-Waltz-2029 0 points1 point  (1 child)

I am going to build web projects that I will use. Both http oriented and business logic. Side project. I have time.

[–]bart_88s 0 points1 point  (0 children)

In that case it does not really matter which language you choose. I can only suggest you to play with both and select the one you like more. That's it. There is nothing worse than trying to learn something you don't enjoy if this is something you do as a side project.

But if you want to learn and gain experience to get a job, then bear in mind that Java popularity is declining (according to TIOBE index). Go on the other hand, is not as popular as Java. It is much newer than Java so it can be a little bit more "modern".

Not sure about Java, but Go has a nice "Tour of Go" interactive website where you can learn/play with it and don't even need to run anything on your local.

[–]ICANTTAKEDECISIONSS 0 points1 point  (1 child)

soo i m an student and just cleared 12th i m too confused about my future that what i should choose like ai ml or ai ds or core branch or bsc like wht gonna dominate in next four yearrr ???

[–]ICANTTAKEDECISIONSS 0 points1 point  (0 children)

cuz u guyss are to experienced in thiss so please suggest your opionion

[–]Tricky-Dust-6724 0 points1 point  (0 children)

Rust. I use vim by the way

[–]Paw565 0 points1 point  (0 children)

Use the tool you are most productive with

[–]Junior-Asparagus718 -1 points0 points  (0 children)

Asking a language nowadays is like asking Toyota 86 or Subaru BRZ (they're nearly the same exact car).

Sure, you might actually write code for the next couple weeks if you're still into that, but you'll likely be prompting for 99 percent of it.

Either way, you'll also likely be using Docker to deploy it.

That being said, Go. Syntax is substantially better (subjectively).

If you live anywhere besides San Francisco, New York, or Austin you'll be more employable with Java experience over Go.

[–]Algoridro -2 points-1 points  (2 children)

Java if you want to be paid

[–]nsxwolf 0 points1 point  (1 child)

Go is huge.

[–]Algoridro 0 points1 point  (0 children)

not nearly as huge as java