Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Writing and reading binary data Pin
James T. Johnson1-Sep-03 16:57
James T. Johnson1-Sep-03 16:57 
GeneralRe: Writing and reading binary data Pin
James T. Johnson1-Sep-03 17:08
James T. Johnson1-Sep-03 17:08 
GeneralRe: Writing and reading binary data Pin
padcom132-Sep-03 5:01
padcom132-Sep-03 5:01 
GeneralRe: Writing and reading binary data Pin
Eric Gunnerson (msft)2-Sep-03 9:48
Eric Gunnerson (msft)2-Sep-03 9:48 
QuestionHow to call a form using reflection Pin
Ista1-Sep-03 14:20
Ista1-Sep-03 14:20 
AnswerRe: How to call a form using reflection Pin
James T. Johnson1-Sep-03 16:35
James T. Johnson1-Sep-03 16:35 
GeneralRe: How to call a form using reflection Pin
leppie1-Sep-03 18:50
leppie1-Sep-03 18:50 
GeneralRe: How to call a form using reflection Pin
James T. Johnson2-Sep-03 2:28
James T. Johnson2-Sep-03 2:28 
GeneralRe: How to call a form using reflection Pin
leppie2-Sep-03 7:08
leppie2-Sep-03 7:08 
QuestionIterate through class properties? Pin
vedbu1-Sep-03 13:33
vedbu1-Sep-03 13:33 
AnswerRe: Iterate through class properties? Pin
Ista1-Sep-03 14:14
Ista1-Sep-03 14:14 
AnswerRe: Iterate through class properties? Pin
Jim Stewart1-Sep-03 15:44
Jim Stewart1-Sep-03 15:44 
GeneralRe: Iterate through class properties? Pin
vedbu2-Sep-03 13:26
vedbu2-Sep-03 13:26 
QuestionAbout getting the decimal ASCII codes of the characters??? Pin
cemlouis1-Sep-03 12:13
cemlouis1-Sep-03 12:13 
AnswerRe: About getting the decimal ASCII codes of the characters??? Pin
leppie1-Sep-03 13:03
leppie1-Sep-03 13:03 
GeneralRe: About getting the decimal ASCII codes of the characters??? Pin
cemlouis2-Sep-03 6:10
cemlouis2-Sep-03 6:10 
QuestionHow to communicate a aspx page with a thread ( one thread per session )? Pin
zoltix1-Sep-03 11:48
zoltix1-Sep-03 11:48 
Questionhow to detect DbClick on a Row in DataGrid Pin
Anonymous1-Sep-03 8:27
Anonymous1-Sep-03 8:27 
AnswerRe: how to detect DbClick on a Row in DataGrid Pin
MeisterBiber1-Sep-03 9:19
MeisterBiber1-Sep-03 9:19 
GeneralValidate a form Pin
nico1931-Sep-03 6:10
nico1931-Sep-03 6:10 
QuestionHow fast is .NET? Pin
Cristoff1-Sep-03 5:46
Cristoff1-Sep-03 5:46 
Answerquestions Pin
Cristoff1-Sep-03 5:52
Cristoff1-Sep-03 5:52 
AnswerRe: How fast is .NET? Pin
Nish Nishant1-Sep-03 6:29
sitebuilderNish Nishant1-Sep-03 6:29 
GeneralRe: How fast is .NET? Pin
J. Dunlap1-Sep-03 9:22
J. Dunlap1-Sep-03 9:22 
AnswerRe: How fast is .NET? Pin
Daniel Turini1-Sep-03 6:37
Daniel Turini1-Sep-03 6:37 
Cristoff wrote:
I wonder how fast is .NET and especially some of its components.
Fast enough.

Hey, wait! Put down that axe and let me explain it. Big Grin | :-D

Cristoff wrote:
As everyone can read pinvoke is slow.
Slower it the word, not slow. It is slower than a native call, but it's quite fast for most applications. I wouldn't make a PInvoke call on a tight loop, tought.

Cristoff wrote:
How fast is GDI+? Does it depend on CPU power or it just requires powerful 2D (or 3D) accelerator?
GDI+ is not hardware accelerated. It depends solely on the main CPU.

Cristoff wrote:
For me SharpDevelop is an example for a very slow application.
Me too. But they are focusing on several other things than performance. So, give them a break. On machines > 800Mhz, and well crafted .NET code, most of the time, users don't see a huge performance hit.

Cristoff wrote:
Should one be careful when using GDI+ for creating new custom windows forms controls or for stuff like CAD drawing, bitmap and vector manipulation programs?
For things like that hardware acceleration is a must. I would go for Managed DirectX, and would not use GDI+ as the performance hit would be too high.

Cristoff wrote:
What is your oppinion?
Performance analysis is extremely dependant of your problem domain. Some (20) years ago, people raised the same kind of question about compilers x pure asm. IMHO, the most wise answer at that time was: "if you are worrying if something will be 2x slower when compiled, then you can't afford a compiler, go and code in ASM". For the kind of work I do, the hit was neglectable, but YMMV.

Cristoff wrote:
about old and slow systems like: P90 or even P400 with old slow TNT or worse graphic cards?
You mentioned using graphics intensive applications on P90 and P400 machines. If these are custommers you can't afford to lose, and/or they can't afford a new machine, you should stick with C++.


You can do it on anything you choose - from .bat to .net - A customer

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.