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

Server Application .net OR VC++

Hello there,

I am currently working in .net. Now i need to know that in order to
build a server/client architecture which one is more suitable Vc++ or
..net. There is a server in our company that has been build over vc++,
now we are looking for any chances of shifting it to .net. BTW speed of
delievering messages and other networking efficiency issues are very
important. So, cud anyone give me any advice on it, or tell me
performance comparison of vc++ or .net,or tell me any link where i can
find it.

Thanks in advance..
Cheers.......

Bye

Nov 17 '05 #1
12 1239
"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hello there,

I am currently working in .net. Now i need to know that in order to
build a server/client architecture which one is more suitable Vc++ or
.net.
..Net excels in creating distributed components such as found in
client-server apps. It's certainly easier than doing them in C++.
There is a server in our company that has been build over vc++,
now we are looking for any chances of shifting it to .net. BTW speed of
delievering messages and other networking efficiency issues are very
important.


Well, the obvious question is "how fast does it need to be?" Assuming the
client and server are seperated by a network, the network lag will likely
swamp any differences in processing speed. If you can define how fast it
needs to be, then profile a .Net prototype. If it meets your targets, go for
it.

--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton
Nov 17 '05 #2
IHMO, C# is better than C++.
But since VC++ compiles to native code, and C# to MSIL,
you will loose performance migrating to C#.
"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hello there,

I am currently working in .net. Now i need to know that in order to
build a server/client architecture which one is more suitable Vc++ or
.net. There is a server in our company that has been build over vc++,
now we are looking for any chances of shifting it to .net. BTW speed of
delievering messages and other networking efficiency issues are very
important. So, cud anyone give me any advice on it, or tell me
performance comparison of vc++ or .net,or tell me any link where i can
find it.

Thanks in advance..
Cheers.......

Bye

Nov 17 '05 #3
Thanks for reply,

how fast it be?
I'm not really sure by this quest, anyway i try to explain

It's a real time system, in which thousands of messages can go through
the nerwork, and any sort of delay can be troublesome.

And i also want to know that
which is better(in the same cleint/server scenario),

having a backend of vc++ and front end .net, or
having a every thing in .net

i'm a .net programmer and wud love to find sum way of having it all in
..net without
problems of speed issues,because i believe that .net is not just about
a toolbox and drag drop

Cheers...
Bye

Nov 17 '05 #4
Thanks for reply,

how fast it be?
I'm not really sure by this quest, anyway i try to explain

It's a real time system, in which thousands of messages can go through
the nerwork, and any sort of delay can be troublesome.

And i also want to know that
which is better(in the same cleint/server scenario),

having a backend of vc++ and front end .net, or
having a every thing in .net

i'm a .net programmer and wud love to find sum way of having it all in
..net without
problems of speed issues,because i believe that .net is not just about
a toolbox and drag drop

Cheers...
Bye

Nov 17 '05 #5
Thanks For REply,

If i'l loose performance than how can C# is better than C++
Considering my scenario of client/server

Cheers....
Bye

Nov 17 '05 #6
"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
It's a real time system, in which thousands of messages can go through
the nerwork, and any sort of delay can be troublesome.


There will always be some delay. Any project where performance is critical
should have a benchmark specified right at the start, otherwise you end up
doing blue sky optimisation.

You know that Windows isn't a real time OS though, right?

--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton
Nov 17 '05 #7
As a programming languge, C# is better.
Plus, as Tim mentioned, the dot net framework is designed
to make distributed applications more easy to implement.

"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Thanks For REply,

If i'l loose performance than how can C# is better than C++
Considering my scenario of client/server

Cheers....
Bye

Nov 17 '05 #8
Thanks Again For Reply,

I think i'm not being very clear

Man i only want to know that out of the 2 options

1)having a backend of vc++ and front end .net, or
2)having a every thing in .net

in which one will the server take more time ro process a request from a
client?

and if u(Tim Haughton) or anyone know about any web links or any
paper(not very long)
which have some performance comparisons between .net and vc++
(regarding my scenario
of client/server), then plz let me know...

And BTW(Tim Haughton),

"You know that Windows isn't a real time OS though, right? "

THANKS MAN FOR "OPENING MY EYES", I REALLY DID'NT KNEW THAT...

Nov 17 '05 #9

