Click here to Skip to main content
15,917,543 members
Home / Discussions / C#
   

C#

 
GeneralRichTextBox colouring Pin
S O S22-Jun-03 21:47
S O S22-Jun-03 21:47 
GeneralRe: RichTextBox colouring Pin
dynamic23-Jun-03 8:18
dynamic23-Jun-03 8:18 
GeneralRe: RichTextBox colouring Pin
S O S23-Jun-03 10:40
S O S23-Jun-03 10:40 
Questionhow to raise a mouse event in axWebBrowsser control Pin
benzite22-Jun-03 20:54
benzite22-Jun-03 20:54 
GeneralC# vs. C++ Pin
untwisted22-Jun-03 19:09
untwisted22-Jun-03 19:09 
GeneralRe: C# vs. C++ Pin
J. Dunlap22-Jun-03 20:13
J. Dunlap22-Jun-03 20:13 
GeneralRe: C# vs. C++ Pin
untwisted22-Jun-03 20:20
untwisted22-Jun-03 20:20 
GeneralRe: C# vs. C++ Pin
J. Dunlap22-Jun-03 21:03
J. Dunlap22-Jun-03 21:03 
untwisted wrote:
If I wanted to could I create a windows application from scratch using windows GDI?

Yes, you could, but you probably wouldn't see a really noticable speed increase.


untwisted wrote:
What makes C# slower?

It's managed, and it seems that MS put hardly any effort into optimizing MSIL. I'd really like to see them do that - it would make a big difference (and I believe they are planning to, but the question is: when?). If they optimized IL, all .NET languages would benefit from the speed boost. It's not like C# code runs at a snail's pace, but nevertheless, the difference between C++ speed and C# speed is noticable.


untwisted wrote:
Can C# be a replacement language for C++?

Yes, it can - in fact it can be an improvement over C++, if you don't mind the speed drop. With .NET Windows Forms, the problem seems to be GDI+, which is not hardware-accelerated (this will be fixed in v2.0).

That huge class library is a timesaver 100x over.

Having said this, I, for my part, will still continue to use C# as my main development platform.

If you really want speed and .NET together, try Managed C++. It's not as easy as C#, but it gives you that extra speed edge.

BTW, sorry if I confused you in the last post - in the comparison list, the left Y/N is C++ and the right Y/N is C#. Also, I forgot to say - C# and C++ support single inheritance.


"Blessed are the peacemakers, for they shall be called sons of God." - Jesus

"You must be the change you wish to see in the world." - Mahatma Gandhi







GeneralRe: C# vs. C++ Pin
untwisted22-Jun-03 21:08
untwisted22-Jun-03 21:08 
GeneralRe: C# vs. C++ Pin
Rocky Moore22-Jun-03 23:47
Rocky Moore22-Jun-03 23:47 
GeneralRe: C# vs. C++ Pin
TigerNinja_23-Jun-03 10:14
TigerNinja_23-Jun-03 10:14 
GeneralRe: C# vs. C++ Pin
Rocky Moore23-Jun-03 22:48
Rocky Moore23-Jun-03 22:48 
Generalinserting into database. Pin
Asim N.22-Jun-03 18:17
Asim N.22-Jun-03 18:17 
GeneralConfiguration file Pin
puppiesLover22-Jun-03 13:24
puppiesLover22-Jun-03 13:24 
GeneralProgram Flow Pin
puppiesLover22-Jun-03 11:09
puppiesLover22-Jun-03 11:09 
GeneralRe: Program Flow Pin
Jon Newman23-Jun-03 4:42
Jon Newman23-Jun-03 4:42 
Generalcreating a single EXE from multiple projects Pin
mikechambers22-Jun-03 6:20
mikechambers22-Jun-03 6:20 
GeneralRe: creating a single EXE from multiple projects Pin
leppie22-Jun-03 11:16
leppie22-Jun-03 11:16 
GeneralRe: creating a single EXE from multiple projects Pin
mikechambers22-Jun-03 11:39
mikechambers22-Jun-03 11:39 
GeneralRe: creating a single EXE from multiple projects Pin
leppie22-Jun-03 11:59
leppie22-Jun-03 11:59 
GeneralRe: creating a single EXE from multiple projects Pin
Rocky Moore22-Jun-03 23:56
Rocky Moore22-Jun-03 23:56 
GeneralRe: creating a single EXE from multiple projects Pin
mikechambers23-Jun-03 6:25
mikechambers23-Jun-03 6:25 
GeneralRe: creating a single EXE from multiple projects Pin
Rocky Moore23-Jun-03 8:50
Rocky Moore23-Jun-03 8:50 
GeneralRe: creating a single EXE from multiple projects Pin
mikechambers23-Jun-03 15:33
mikechambers23-Jun-03 15:33 
GeneralPretty sticky problem to me... Pin
Weiye Chen22-Jun-03 2:32
Weiye Chen22-Jun-03 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.