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 9197749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:08:24+00:00 2026-06-17T22:08:24+00:00

How is it possible that many popular programs, such as Microsoft Office, are written

  • 0

How is it possible that many popular programs, such as Microsoft Office, are written in languages such as C, C++ and assembly yet the same installer works on any computer with the appropriate OS? Is it because the installer actually compiles the source code on the computer? Is it because AMD and Intel share basically the same instruction set?

I have heard C is portable, but in what sense is Java more portable than C? What then is the point of a virtual machine?

  • 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-06-17T22:08:25+00:00Added an answer on June 17, 2026 at 10:08 pm
    1. There is nothing inherantly nonportable about C or C++. Portability concerns only arise when calling operating system or compiler-specific functions. In the case of assembly language programming, the lack of portability is generally due to instruction set concerns. If restricting the target machine set appropriately, those portability problems may or not matter.
    2. The “appropriate OS” is a hint that portability (in the strictest sense) is not a concern, since a well-defined execution environment exists. That is, the binary provided will only run on Intel ISA machines running Windows.
    3. The installer almost certainly does not compile source code for the computer.
    4. Yes, because of the shared instruction set (and operating system in this case), the program should run equally well on both. If you tried to run that binary on a computer with a different archicture (ARM, for example), or under a different operating system (Linux, perhaps), you’d be out of luck.
    5. Java provides a bunch of APIs and a virtual machine that can (sometimes) allow code to be compiled once and then deployed on multiple architectures and operating systems. Because they abstract the interface to the system through Java API, you don’t have to worry about porting all of that code when you want to deploy on a different system. C provides only some standard libraries, but doesn’t specify a particular machine architecture.
    6. The point of the virtual machine is precisely this abstraction – instead of writing a program that compiles to code running natively in the instruction set of the host processor, you write one that compiles to code that runs in the virtual machine. The implementer of the VM takes care of the necessary translation from VM instructions to native host instructions and the translation back of the results.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: What is so bad about Singletons? It's understandable that many design patterns
Possible Duplicate: Define a method that has many (or infinite) arguments I have the
It's possible that I'm not really understanding how git works here, but I have
Many popular applications such as Wordpress, WHMCS and the majority of PHP forums allow
Is there possible that accept() (on redhat Enterprise 4/linux kernel 2.6) return a same
I have noted in the Android Market that many popular applications have backward compatibility
Somehow I've got the feeling that many projects become heavily overengineered so every possible
I noticed that many people looking for the answer to same question however they
Is it possible to have multiple has_many :through relationships that pass through each other
Is it possible that when calling multiple times this function: void Func(String spr, PictureBox

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.