|
What is the difference between object code, machine code and assembly code?
Can you give a visual example of their difference?
Started by Simucal on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
"Machine code processing unit."
Basically, assembler....
"An assembly language is a low-level language for programming needed to program a particular CPU architecture."
Machine code is discussed here .
Assembly code is discussed here .
|
|
When the user visits the site, I can get their country code. I want to use this to set the default language (which they can later modify if necessary, just a general guess as to what language they might speak based on what country they are in).
Is there...
Started by kaleidomedallion on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This approach occasionally errs because the default language.
Www.nationsonline.org/oneworld/country_code_list.htm
...and language codes: http://www.ethnologue.com code) may be an easy and safe choice...
|
|
If I can do this, how do I call Java code (methods for instance) from within JavaScript code, in Wicket.
Started by AndreiC on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can either manually code the js to hook into the wicket js, or you can setup the callbacks AbstractDefaultAjaxBehavior() { @Override protected void respond(AjaxRequestTarget target) { // your code here call back code to....
Backs.
|
Ask your Facebook Friends
|
Hi I like to know is JVM open source code? If not then how can I get the code of JVM?
Answer Snippets (Read the full thread at stackoverflow):
If you use the OpenJDK JVM, then you can get the source code from http.
The source code for the Sun jdk is available ón the jdk download page entirely on which JVM you use.
You need it for.
|
|
Is C# code faster than Visual Basic.NET code, or that is a myth?
Started by Zanoni on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
To test this take your code and run why you don't move some code over to ....
The only reason that the same code disable that then the resulting IL is likely to be identical.
So they both are the same in performance where it counts .
|
|
Can someone tell me what the code equivelant in VB.Net to this C# code is?
new {name="value"}
Started by Tom Anderson on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This is called Anonymous Types and the VB equivalent is :
New With {.Name = "value"}
Thanks a TON. .
That feature is called an anonymous type.
|
|
Hi,
I need help to replace all \n (new line) caracters for
in a String, but not those \n inside [code][/code] tags. My brain is burning, I can't solve this by my own :(
Example:
test test test test test test test test [code]some test code [/code] more...
Started by Matías on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Pseudocode):
stack elementStack; foreach(char in string) { if(string-from-char == "[code]") { elementStack.push("code"); string-from-char = ""; } if(string-from-char == "[/code]") { elementStack.popTo("code"); string-from-....
|
|
I was wondering if there's some special way to compile high-level code (preferably from c/c++ or java) to get the corresponding assembly code.
Answer Snippets (Read the full thread at stackoverflow):
If you want to see the C code together with the assembly it was converted are quite different in that C and....
Can dump an assembly listing using -S switch - it will emit the assembly code to a file with a .s code on the file foo.s.
|
|
I'm working with a code base, which in places has code 10 years old. The code has undergone numerous additions, changes, editions, and refactorings without the removal of any code, or modules which are no longer required. As a result, the code base is...
Started by flungabunga on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Removal and re-architecture of spaghetti code....
Hey there,
There are tools that help you identify dead code paths in your code and classes/methods since you're going to be cutting a ton of code out of your code base anyway.
|
|
Hello , Which code-Analyzer or Code-Review tool do you suggest ,
For Analyzing DotNet 2.0 & 3.5 code and getting
All classes , Methods , Properties , Instances , Definition , Databases & and their relation to code ,
I want to get print-ready Information...
Started by Sypress on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Doxygen can analyze your source code.
This may not give you the print-readiness you need.
The Code Metrics add-in will give you good quality metrics.
Maybe NDepend ?
Reflector is very good and free.
|