"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Man i only want to know that out of the 2 options

1)having a backend of vc++ and front end .net, or
2)having a every thing in .net

in which one will the server take more time ro process a request from a
client?


Native C++ is faster than C#. Therefore any component written in C++ will
take less time to process a request than the equivalent component in C#.

--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton
Nov 17 '05 #10
Thanks For Reply Tim Haughton.

Nov 17 '05 #11
You won't start another language war don't you. Each language has it's
strengths and it's weaknesses, that valid for all of them. What's better for
you is not necessarely better for someone else, it depends highly on your
skills and the task at hand, some programming tasks can't/shouldn't simply
be done in C# (because it's not designed for the task at hand) or any other
managed language, while there might be others are better done in a managed
language, but not necessarely C#. Someone having years of experience in C++
won't/shouldn't move to C#, he can stay with C++ and at the same time take
advantage of both the the framework and the power of C++ when moving to
C++/CLI. Someone experienced in VBA who needs to interop/integrate with
Office applications is much better off when using VB.NET.

Willy.

"Sharon" <no**@null.void> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
As a programming languge, C# is better.
Plus, as Tim mentioned, the dot net framework is designed
to make distributed applications more easy to implement.

"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Thanks For REply,

If i'l loose performance than how can C# is better than C++
Considering my scenario of client/server

Cheers....
Bye


Nov 17 '05 #12

"batista" <sa*********@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Thanks for reply,

how fast it be?
I'm not really sure by this quest, anyway i try to explain

It's a real time system, in which thousands of messages can go through
the nerwork, and any sort of delay can be troublesome.

And i also want to know that
which is better(in the same cleint/server scenario),

having a backend of vc++ and front end .net, or
having a every thing in .net

i'm a .net programmer and wud love to find sum way of having it all in
.net without
problems of speed issues,because i believe that .net is not just about
a toolbox and drag drop

Cheers...
Bye


C++ is a language, .NET is NOT, so please be more explicit, .NET includes a
number of languages as from MS you can choose between C++, C# and VB.NET as
major languages. So if you have existing applications written in C++, I
don't see any reason to port these to .NET using another language, you can
migrate to the .NET environment and take advantage of the CLR and the
framework without changing the language, of course if the C++ skill-set is
rather limited and you have the intention to move to a managed language
because you think it will be easier to grasp, it could be a good move, but
you are the one to answer this question, also you should keep in mind that
the language is not key in .NET, it's the framework, start learning the FCL
learn the CLR it's features and it's non-features. Take care it's not
designed to solve all programming problems, try to find out why .NET has
been designed for and use it at your advantage, don't try to use it for
things it wasn't designed for, you will get disappointed.

Willy.
Nov 17 '05 #13

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

Similar topics

6
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed...
1
by: Universal | last post by:
store Images (or any Binary Data) to a SQL Server database using VC++ Can anybody help me in this Thanks in advance
2
by: J.S. | last post by:
Folks, I would like to create an application in VC# 2005 that would sit on top of IIS in Windows Server 2003 and have to capability to create forums or lists that can be accessed via the mail,...
1
by: Leonid | last post by:
Hello I have VC++ .NET 2003 ATL Server project. In one of its method I need to write some information in a local txt file. This txt file and this ATL Server are on the same ‘C: \’ drive. When...
4
by: batista | last post by:
Hello to all, I want to know that wat's the future of vc++.net? I mean is it going to remain there or not, and if does then wud there be big changes to it or they'll stick with the current one?...
10
by: rup | last post by:
Hello, This is my first application on socket programming in vc++. I am facing problem that how to make connection to server, & make GET/POST request by HTTP. Please help me. Its urgent.......
2
by: rup | last post by:
Hello, This is my first application on socket programming in vc++. I am facing problem that how to make connection to server, & make GET/POST request by HTTP. Please help me. Its urgent.......
3
by: ranishobha21 | last post by:
Hi, i have a client server program in VC++,i want to provide this client - server application on web.which program i should use whether PHP or i can convert VC++ to active X control and then...
5
by: tjaink | last post by:
Hi I have a vc++ dll and its stored in Windows directory. I am using OS Windows 2003 server. And i am using ASP Legacy application migrated from NT to Windows 2003 server. Now there is no problem...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.