Re: VB or VC++?




"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?




.



Relevant Pages

  • Re: VB or VC++?
    ... >> Is this opinion based on .Net experience? ... > But it depends on the type on database - I used Access and MSSQL srv. ... You may want to use ADO.Net with SQL Server with SQL Server Stored ... a VB.Net DLL and other user machines using the DLL as a true .Net Dll will ...
    (comp.programming)
  • General App Questions
    ... It is very database oriented. ... inability to use many local USB printers, incorrectly terminated sessions, ... We have no .Net experience. ... data from our websites. ...
    (borland.public.delphi.non-technical)