Re: VB or VC++?
- From: "pemo" <usenetmeisterr@xxxxxxxxx>
- Date: Mon, 28 Nov 2005 17:58:37 -0000
"Ufit" <kot_tmp0SPAMSPAM@xxxxxxxxxxx> wrote in message
news:dmffhb$gd1$1@xxxxxxxxxxxxxxx
>
> "Richard Heathfield" <invalid@xxxxxxxxxxxxxxx> wrote in message
> news:dmecrb$386$3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Ufit said:
>>
>> >
>> > "iftg" <iftg@xxxxxxxxx> wrote in message
>> > news:1132910400.953238.24710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> >> We are about to launch a project that will involve stroring and
>> >> processing large volumes of data. Algorithms that require significant
>> >> calculation time will have to be run. Data processing time might be
>> >> critical sometimes.
>> >> SQL is supposed to be used.
>> >> Which of the languages VB.net or C++.net would you recommend to use
>> >> for
>> >> user interface and applications?
>> >
>> > Definitely VC++ - faster code with no doubt about it.
>> > For very simple interface VB and for complex - VC++.
>>
>> Is this opinion based on .Net experience? I haven't found significant
>> speed
>> differences between VB.net and VC++.net. I would certainly agree that,
>> pre-.Net, VC++ has the edge over VB.
>>
>> --
> I benchmarked large database searches using VB.NET and VC++ apps.
> VC++ was always faster by 30% - (v6.0) - v8.0 when customized compilation
> was able to reach times even 50% shorter than VB. Used simple classes
> like CRecordset with ODBC. The fastest was ADO on MS Jet 4.0.
> But it depends on the type on database - I used Access and MSSQL srv.
> Greets.
Interesting!
Don't know much about .NET, but I'd be very interested in understanding why
this is so [really].
For example, calling into some search API, using either language, should
result in no noticeable difference - so I assume there's more to it than
this in your code, i.e., that the VB/VC code is having to do some
pre/post-processing in order to prime/return the search results?
Could you possibly post any sample code - that contains just 'the meat',
i.e., where before the search is done, things are equal [the 'timer' is
started in both cases at zero if you like], but where after the search is
completed, the time the VB code takes is seen to be longer than the C++
code?
.
- Follow-Ups:
- Re: VB or VC++?
- From: Ufit
- Re: VB or VC++?
- From: niklasb
- Re: VB or VC++?
- References:
- VB or VC++?
- From: iftg
- Re: VB or VC++?
- From: Ufit
- Re: VB or VC++?
- From: Richard Heathfield
- Re: VB or VC++?
- From: Ufit
- VB or VC++?
- Prev by Date: Re: VB or VC++?
- Next by Date: Re: New
- Previous by thread: Re: VB or VC++?
- Next by thread: Re: VB or VC++?
- Index(es):
Relevant Pages
|