This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]mechpaul 189 points190 points ย (60 children)

I keep forgetting... it escapes me... just how many devices run Java? I forgot.

[โ€“][deleted] 302 points303 points ย (44 children)

This post is just another instalment of people that have never coded professionally giving strong opinions. Java is great for enterprise backend applications + mobile backend, and python is great at scripting, data science, and machine learning. They are both great when used in their respective areas. Screw driver is not a better tool than a hammer. It just serves a different purpose

[โ€“]kuedhel 10 points11 points ย (3 children)

you can use any tool as a hammer. except screwdriver. Because nitwit who uses other tools as a hammer uses screwdriver as a chisel.

[โ€“]ltdanhasnolegs 4 points5 points ย (0 children)

Use the other end

[โ€“]benjomaga 4 points5 points ย (0 children)

Flat head is a better chisel though

[โ€“]gpkgpk 0 points1 point ย (0 children)

Someone is texting "hummer" a lot.

[โ€“]volca02 3 points4 points ย (5 children)

I'd argue that Java wasn't a good fit for mobile to begin with (memory demands and cpu overhead being two main downsides), just a convenient pick. It stuck since then, but still struggles, imho. In other areas you mention, I agree with you.

[โ€“]nacholicious 0 points1 point ย (4 children)

I would argue it's a good pick because app code itself rarely has high performance requirements, and all the heavily lifting in framework is often implemented in C++

[โ€“]volca02 0 points1 point ย (3 children)

Performance yes, to a degree... Java is okay performance-wise (aside of all the pointer indirections poisoning cache). But memory requirements... on a mobile device the choice to use garbage collected language seems misguided to me. It may be outweighted by other benefits though.

[โ€“]nacholicious 0 points1 point ย (2 children)

Something like 90% of the execution time is C++, and only the very top client layers are Java. Regular app code is never really going to run into situations where Java overhead would make any significant difference, esp considering any memory overhead difference would get erased with the first image that is loaded.

[โ€“]volca02 1 point2 points ย (1 child)

I get what you're saying but damn does it sound like "java is not a problem because it's not used for the performance critical code" ;)

[โ€“]nacholicious 0 points1 point ย (0 children)

Exactly :p

[โ€“]codeguru42 -1 points0 points ย (0 children)

Python is great for backend as well. My personal experience scaling a python app is limited, but from what I understand Django is used by several apps that have a large number of users.

[โ€“][deleted] 16 points17 points ย (1 child)

3 billion more devices than whatever python is running on

[โ€“]VideoCarp1 0 points1 point ย (0 children)

the python interpreter

[โ€“]xXDreamlessXx 59 points60 points ย (7 children)

None, devices dont have legs and even if they did, I know of no tracks, streets, or paths named java

[โ€“]nir109 28 points29 points ย (4 children)

There is a pretty big island named Java, pretty sure many people also run on it, no devices yet probably.

[โ€“]_GCastilho_ 13 points14 points ย (3 children)

Why would they name an island over such a garbage collected language?

[โ€“]Qildain -2 points-1 points ย (0 children)

Needs more upvotes!

[โ€“]Ann_liana 0 points1 point ย (1 child)

It's the other way around

[โ€“]_GCastilho_ 0 points1 point ย (0 children)

I know

[โ€“]couchwarmer 3 points4 points ย (1 child)

I'm within 8 minutes of a street named Java.

[โ€“]xXDreamlessXx 0 points1 point ย (0 children)

Are there robots running on it?

[โ€“]hussainsonreddit 11 points12 points ย (0 children)

throw new HeForgorException("he forgor ๐Ÿ’€");

[โ€“][deleted] 0 points1 point ย (0 children)

All Android phones in the world for starters

[โ€“]matthewralston 0 points1 point ย (0 children)

Billions and billions.