Why .net is slow

pro_1o1

New member
Регистрация
08.10.2011
Сообщения
2
Реакции
0
Баллы
1
why .net is slow
 

irender

New member
Регистрация
18.03.2015
Сообщения
8
Реакции
0
Баллы
1
Because .net has a lot of dependencies. It cannot run by itself. It needs the .net framework before you can run it.
 

IwanFuryo

New member
Регистрация
28.06.2017
Сообщения
6
Реакции
0
Баллы
1
Slow comparing to what?
 

ONIM

ex-Team DUMPz
Регистрация
26.02.2006
Сообщения
121
Реакции
182
Баллы
43
Местоположение
somewhere in time...
to accelerate application start use ngen.exe
 

AndrejKorni

Premium
Premium
Регистрация
12.08.2016
Сообщения
54
Реакции
2
Баллы
8
Your antivirus maybe deciding what to do with your files?
 

Git

Premium
Premium
Регистрация
09.02.2010
Сообщения
270
Реакции
41
Баллы
28
Native language | Родной язык
English
Because almost every command makes calls to the framework, and is range checked, memory securely allocated, checked when free, etc. Compared to direct compiled C it becomes very slow. But, you must also weigh against that how much work is being done by each line of code, and how long it would take to write the same functionality in a simple language. There are always pros and cons, nothing for free.

Git
 

AndrejKorni

Premium
Premium
Регистрация
12.08.2016
Сообщения
54
Реакции
2
Баллы
8
Exact problem you have with .Net is slow?
 

info toros

New member
Регистрация
14.10.2017
Сообщения
17
Реакции
0
Баллы
1
delphi or c# ? which one i preferred ?
 

Sarracino

New member
Регистрация
30.09.2009
Сообщения
5
Реакции
0
Баллы
1
Возраст
44
Because almost every command makes calls to the framework, and is range checked, memory securely allocated, checked when free, etc. Compared to direct compiled C it becomes very slow. But, you must also weigh against that how much work is being done by each line of code, and how long it would take to write the same functionality in a simple language. There are always pros and cons, nothing for free.

Git
and the libraries are all dynamics and very small... you can try to exclude in your av program the .net fw dir
 

Git

Premium
Premium
Регистрация
09.02.2010
Сообщения
270
Реакции
41
Баллы
28
Native language | Родной язык
English
I did not know about exclusions, thank you.
 

gulliver13

New member
Регистрация
19.10.2010
Сообщения
28
Реакции
0
Баллы
1
On most computers the difference should be negligible..
 

AbdulAbdalla

New member
Регистрация
03.09.2009
Сообщения
18
Реакции
3
Баллы
3
Возраст
36
.NET is not native code. It gets compiled to an intermediate language which is then JIT compiled during execution. That of course takes more time than executing native code in the first place.
 
197 157Темы
634 127Сообщения
3 618 350Пользователи
LizzatransНовый пользователь
Верх