answersLogoWhite

0

You cannot. The only programming language understood natively by a machine is its own machine code. Every architecture has its own variant of machine code and for good reason. Just as the machine code for a piano player would make little or no sense to a Jacquard loom, the machine code for a mainframe would be impractical for a smart phone. Each machine has a specific purpose and therefore has its own unique set of opcodes to suit that purpose. Although some of those opcodes will be very similar and may have the same value associated with them, they won't necessarily operate in exactly the same way, so the sequence of opcodes is just as important as the opcodes themselves. Thus every machine not only has its own machine code it also has its own low-level assembly language to produce that machine code.

We could argue that we only need one high-level language, of course, but then that one language would have to be suitable for all types of programming on all types of machine. This is quite simply impossible, because some languages are better suited to certain domains than others. For instance, Java is an incredibly useful language because it is highly portable, but it is only useful for writing application software. It is of no practical use when it comes to writing operating system kernels or low-level drivers because all Java code is written against a common but ultimately non-existent virtual machine. If it were possible to write an operating system in Java, the extra level of abstraction required to convert the Java byte code to native machine code would result in far from optimal performance; never mind the fact you need to an interpreter to perform the conversion in the first place.


C++ is arguably more powerful than Java because it is general purpose and has zero overhead. Other than assembly, there is no other language capable of producing more efficient machine code than C++. However, C++ isn't a practical language for coding Artificial Intelligence systems; for that we need a language that is capable of rewriting its own source code, learning and adapting itself to new information. C++ is too low-level for that.


The mere fact we have so many high-level languages is testament to the fact we cannot have a single language across all programming domains. Languages are evolving all the time, borrowing ideas from each other. If a domain requires multiple paradigms for which no single language can accommodate, we can easily interoperate between the languages that provide the specific paradigms we need, possibly creating an entirely new language in the process. That's precisely how languages have evolved into the languages we see today.

User Avatar

Wiki User

10y ago

What else can I help you with?

Continue Learning about Engineering

What are the application domains of programming languages?

various area of application in computer application in business


Why C programming language can be used to solve different problem domain?

in case of the c languages we are very flexible to to solve the problems in the step by step order (because of using the c-functions,other variables,other operators), debugging also so very easy because trace the exact steps which are given in the problem domains.


How perl is used?

Perl is a versatile programming language primarily used for text processing, system administration, web development, and network programming. Its powerful regular expression capabilities make it particularly effective for tasks involving data manipulation and reporting. Additionally, Perl is commonly employed for automation scripts and in bioinformatics due to its ability to handle large datasets efficiently. Its flexibility and extensive library support allow developers to quickly prototype and deploy applications across various domains.


What disciplines of engineering are the least programming intensive?

The umbrella answer is that any field of engineering which does not deal with computers or automation will have the least programming. This includes civil and structural engineering (building bridges and other infrastructure) and geotechnical and mining engineering. However, you should expect to use programs as a user in all engineering domains, i.e. Autocad, etc.


The magnetic field or force seems to be associated with the lineup of?

Domains inside the magnetic

Related Questions

Why does the programming domains affect the concept of programming language?

The domain affects the way we express solutions to problems. A language that closely reflects the problem domain makes it much easier to express the solution.


What are the different programming domains?

The different programming domains are text processing, expert systems, Theorem proving, General purpose applications, Rapid software prototyping, Financial time series analysis, Natural language processing, Artificial Intelligence reasoning, Relational database querying, Theorem proving, Systems design and implementation, Application scripting, Domain-specific applications, Programming education, internet, Numerical mathematics, Statistical applications, Symbolic mathematics, and Matrix algorithms, There are a few other types of domains but these are the ones that are always used.


What are the task domains of AI?

Some task domains of Artificial Intelligence (AI) are perception, speech, and vision. Other task domains for AI are natural language and translation.


What are the application domains of programming languages?

various area of application in computer application in business


What did eclid do?

Eclid or the European Cultural and Linguistic Internet Domains aims to give language and cultural websites high level domains. It is used to promote culture and linguistic studies online.


What is the UM L of Trading Systems?

Taken from wikipedia: The Unified Modeling Language (UML) is a general-purpose modeling language for software-intensive systems that is designed to support mostly object oriented programming. Consequently, in contrast to DSM languages, UML is used for a wide variety of purposes across a broad range of domains. The primitives offered by UML are those of object oriented programming, while domain-specific languages offer primitives whose semantics are familiar to all practitioners in that domain.


What has the author Abraham Berman written?

Abraham Berman has written: 'Cones, matrices and mathematical programming' -- subject(s): Convex domains, Matrices, Programming (Mathematics) 'Nonnegative matrices in the mathematical sciences' -- subject(s): Non-negative matrices


What are the 3 Domains of language?

form, content, use Phonology, grammar and semantics.


What jobs use domains and range and how do they use it?

Domains and ranges are commonly used in fields such as mathematics, computer science, economics, physics, and engineering. In mathematics, domains and ranges help define the inputs and outputs of functions, which are essential for solving equations and analyzing data. In computer science, domains and ranges are used in programming to determine the scope and limits of variables and functions. In economics, domains and ranges help model relationships between variables in economic systems. In physics and engineering, domains and ranges are crucial for understanding the behavior of physical systems and designing solutions based on specific input-output relationships.


Explain the domains of cognitive in psychology assignment?

The domains of cognition in psychology refer to different aspects of mental processes such as attention, memory, language, problem solving, and decision making. These domains help psychologists understand how individuals perceive, think, and behave in various situations. By studying these domains, researchers can gain insights into how cognitive processes work and how they influence behavior.


How do you interpretations in observation by there domain and theiries?

how do you do interpretation in a observation by their domains and theories through physical,social,cognitive, and language development.


What has the author Roberto M Amadio written?

Roberto M. Amadio has written: 'Domains and lambda-calculi' -- subject(s): Lambda calculus, Semantics, Programming languages (Electronic computers)