Click here to Skip to main content
15,887,135 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I wonder what will give me the best performance Pin
Cp-Coder12-Nov-23 1:08
Cp-Coder12-Nov-23 1:08 
GeneralRe: I wonder what will give me the best performance Pin
englebart12-Nov-23 5:00
professionalenglebart12-Nov-23 5:00 
GeneralRe: I wonder what will give me the best performance Pin
k505412-Nov-23 6:00
mvek505412-Nov-23 6:00 
GeneralRe: I wonder what will give me the best performance Pin
Jan Heckman12-Nov-23 21:01
professionalJan Heckman12-Nov-23 21:01 
GeneralRe: I wonder what will give me the best performance Pin
Cp-Coder13-Nov-23 0:42
Cp-Coder13-Nov-23 0:42 
GeneralRe: I wonder what will give me the best performance Pin
jweled13-Nov-23 1:35
jweled13-Nov-23 1:35 
GeneralRe: I wonder what will give me the best performance Pin
obermd13-Nov-23 3:43
obermd13-Nov-23 3:43 
GeneralRe: I wonder what will give me the best performance Pin
jschell13-Nov-23 7:19
jschell13-Nov-23 7:19 
obermd wrote:
I checked jar files are compiled into machine executables on the first run


I don't believe so.

First of course it would not do that to a jar file.

Classes are loaded from a jar file and then methods are run for that class.

Methods might be compiled if the VM deems it is worthwhile.

I suspect however that the 'compiled' version might have a different form than if one did the same method in C/C++ and created a binary image from it. For starters I would expect complications for accessing method variables, instance and class variables and method parameters.

As an example of that in C/C++ if one attempts to dereference a method variable that is null then the system will throw the exception. However in Java it is going to need to check that so it can throw the appropriate Java exception instead. So it cannot do it as directly as C/C++ code would.
GeneralRe: I wonder what will give me the best performance Pin
trΓΈnderen13-Nov-23 10:04
trΓΈnderen13-Nov-23 10:04 
GeneralRe: I wonder what will give me the best performance Pin
englebart13-Nov-23 7:27
professionalenglebart13-Nov-23 7:27 
GeneralRe: I wonder what will give me the best performance Pin
Shmoken9913-Nov-23 5:36
Shmoken9913-Nov-23 5:36 
GeneralRe: I wonder what will give me the best performance Pin
jschell13-Nov-23 7:22
jschell13-Nov-23 7:22 
GeneralVeterans Day PinPopular
Richard Andrew x6411-Nov-23 3:28
professionalRichard Andrew x6411-Nov-23 3:28 
GeneralRe: Veterans Day Pin
0x01AA11-Nov-23 7:36
mve0x01AA11-Nov-23 7:36 
GeneralRe: Veterans Day Pin
MSBassSinger13-Nov-23 5:43
professionalMSBassSinger13-Nov-23 5:43 
GeneralWordle 875 - 3 4 me Pin
pkfox10-Nov-23 21:07
professionalpkfox10-Nov-23 21:07 
GeneralRe: Wordle 875 - 3 4 me too Pin
Amarnath S10-Nov-23 22:00
professionalAmarnath S10-Nov-23 22:00 
GeneralRe: Wordle 875 Pin
Cp-Coder11-Nov-23 0:24
Cp-Coder11-Nov-23 0:24 
GeneralRe: Wordle 875 - 2! Pin
StarNamer@work11-Nov-23 1:19
professionalStarNamer@work11-Nov-23 1:19 
GeneralRe: Wordle 875 - 3 4 me Pin
Sander Rossel11-Nov-23 2:25
professionalSander Rossel11-Nov-23 2:25 
GeneralRe: Wordle 875 - 3 4 me Pin
GKP199211-Nov-23 4:55
professionalGKP199211-Nov-23 4:55 
GeneralWordle 875 4/6 Pin
jmaida11-Nov-23 11:55
jmaida11-Nov-23 11:55 
Generalworld 658 1/6 Pin
jmaida10-Nov-23 11:23
jmaida10-Nov-23 11:23 
GeneralSomething old, something new Pin
honey the codewitch10-Nov-23 10:20
mvahoney the codewitch10-Nov-23 10:20 
GeneralRe: Something old, something new Pin
Mike Hankey10-Nov-23 10:48
mveMike Hankey10-Nov-23 10:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.