473,322 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

.net framework speed

Hi

I'm thinking about writing a special application based on the .net framework, but I've got one important question: Is there (and if so how much) speed decrease between old-style C++ code and new managed code?

Thanks
James
Jul 21 '05 #1
4 3033
Not very much. How ever the C++ code will be bit faster than the managed code which costs that extra checks for code security and managed execution

have a look at this bench mark on 9 lanuguages compared

http://www.osnews.com/story.php?news_id=5602&page=

HT
Sudhakar Sadasivun
Microsoft .NET MVP | MCA
http://weblogs.asp.net/ssadasivun
www.mugh.ne

----- James Brown wrote: ----

H

I'm thinking about writing a special application based on the .net framework, but I've got one important question: Is there (and if so how much) speed decrease between old-style C++ code and new managed code

Thank
James
Jul 21 '05 #2
James,
The following articles provide information on writing .NET code that
performs well.

http://msdn.microsoft.com/library/de...anagedcode.asp

http://msdn.microsoft.com/library/de...anagedapps.asp

http://msdn.microsoft.com/library/de...vbnstrcatn.asp

http://msdn.microsoft.com/library/de...tchperfopt.asp

http://msdn.microsoft.com/library/de...tperftechs.asp

Hope this helps
Jay
"James Brown" <an*******@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
Hi

I'm thinking about writing a special application based on the .net framework, but I've got one important question: Is there (and if so how
much) speed decrease between old-style C++ code and new managed code?
Thanks
James

Jul 21 '05 #3
Cor
Hi James,

It depends on your application, if it is a data bound application, I think
the performance can be in both applications very good, but to get that
performance without the managed code will probably be very much more work.

(I never talk about speed in this kind of situation, because speed is
measurable and is often the reason of bad decisions, because the speed is
only a part of that)

I do not know where you live, but a plane is faster than a metro when you
can reach your destination direct with a metro, mostly that is the fastest
way to travel.

I think this kind of decisions have also too be considerate when choosing

Just my 2 eurocents.

Cor
Jul 21 '05 #4
Cor
> I do not know where you live, but a plane is faster than a metro, however
when you
can reach your destination direct with a metro, mostly that is the fastest
way to travel.

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: chiefprogramer | last post by:
How to build up a good frame for a mathematical system and it's ultra-high-speed? Althought In PHP 5 there is a new Object Model. But I think the new Object Model is still very slow >< Just...
28
by: Admin | last post by:
I am doing some research for a Python framework to build web applications. I have discarted Zope because from what I've read, the learning curve is too steep, and it takes more time to build...
0
by: Quimbly | last post by:
I recently installed the Visual Studio 2005 CTP Beta on my machine. That went fine, but when I uninstalled it (as my team later told me we were going to be working with VS2005 Beta 1), it didn't...
7
by: Nadav | last post by:
Hi I am writing some kind of a storage system that have to deal with large amounts of data passing over the net, Now, I Wonder... traditional programming would use win32 Winsock DLL as the means...
1
by: cjs | last post by:
What, besides the .NET framework, is required to run a .NET application? My nice little application with an MSChart object crashes on a computer WITH the framework installed! I'm sure it's...
4
by: James Brown | last post by:
Hi I'm thinking about writing a special application based on the .net framework, but I've got one important question: Is there (and if so how much) speed decrease between old-style C++ code and...
1
by: Sameeksha | last post by:
Hi everyone, I have observed that the ngen process appears in the list of processes in taskmgr while .net framework 1.1 gets installed. This process consumes 0-50% of cpu and 0-20K of RAM. I...
0
by: hzqij1978 | last post by:
I am a newer of Zend Framework, i write a program to test the speed of Zend Framework, code like this: /var/www/htdocs/index.php <?php require_once 'Zend.php'; require_once...
7
by: sam | last post by:
It can compile .net code to native code which can run without an installed .net framework. This would remove one of the greatest disadvantages from C#. Sounds quite interesting....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.