Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1112203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:40:21+00:00 2026-05-17T02:40:21+00:00

In any programming environment,what ever the data type I am going to choose finally

  • 0

In any programming environment,what ever the data type I am going to choose finally the CPU will do only the Arithmetic operations(addition/logical operations).

How this transition(from user defined data type/operations to CPU instruction set) happens and what is the role of compiler,interpreter,assembler and linker in this life cycle

Also how OOPS handles this mapping since the worst case mostly all are objects in OOPS(I mean the Java language)..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:40:21+00:00Added an answer on May 17, 2026 at 2:40 am

    Java source –> native code translation actually happens in two distinct steps: the conversion from source code to bytecode at compile time (that’s what javac does), and the conversion from bytecode to native CPU instructions at runtime (that’s what java does).

    When the source code is being “compiled”, the fields and methods get condensed into entries in a symbol table. You say “System.out.println()”, and javac turns it into something like “get the static field referenced by symbol #2004, and invoke the method referred to by symbol #300 on it” (where #2004 might be “System.out” and #300 might be “void java.io.PrintStream.println()”). (Note, i’m way oversimplifying — the symbols look nothing like that, and they’re split up a bit more. But they do contain that kind of info.)

    At runtime, the JVM looks at those symbols, loads the classes referred to in them, and runs (or generates, if it’s JITting) the native instructions necessary to find and execute the method. There’s no real “linker” in Java; all the linking is done at runtime, based on the classes referenced. It’s a lot like how DLLs work in Windows.

    JIT is about the closest thing there is to an “assembler”. It takes the bytecode and generates equivalent native code on the fly. The bytecode isn’t in human-readable form, though, so i wouldn’t normally count the translation as “assembling”.

    …

    In languages like C and C++ (not C++/CLI), the story is quite different. All of the translation (and a good bit of linking) happens at compile time. Access to members of a struct gets converted into something like “give me the int 4 bytes from the beginning of this particular bunch of bytes”. There’s no flexibility there; if the struct’s layout changes, generally the whole app has to be recompiled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.