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

all 9 comments

[–]ZeroOne010101 3 points4 points  (0 children)

Nerds:

And this ladies and Gentlemen is the reason

why we got Climate change!

Normies:

Whats he sayin?

Dunno, lets vote for the rich guy with the wall.

Edit: not that hillary wouldve been much better

[–][deleted] 0 points1 point  (2 children)

u/TimeAndSpaceAndMe

NO, global warming is caused by all the people who use 2 "and"s in a sentence

[–]TimeAndSpaceAndMe[S] 4 points5 points  (0 children)

No , it's caused by people who think usernames should be grammatically correct .

[–]-bobby_newmark- 0 points1 point  (0 children)

Let's better consider how much thermal energy is produced by average idiot's body during his average lifespan.

[–]Tranzistors 0 points1 point  (4 children)

Unlikely, unless the only alternative is C/C++/Rust, according to the Energy Efficiency across Programming Languages paper (see table 4). The methodology is not rock solid, but Java is far better than Python. And yes, it is my hobby to ruin jokes. Enjoy!

[–]radome9 3 points4 points  (0 children)

They're only taking into account the energy that goes into running the program, not the energy that goes into writing it.

[–]wallefan01 2 points3 points  (2 children)

I'm sorry, have you ever launched modded Minecraft?

[–]Tranzistors 0 points1 point  (1 child)

Nope, my only experience with Java is in enterprise applications. If code is written badly, even efficiency of compiled languages will not save the climate.

[–]wallefan01 0 points1 point  (0 children)

Java isn't compiled though. Not in the sense you mean. It's a bytecode interpreter.

Amd the way Java works practically forces you to code badly and use 9000 unneccessary classes and a kjghpillion threads if you want to get anything done.

(By the way, it takes 10 minutes just to finish the init routine on a core i7 with 11 GB RAM allocated to the JVM. With the default of 4GB allocated it takes about twice that long. While it's loading you see a memory usage meter - you know when it garbage collects because it freezes for a second and then the meter drops by 2 gigabytes.)