Y
Y
Yuriy Berg2015-08-31 18:56:42
Programming
Yuriy Berg, 2015-08-31 18:56:42

How is a program written for a particular system?

Hello, this is a question of interest :-) How are programs created under Windows OS? That is, a programmer who prefers OS X or Linux will not be able to create a program under Windows? If the answer is no, how are cross-platform programs created?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Volintsev, 2015-08-31
@art_haacki

There are solutions.
The general part is written using libraries (SDK). The program code is the same for all platforms. Almost one. And this SDK has a second part - the compiler, which ensures the execution of the program on a specific platform. You need to either compile your program code for each platform, or this second part is involved in converting the intermediate code (bytecode) to a specific processor.
For mobile: An overview of the 7 most popular cross-platform mobile... , Choosing a multi-platform development engine... and part 2
And this one more: www.develop-online.net/tools-and-tech/the-top-16-g ...
In Google, search for phrases:
cross-platform game engines
cross platform mobile development

M
mamkaololosha, 2015-08-31
@mamkaololosha

You have the Dunning-Kruger effect

V
Vladimir Martyanov, 2015-08-31
@vilgeforce

Programs are taken and written. If you write the program correctly, it will be able to run on another OS.

A
Armenian Radio, 2015-08-31
@gbg

We put the cross-compiler and forward. Testing is really hard. This is if the platform is native. And if it's a script (js, php, python,...), he almost doesn't care where to work.

C
Curly Brace, 2015-08-31
@stasuss

A cross-platform program is a program that has versions for several platforms. as a rule, compilation occurs using a compiler on a specific platform (i.e., for each platform, a separate native build environment).
so that the development goes on the platform on which it is convenient. then testing is carried out on other platforms, glitches are fixed and the final assembly for each platform takes place.
there are cross-compilers (we wrote above), but this is a tin and what for it is not necessary) on the one hand, you can collect on one system for several platforms, on the other hand, this does not work for the development process itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question