B
bernice.blackledge
vs C++# Is C# better than C++?
What are the advantages of C++ over C# and vice versa?
(e-mail address removed)
What are the advantages of C++ over C# and vice versa?
(e-mail address removed)
Lloyd said:if you use native C++ you get the following
development times 3 times slower, performance 5% better (sometimes 10%)
if you use managed C++ well it's genereally not worth it (slower
development (much more character to type the same instructions and a not as
good intellisense) and same perf because same runtime/instruction set),
except when using 'advanced' (syntaxically speaking) legacy C API .
In which case Managed C++ shine
there. The framework is a 20 MB download and requires a reboot. Also,
I think this one is over hyped..net assemblies are very easy to disassemble for reverse engineering
purposes.
Lloyd said:I think this one is over hyped.
yes, regularly.Ever used Reflector? <g>
so?No it is not over hyped. As an example, look at trial software. People are
happy to give you a time limited or feature limited version of their
library if it is compiled native code. Yes, a cracker could change it to
well I would say I haven't yet found a .NET library/tool which have no trialwork, but the DLL is still substancially the same as the original. A
developer trying to steal the intellectual property of an algorithm will
find it so difficult that they may as well spend the time creating their
own version. How many .NET library vendors will give out a free trial
version of their library?
Imagine you want a routine to perform some action - say, the spectral
analysis of a collection of data. You could download a trial version of a
native library that does this and the library would limit you to just a
few data items. If you like it, you buy it and use it in your app. If you
download a .NET trial library you can use Reflector to get the source code
for the algorithm, determine the code that limits the dataset, alter and
then compile the code as part of your app without paying the writer a
penny. No one will know where you got that code from, because its now part
of your assembly. It is a nightmare for library developers.
Lloyd said:well if the value of your library is just one function, I think it's
reasonable you don't make much sales.
Allright, I see.No you misunderstand me. I know plenty of .NET libraries that are not
offered as trial code. I also know of many shareware authors who have told
me that this aspect of .NET is preventing them from moving to the
platform. Even my forceful insistence that the security aspects of .NET
alone makes it worth while is not enough to change their minds.
system (WinFX?) and
new communication api would be released (forget the names :-/), they would
be .NET only...
Richard Grimes said:No you misunderstand me. I know plenty of .NET libraries that are not
offered as trial code. I also know of many shareware authors who have
told me that this aspect of .NET is preventing them from moving to the
platform. Even my forceful insistence that the security aspects of .NET
alone makes it worth while is not enough to change their minds.
Lloyd said:BTW I don't know who you were trying to convince, but I believe the
productivity
improvment of .NET (much more feature in much less time with much
less bug) should be more appealing than the security improvment.
BTW, I think you're unfair in your article where you said that
Microsoft lost confidence in .NET.
After all Aero is not even finished yet, no surprise it's not much
use yet. Not too mention OS level code would certainly stick to C for
still a long while.
And I would like to point out that, by the time Aero, uh.. their new
file system (WinFX?) and
new communication api would be released (forget the names :-/), they
would be .NET only...
Anyway one thing is certain: As far as I'm concerned I certainly gain
more and more confidence
with .NET everyday.....
And can't see no reason to go back...
Mhhh..I don't believe so - they will certainly be wrappers around API function
written in C.
Can you proof this claim?
Again..Seriously, you should live and breathe security. 'Productivity' which
look at my answer to cody.There is not .NET in the desktop in Vista, so there's no .NET in Aero.
Can't say for sure as I haven't tested it myself.WinFS. That won't be in the release of Vista, it will be supplied as a
separate upgrade to Vista. I haven't looked at the new version of WinFS
yet. I did an extensive study of the old version and it was far too
layered, the schema was very complicated requiring multiple joins for the
most trivial of queries. No wonder it was so slow.
Lloyd said:Mhhh..
what do you think of these quotes from:
http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101.asp?frame=true
"Windows Presentation Foundation (formerly known as "Avalon") is the
new strategic graphics subsystem in Windows that provides a unified
approach to user interface, 2D and 3D graphics, documents and media.
Built on the .NET Framework foundation and ..."
And this picture:
http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101_01.gif
Clearly show that Avalon is not underneath .NET but above.
Also I would be curious as to how you write (efficient) C wrapper
around a .NET (complex) API.
Brian said:I followed your links to your workshop on security. From there, I
followed links to a bio that basically says you've given up on .Net.
(http://www.grimes.demon.co.uk/bio.htm)
Richard said:Hmm, I have rephrased that. It was more of a statement to the publishers
and conference organizers. I have given up writing and speaking about
.NET. From the rest of the site you'll see that I have been very busy
over the last years writing articles and speaking at 4 or 5 conferences
a year. The problem is that the payment is appalling. Consider what you
would pay as a delegate, and then realise that for one talk I would get
perhaps a third or a quarter of that. If I take a week to write a talk,
that is not a reasonable income. Technical magazines and conferences
really don't consider that the payment is anything more than beer money,
as a writer or speaker you are expected to regard the opportunity as a
way to promote yourself. Maybe I am being too English here, but I regard
a talk or an article as an outright piece of work and expect to be paid
for the work I do. Microsoft are the worst because they don't pay
(unless you take steps to make sure that they do). They treat it as a
privilege for you to work for them. I have had enough of such things.
Now I do .NET for payment, or if I do it for free, I do it on my own
terms like articles on my site or answering posts on newsgroups.
Richard