Click here to Skip to main content
15,886,873 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: Wordle 946 Pin
Cp-Coder21-Jan-24 0:33
Cp-Coder21-Jan-24 0:33 
GeneralRe: Wordle 946 Pin
GKP199221-Jan-24 4:02
professionalGKP199221-Jan-24 4:02 
GeneralRe: Wordle 946 Pin
David O'Neil21-Jan-24 10:57
professionalDavid O'Neil21-Jan-24 10:57 
GeneralRe: Wordle 946 Pin
StarNamer@work22-Jan-24 12:47
professionalStarNamer@work22-Jan-24 12:47 
GeneralDoes anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 6:13
mvahoney the codewitch20-Jan-24 6:13 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
0x01AA20-Jan-24 6:17
mve0x01AA20-Jan-24 6:17 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 6:20
mvahoney the codewitch20-Jan-24 6:20 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
trønderen20-Jan-24 7:47
trønderen20-Jan-24 7:47 
For that specific question, "is the JIT compiler smart enough to resolve those repeated Ldarg_0s into register access?", you'll find the answer with magnitudes less effort (compared to learning the inner workings of a JIT compiler) by compiling and linking the code in a tiny test program, load it into VS and display the disassembly.

Another remark: JITting is essentially code generation - including loophole optimization. Code generation is inherently CPU dependent. x86, x64 and ARM require significantly different code generators. If they are developed by the same team, you can expect them to have similar overall structure, but the actual code generation may be quite different - because the CPUs are different. Significant parts may have been created by different people, each of them expert on one specific CPU. Maybe you'll see one optimization on ARM that you do not see on x86, or even the other way around. Maybe one optimization that you expected to see was omitted because it didn't give a speed increase at all, on that specific processor (remember that jitting is done for one specific CPU, e.g. utilizing instruction set extensions available on that specific chip where the jitter is running).

If I could spare the time, it sure would be fascinating to dig into the entire jitter for ARM, say, to learn how many of all the tricks in the book they have implemented. I guess it would be more or less the entire book, but not necessarily for all the latest instruction set extensions. Learning and fully understanding the entire ARM JITter would be a major task, though, way beyond finding out if one specific peephole optimization is applied on one specific CPU chip in one specific context.

Religious freedom is the freedom to say that two plus two make five.

GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 8:04
mvahoney the codewitch20-Jan-24 8:04 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
trønderen20-Jan-24 9:30
trønderen20-Jan-24 9:30 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 10:00
mvahoney the codewitch20-Jan-24 10:00 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
trønderen20-Jan-24 10:12
trønderen20-Jan-24 10:12 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 19:04
mvahoney the codewitch20-Jan-24 19:04 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
trønderen20-Jan-24 10:01
trønderen20-Jan-24 10:01 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 10:03
mvahoney the codewitch20-Jan-24 10:03 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
Amarnath S20-Jan-24 13:45
professionalAmarnath S20-Jan-24 13:45 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 15:04
mvahoney the codewitch20-Jan-24 15:04 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
11917640 Member 20-Jan-24 18:53
11917640 Member 20-Jan-24 18:53 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 18:58
mvahoney the codewitch20-Jan-24 18:58 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
11917640 Member 20-Jan-24 22:07
11917640 Member 20-Jan-24 22:07 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch20-Jan-24 23:28
mvahoney the codewitch20-Jan-24 23:28 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
11917640 Member 21-Jan-24 0:01
11917640 Member 21-Jan-24 0:01 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch21-Jan-24 0:17
mvahoney the codewitch21-Jan-24 0:17 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
Jacquers21-Jan-24 17:37
Jacquers21-Jan-24 17:37 
GeneralRe: Does anyone know of a good guide to the MSIL JIT compiler? Pin
honey the codewitch21-Jan-24 23:04
mvahoney the codewitch21-Jan-24 23:04 

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.