|
ok, you are completely right that with c++ there are things that you can do that with other languages (including c#) you cannot, but let's take a real world scenario:
A client come in your company and say to you that he has a problem in his work. He uses a very messy excel file so he can write down his clients and his providers and calculate the economic data of his company. So he asks you to build for him a program that can do the same thing as the excel file and some things beyond that, he wants to have access to his main data with his pocket pc and a gprs connection and he wants also a very small solution to do some things over the internet. So, first of all you are going to use a db (mostly SQL server or anything else) to build your db, also you need to build the windows program that is going to do the job,(add clients,providers,money transactions...) also you are going to use an always on connection and setup an IIS to host the site and some web services for the pocket pc (http without soap is better because of the low amount of data it transfer over the low and expensive gprs connection), after that you are going to build the UI for the pocket pc with the .NET Compact Framework and you are going to easily use the web services on the server.
If you want to build this with c++, it's sure it will be done, and it will be faster than c#. The only thing is that you are not going to build it because your client will have gone to another software house, and that's because they are going to deploy the solution using c# and .NET framework in the half time and with half of the money.
So i agree completely that with c++ there are no limits, you can do everything!!! and for scientific purposes is far the best. If you want to build an algorithm that has lot of math and very large amount of memory to use c++ is the ultimate tool, but if you want to build software for business ,i think (IT'S MY OPINION) that is a very wrong decision to use C++.
I hope i was clear in my text!
From Greece:
Dimitris Iliopoulos
dimilio@yahoo.com
|
|
|
|
|
Hey, I hope I didn't sound flaming in my previous post, my apologies if I did. I think we basically agree. C# and Java have real advantages in web-based apps; the team I work in uses Java routinely for such systems, and our productivity is high.
What I actually dislike is people saying that C# is as powerful as C++ or that (God forgive them) "language does not matter" --the latter oftenly in connection with .NET. Much of C#'s power comes not from the language itself but from the huge array of facilities revolving around the language, much like J2EE and Java. But if we are speaking about languages, I yet have to see something one can write more expressively in C# than in C++. You see, I don't program for money anymore (though I work in a software house), so basically I approach programming for fun. And C++ is a lot of fun.
OTOH, there are extra-language considerations when developing systems: in web-based business apps frameworks like .NET and J2EE, as you point out, can be the option of choice.
Best,
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
If you're just counting then the optimizer will remove the loop altogether, which would leave you nothing but process creation/destruction overhead.
If you're writing each number to a file or something, you'll probably spend more time actually writing the numbers than counting them. (and I would not be surprized if VB was faster at text io; no standard library, so it can go strait to win32)
Of course, with a test that simple, it might take so little time that you don't have enough resolution on your timer to meaningfully time it.
|
|
|
|
|
what about malloc ??? That one is slow in comparison with C#. Brings us back to the discussion about speed.
Use what you like and looks handy for the job.
Greetings....
|
|
|
|
|
|
I think they probably will run a dead heat. Both have about an equal number of annoyances vs. useful features.
"I'd be up a piece if I hadn't swallowed my bishop." Mr. Ed, playing chess
|
|
|
|
|
So who's the poor sap that wrote in "FORTRAN"?
"I'd be up a piece if I hadn't swallowed my bishop." Mr. Ed, playing chess
|
|
|
|
|
Where are the ckeck of LOGO and QBASIC???
Carlos Antollini
Do you know piFive[^] ?
|
|
|
|
|
I think we need a LOGO.NET!
|
|
|
|
|
|
Or Lego.NET ?
Maxwell Chen
|
|
|
|
|
OK what happened to CListCtrl? Is no one using that anymore? Not good enough to be entered to the survey anymore?
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|
|
dabs wrote:
OK what happened to CListCtrl? Is no one using that anymore? Not good enough to be entered to the survey anymore?
It got boring.
And in this survey, it's almost a sensible answer - where's the fun in that?
--
Ian Darling
"The different versions of the UN*X brand operating system are numbered in a logical sequence: 5, 6, 7, 2, 2.9, 3, 4.0, III, 4.1, V, 4.2, V.2, and 4.3" - Alan Filipski
|
|
|
|
|
It's like the redesign of a website: Most companies do it only because the current design is getting boring to THEM. But to their customers it would be helpful to stay what they used to.
So is with <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_MFC_CListCtrl.asp" style="text-decoration:underline">CListCtrl</a> (for which I actually voted here): Just because it's getting boring to you/us, this is NO reason to get rid of
--
- Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html
- See me: www.magerquark.de
- MSN Messenger: uwe_keim@hotmail.com
|
|
|
|
|
It's soooo terrible to work on this project with VB 6 .
I miss the inheritance, ADO.NET, reflection, C# - just everything. Thank god, that this is the last version which is developed in VB 6. The next version will be written in C#.
|
|
|
|
|
Looks like the transition from VB to VB.net is too big, people are probably moving to C#?
I am that is
|
|
|
|
|
Or just too ashamed to check it...
I did not check it on a technicality i.e. Others in the office do the VB.NET projects, the boss knows I have alergic reactions to it.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"All Corvettes are red. Everything else is just a mistake."
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
And there are probably many people running VB6 still, as only.. at least my friends do.. :/
|
|
|
|
|
Gronalund wrote:
And there are probably many people running VB6 still
Yep, just to test the activex controls they've written in mighty VC6
|
|
|
|
|
Something that I think we as programmers forget is that Programming is a business. Either you work in a cost center and you have to minimize you cost while adding the most value to the business, or you work in a profit center (as I do) and your focus is on the P&L. VB6 is here to stay for a while because from a business perspective it doesn't add a lot of value to a business to change technology just because you can. Especially if you end up with the same application you have in older technology.
|
|
|
|
|
The place that hired me as a consultant was afraid to go to .NET so they wanted everything done in VB6 so that their mainframe programmers could eventually figure the code out.
However, I have been making sure that I fully qualify everything so that it makes it easier to convert to .NET in the future.
But I must say I have been learning C# since January 2004 and I'm pretty well hooked.
Fear is the mind killer. so most of you have everything to worry about, know don't you!
|
|
|
|
|
See, deep down, you are a programmer
Jonathan 'nonny' Newman
blog.nonny.com [^]
|
|
|
|
|
I moved from VB6 to C#, because I knew that the .NET learning curve was big enough that I may as well throw myself in the deep end and learn a new language in the process. I'm glad I did, and I must say that I prefer it over VB.NET (just slightly).
That said, I use VB.NET too, and the VB6 projects that I know of are migrating to VB.NET. So, no I think most VB6 people will stay with VB language.
|
|
|
|
|
I contract therefore I do what I am told...
personally I prefer C#.
|
|
|
|
|
I would contract if I knew I 6month+ of VB work lined up, I'd rather be unemployed
I am that is
|
|
|
|