[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-atl
Subject: Re: (Beware of Rant) VB vs C++
From: CGough () MICROS ! COM
Date: 2001-04-30 17:43:22
[Download RAW message or body]
Begin Rant
Don't be surprised by VB, it's a very powerful language and in some cases
faster than C++. If someone is telling you that VB is always slower than
C++, they are full of it! This perception of VB as a slower language is old
thinking. There is still a lot of resistance to VB from the C++ community (I
was one of those guys a few years ago). Do some benchmarks for yourself and
see what the actual difference is.
I don't want to get into the "good" VB code outperforms "bad" C++ code
debate, but VB is a totally legitimate and powerful development tool that is
often ignored by C++ developers.
End Rant
-----Original Message-----
From: Ramakrishna [mailto:ramakrishna@3CSOFTWARE.COM]
Sent: Monday, April 30, 2001 1:19 PM
To: ATL@DISCUSS.MICROSOFT.COM
Subject: Re: VB vs C++
Well if VB is fast I would recommend you to go with VB.
In fact I am myself amazed with something that are very fast
in VB compared
to C++.
One of the things is iostream vs
"Scripting.FileSystemObject"
iostreams (atleast VC++ implementation) perform very badly
in comparison to
Scripting.FileSystemObject. (This even includes the
conversion from ansi to
UNICODE which FileSystem Object does).
----- Original Message -----
From: "Perley P. Laliberte"
<Perley-Laliberte@FORUM-FINANCIAL.COM>
To: <ATL@DISCUSS.MICROSOFT.COM>
Sent: Monday, April 30, 2001 9:51 AM
Subject: VB vs C++
> I've created two dll's. One with VB and the other with C++
using ATL.
> The VB dll is 50% faster.
>
> The two dll's do exactly the same thing. That is save the
session state
> properties into perminate storage and restore the session
state based on a
> cookie value. Both dll's are using ADO so I ruled that out
as a slow down
> factor.
>
> C++ DLL:
> the dll is an ATL based with MTS supported as I am using
ASP intrinsics to
> access ASP app varables and Cookie values.
>
> I'm using a . The
> reverse occurs to recreate the CSimpleMap. Where can I get
information on
> IStream, HGlobal, Heap and memory manipulation in general.
The idea(which
> is out on the WEB as a property bag example) seems sound
but are streams
> and global memory inherantly slow? Are there way to speed
it up? Any
> direction will be appreciated.CSimpleMap to store the
property pairs. When
a session ends the
> CSimpleMap is read into a stream stored in global memory
and converted
into
> a single dimension safearray and stored in an SQL DB as an
image
>
> Perl
>
>
----------------------------------------------------------------
> Users Guide
http://msdn.microsoft.com/workshop/essentials/mail.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe,
mailto:ATL-signoff-request@DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide
http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe,
mailto:ATL-signoff-request@DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:ATL-signoff-request@DISCUSS.MICROSOFT.COM
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic