I
I
Ivan the Terrible2015-08-04 20:42:58
Programming
Ivan the Terrible, 2015-08-04 20:42:58

What is the fastest programming language?

What is the fastest language?
C++ programs are quite faster, for example: Sublime Text. What is the fastest programming language?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2015-08-04
Protko @Fesor

speed is given due to:
- competent construction of algorithms
- competent use of processor pipelines (elimination of conflicts in data in cycles, manual unrolling of cycles)
- competent use of vectorization of calculations (SSE, AVX, or, again, building cycles in such a way that there would be no conflicts in data if you want the compiler to do it for you).
- use of all available resources (for example, the use of GPGPU where you need to quickly calculate a lot of things and high accuracy is not required).

X
xmoonlight, 2015-08-04
@xmoonlight

The one where the project architecture is well thought out and the developer uses OOP.
1. The fastest programming language is the one you speak. For most people, this is a kind of verbal description of the actions required from the computer / system or "functional requirements" (FT).
2. The fastest executable code is machine instructions.
Let's imagine all the intermediate stages between p.1 and p.2 on a scale, where:
p.1 - maximum simplicity
p.2 - maximum speed
Now, you can move the virtual balance engine in the right direction depending on external factors (how quickly you need to do it, financial costs, competence of employees, etc.).
For GUI : Delphi/C++Builder
For 3D GUI : Unity3D ->C#
For web : C/C++/C#/Delphi/PHP
For microservices : C/C++/Python/Rust/Go/R
For GPU computing : OpenCL(CUDA and etc.)/Python/Fortran
PS: Assembler inserts are everywhere, the main thing is to understand: "how" and "what" you need them for!

R
Roman Mirilaczvili, 2015-08-05
@2ord

On Oberon, code is written quickly due to the simplicity of the language and strong typing. Most errors are detected at compile time. It compiles almost instantly. The code is very easy to read.
In terms of execution speed, it's probably at the level of the Go language.

D
Dum_spiro_spero, 2015-08-06
@Dum_spiro_spero

It is best to clarify the question - what are your tasks?
Assembler isn't that complicated at all... it's just... different.
Most high-level languages ​​are similar, and with assembler you just need a different set of knowledge - including primarily the basics of processor/computer architecture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question