calling convention
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
whenever a java method is called, in which order the parameters passed to the method r accessed by compiler?
like in "C" program when a function is called the parameters r pushed into a stack & then passed so the compiler accesses it in reverse order.
in a pascal program they r accessed by compiler in the order they r passed to the method.
in java what happens?
like in "C" program when a function is called the parameters r pushed into a stack & then passed so the compiler accesses it in reverse order.
in a pascal program they r accessed by compiler in the order they r passed to the method.
in java what happens?
Thanks, Parag
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I consider it part of the value of Java that I don't know that.
You can tell the compiler to spit out the generated byte code for you to read and find out for sure.
You can tell the compiler to spit out the generated byte code for you to read and find out for sure.A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
By the time your method sees them, the values aren't on the call stack anymore, so the answer is effectively "neither". All parameters are passed in what amount to the registers of the VM.
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
compiler, compiler, compiler?
And please don't use cryptic 'r' instead of 'are' and so on...
And please don't use cryptic 'r' instead of 'are' and so on...
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
and whatever happened to the word "the"?
and to the correct order of verbs and nouns?
and to the correct order of verbs and nouns?
42
posted 20 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Being no native english speaker, I can not criticize the wrong order of nouns and verbs, because I know it is sometimes hard for us, because in our languages they are ordered differently.
Of course the sentences are hardly readable, when missing knowlegde is combined with slang.
Thx 4 ya patience.
Of course the sentences are hardly readable, when missing knowlegde is combined with slang.
Thx 4 ya patience.
| Not so fast naughty spawn! I want you to know about The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








