473,383 Members | 1,837 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,383 software developers and data experts.

Future of unmanaged C++ ?

I can imagine that C++ will remain to have its place in a special kind of
applications (device drivers, operating systels, ...)

But what is the future of unmanaged C++ for 'normal' applications (e.g.
distributed database applications, xml webservice applications)
Can't C# be used for real time applications (statefull windows services with
persistor functionalities) at all ?
What is the pro's opinion about this ?

Thanks !
Jul 23 '05 #1
7 1900
Do you just plan on using Windows? Have you tried managed C++? It's a mess,
better off using C# if you want to develop managed code. But, unmanaged code
is far faster. Plus C and C++ is used on all OS's, very fast, and there is
ton's of code available to do just about anything you can imagine.
"Johan Jooris" <j.******@telenet.be> wrote in message
news:Iq**********************@phobos.telenet-ops.be...
I can imagine that C++ will remain to have its place in a special kind of
applications (device drivers, operating systels, ...)

But what is the future of unmanaged C++ for 'normal' applications (e.g.
distributed database applications, xml webservice applications)
Can't C# be used for real time applications (statefull windows services
with
persistor functionalities) at all ?
What is the pro's opinion about this ?

Thanks !

Jul 23 '05 #2
Ian
Johan Jooris wrote:
I can imagine that C++ will remain to have its place in a special kind of
applications (device drivers, operating systels, ...)

But what is the future of unmanaged C++ for 'normal' applications (e.g.
distributed database applications, xml webservice applications)
Can't C# be used for real time applications (statefull windows services with
persistor functionalities) at all ?


On UNIX??

Ian
Jul 23 '05 #3
Ian,

since we've chosen to develop our applications making use of a sql server
database, we are already stuck to the windows platform.
I have the impression that MS pushes development towards managed code. I
should have rephrasen the question to: what is the future of unmanaged C++
on windows platform ?
So, I'm asking myself, is it a good strategy to longer invest in unmanaged
C++ code ?
Shouldn't we leave C++ at all on windows platform, and move towards C# ?

Thanks !

Johan

no, on windows platform since we develop applications with a sql server
databse
"Ian" <no***@nowhere.com> schreef in bericht
news:11***************@drone2-svc-skyt.qsi.net.nz...
Johan Jooris wrote:
I can imagine that C++ will remain to have its place in a special kind of
applications (device drivers, operating systels, ...)

But what is the future of unmanaged C++ for 'normal' applications (e.g.
distributed database applications, xml webservice applications)
Can't C# be used for real time applications (statefull windows services
with
persistor functionalities) at all ?


On UNIX??

Ian

Jul 23 '05 #4
Johan Jooris wrote:
So, I'm asking myself, is it a good strategy to longer invest in unmanaged
C++ code ?
Shouldn't we leave C++ at all on windows platform, and move towards C# ?


And, is vendor lock-in good or bad for us?

Jul 23 '05 #5
Johan Jooris wrote:
Ian,

since we've chosen to develop our applications making use of a sql server
database, we are already stuck to the windows platform.
I have the impression that MS pushes development towards managed code. I
should have rephrasen the question to: what is the future of unmanaged C++
on windows platform ?
So, I'm asking myself, is it a good strategy to longer invest in unmanaged
C++ code ?
It seems that Microsoft is decoupling .net from Longhorn.

http://www.theregister.co.uk/2005/05...tnet_longhorn/

My guess is that apps written on .net are much bloatier than those
written natively. Anyone got any experience of this?
Shouldn't we leave C++ at all on windows platform, and move towards C# ?
I would certainly favour C# instead of mangled (sorry, I mean managed)
C++. Personally I think that mangling the language is going too far.
Library support and templates for managed pointers would probably be
more palatable to most C++ developers. Most C++ developers are used to
programming without GC, the two paradigms are different. I also favour
portable code.

Calum
Thanks !

Johan

no, on windows platform since we develop applications with a sql server
databse
"Ian" <no***@nowhere.com> schreef in bericht
news:11***************@drone2-svc-skyt.qsi.net.nz...
Johan Jooris wrote:
I can imagine that C++ will remain to have its place in a special kind of
applications (device drivers, operating systels, ...)

But what is the future of unmanaged C++ for 'normal' applications (e.g.
distributed database applications, xml webservice applications)
Can't C# be used for real time applications (statefull windows services
with
persistor functionalities) at all ?


On UNIX??

Ian


Jul 23 '05 #6
Calum Grant wrote:
My guess is that apps written on .net are much bloatier than those
written natively. Anyone got any experience of this?


At University we should develop a small parser for textfiles which goes
through the file and picks every word it finds and inserts it in a
Hashtable.
We got a file to test our program which was 160 MB big.

I wrote the program in C++ and needed 23 seconds to parse this file.
i wrote the hashtable, the parser and the linkedlist all by myself for
later statistical evalutaion.

A similar program which was written in C# needed 75 seconds for the same
file.

You see the difference ;)

Manfred
Jul 23 '05 #7
Manfred wrote:
Calum Grant wrote:
My guess is that apps written on .net are much bloatier than those
written natively. Anyone got any experience of this?

At University we should develop a small parser for textfiles which goes
through the file and picks every word it finds and inserts it in a
Hashtable.
We got a file to test our program which was 160 MB big.

I wrote the program in C++ and needed 23 seconds to parse this file.
i wrote the hashtable, the parser and the linkedlist all by myself for
later statistical evalutaion.

A similar program which was written in C# needed 75 seconds for the same
file.

You see the difference ;)

Manfred


granted C++ apps tend to be faster than C#/Java etc. but we should keep
in mind its just as easy to write slow inefficient apps in C++ as other
languages.

Your similar program may not have been written in an optimized way - or
may have...

Can you tell us your impressions of the design quality of both apps WRT
performance optimisation?
Jul 23 '05 #8

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

Similar topics

35
by: GTO | last post by:
I do not believe that C# is the future of C++. I also do not believe that adding two thousand new library functions to the standard library is the future of C++. But what is the future of C++? Is...
26
by: puzzlecracker | last post by:
I was wondering what people think about the future (if any) for C++. How long do you think it will be marketable for and how would it market value stand against other powerhouses (!!!) such as Java...
2
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed...
9
by: Jason Vene | last post by:
I've looked at recent posts and not found material, but I'm new to the board, so please forgive if this thread has come up before. I'm facing a conundrum about development of business...
1
by: Sparhawk | last post by:
Hi, my company is going to migrate a large VC++ application to .NET to make use of Windows Forms (the old class library is not updated any more). We are not planning to migrate the rest of the...
6
by: marek | last post by:
Hello All, we are doing a quite a big project that contains at the lowest level an unmenaged c++ classes. Above it there are managed wrappers and at the top there are ASP.NET pages. Can anyone...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
6
by: Stephen Walch | last post by:
Our application environment consists of three basic layers: 1. Third-party unmanaged DLLs that were written before the CLR was invented and maintain a significant amount of information (including...
5
by: akash | last post by:
I'm having problems calling an unmanaged class from a managed wrapper. I suspect I'm missing something obvious, as I'm unfamiliar with C++ and classes are very simple. My unmanaged class is as...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.