Answer the question
In order to leave comments, you need to log in
Binary code processor everywhere? then why is there no special universal translator for thousands of processors? Or a single code standard for all CPUs?
Джава и питон не охватывают все консоли и смартфоны?
Но ведь двоичный код охватывает 99%?
Значит слишком трудно создать все планетарный стандарт двоичного кода. ? Исполняемых Инструкций двоичных для всех процессов на планете единый стандарт?
Или унифицировать все процессоры для совместимости тоже тяжело?
Может конвертор добавить?
Представьте пишешь скрипт а он определяет на чем его запустили и исходя из этого регулирует свои алгоритмы.
Чтобы не учить разные языки а просто в теле программы единого я.п. предусмотреть разные участки кода для разного железа.
Ну скромный телефон или крутой супер ЭВМ...
Вообще с совместимостью старого кода на новом скромном железе- чипе.
или супер мощном ЭВМ.. Это вообще никак ни в одном я.п. не предусмотрено?
Answer the question
In order to leave comments, you need to log in
Binary code processor everywhere?
Or is it also difficult to unify all processors for compatibility?
Maybe add a converter?
Java and python do not cover all consoles and smartphones?
Are binary executable instructions for all processes on the planet a single standard?
Or is it also difficult to unify all processors for compatibility?
In general, with the compatibility of the old code on the new modest hardware-chip.
or a super powerful computer. not provided?
Why not?
C/C++ can be compiled for almost any known architecture. And you can write the code as you described - with the definition of iron and its use.
Java is almost everywhere. Dotnet is also good and allows you to write in almost any language.
So it's too hard to create an entire planetary binary code standard
JS, C, Python - now there are already almost under the majority of consumer consumer CPU market.
The rest are catching up... Let's
take the same (as it is considered "obsolete") Pascal and look at the tools and ... it will immediately be clearly seen: Pascal is outdated or people who are trying to inspire it (Lazarus).
With the help of script instructions for the compiler (for a specific PL), you yourself can specify: which block should be executed under which architecture, and how to correctly compile into bytecode.
It is impossible to unify all processors. For example, there are RISK processors; special architecture that does not contain complex (long) commands.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question