Click here to Skip to main content
15,908,172 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Managed Wrapper for native abstract base class Pin
tutu_cloud6-Sep-06 9:47
tutu_cloud6-Sep-06 9:47 
Questionnew memory stack for different parameters Pin
electronic_infections26-Aug-06 16:13
electronic_infections26-Aug-06 16:13 
QuestionPrinting Library Pin
Bob X26-Aug-06 11:06
Bob X26-Aug-06 11:06 
AnswerRe: Printing Library Pin
Nish Nishant28-Aug-06 4:47
sitebuilderNish Nishant28-Aug-06 4:47 
QuestionSlow Managed code versus Fast Native code Pin
zenzero26-Aug-06 4:01
zenzero26-Aug-06 4:01 
AnswerRe: Slow Managed code versus Fast Native code Pin
Christian Graus27-Aug-06 3:14
protectorChristian Graus27-Aug-06 3:14 
GeneralRe: Slow Managed code versus Fast Native code Pin
zenzero27-Aug-06 5:04
zenzero27-Aug-06 5:04 
AnswerRe: Slow Managed code versus Fast Native code Pin
Nish Nishant28-Aug-06 4:46
sitebuilderNish Nishant28-Aug-06 4:46 
Obviously, native code is going to be faster than managed code (in most scenarios). But the differences you quote definitely seem odd. Managed code, after the JIT compilation, should technically be as fast as equivalent native code. But, it again depends on how you've written it. It's hard to say why your managed code is performing so bad without seeing it. Again, taking the exact same C++ code and compiling as /clr would result in MSIL that when JITed would (supposedly) run as fast as its native equivalent, though you may find minor performance differences.

Regards,
Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
Currently working on C++/CLI in Action for Manning Publications.
Also visit the Ultimate Toolbox blog (New)

GeneralRe: Slow Managed code versus Fast Native code Pin
zenzero28-Aug-06 7:18
zenzero28-Aug-06 7:18 
Questionstd::wstring by ref Pin
wb24-Aug-06 23:52
wb24-Aug-06 23:52 
Question0D 0A terminated string to 00 terminated string Pin
samkook24-Aug-06 13:20
samkook24-Aug-06 13:20 
QuestionArray handling problems: Pin
luhfluh24-Aug-06 9:43
luhfluh24-Aug-06 9:43 
AnswerRe: Array handling problems: Pin
Christian Graus24-Aug-06 14:21
protectorChristian Graus24-Aug-06 14:21 
GeneralRe: Array handling problems: Pin
luhfluh25-Aug-06 0:59
luhfluh25-Aug-06 0:59 
QuestionHow to display Exception after the Form is loaded Pin
mmhu24-Aug-06 4:59
mmhu24-Aug-06 4:59 
AnswerRe: How to display Exception after the Form is loaded Pin
Nish Nishant25-Aug-06 2:59
sitebuilderNish Nishant25-Aug-06 2:59 
GeneralRe: How to display Exception after the Form is loaded Pin
mmhu26-Aug-06 13:26
mmhu26-Aug-06 13:26 
QuestionSetting toolbox tab programatically Pin
Edward Diener24-Aug-06 2:22
Edward Diener24-Aug-06 2:22 
QuestionInvisible text in Messagebox [modified] Pin
dawei.code23-Aug-06 0:02
dawei.code23-Aug-06 0:02 
AnswerRe: Invisible text in Messagebox Pin
Nish Nishant24-Aug-06 11:22
sitebuilderNish Nishant24-Aug-06 11:22 
GeneralRe: Invisible text in Messagebox Pin
dawei.code25-Aug-06 2:04
dawei.code25-Aug-06 2:04 
QuestionNon-managed (unsafe) code impersonation Pin
Ray Cassick22-Aug-06 9:00
Ray Cassick22-Aug-06 9:00 
AnswerRe: Non-managed (unsafe) code impersonation Pin
Nish Nishant23-Aug-06 6:45
sitebuilderNish Nishant23-Aug-06 6:45 
QuestionHow to pass a SortedList from C# to MC++ [modified] Pin
AbinThomas21-Aug-06 0:29
AbinThomas21-Aug-06 0:29 
AnswerRe: How to pass a SortedList from C# to MC++ Pin
Jun Du23-Aug-06 5:16
Jun Du23-Aug-06 5:16 

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.