Click here to Skip to main content
13,190,405 members (50,756 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Darwin came a-calling Pin
Nagy Vilmos12-Feb-13 3:11
memberNagy Vilmos12-Feb-13 3:11 
GeneralRe: Darwin came a-calling Pin
Argonia12-Feb-13 3:27
memberArgonia12-Feb-13 3:27 
GeneralRe: Darwin came a-calling Pin
Nagy Vilmos12-Feb-13 3:35
memberNagy Vilmos12-Feb-13 3:35 
GeneralRe: Darwin came a-calling Pin
W Balboos12-Feb-13 5:05
memberW Balboos12-Feb-13 5:05 
GeneralRe: Darwin came a-calling Pin
jeron112-Feb-13 3:28
memberjeron112-Feb-13 3:28 
GeneralRe: Darwin came a-calling Pin
peterchen12-Feb-13 2:36
memberpeterchen12-Feb-13 2:36 
GeneralRe: Darwin came a-calling Pin
DeathByChocolate12-Feb-13 3:35
memberDeathByChocolate12-Feb-13 3:35 
GeneralRe: Darwin came a-calling Pin
djj5512-Feb-13 3:07
memberdjj5512-Feb-13 3:07 
GeneralRe: Darwin came a-calling Pin
Testing 1 2 ... uh... 7?12-Feb-13 4:17
memberTesting 1 2 ... uh... 7?12-Feb-13 4:17 
GeneralRe: Darwin came a-calling Pin
ryanb3112-Feb-13 4:36
memberryanb3112-Feb-13 4:36 
GeneralRe: Darwin came a-calling Pin
Chris Quinn12-Feb-13 4:18
memberChris Quinn12-Feb-13 4:18 
GeneralRe: Darwin came a-calling Pin
Rajesh R Subramanian12-Feb-13 4:50
memberRajesh R Subramanian12-Feb-13 4:50 
GeneralRe: Darwin came a-calling Pin
Mark_Wallace12-Feb-13 19:49
memberMark_Wallace12-Feb-13 19:49 
NewsWinRT [C++/Cx to C#] performance Pin
Super Lloyd12-Feb-13 1:56
memberSuper Lloyd12-Feb-13 1:56 
Hi Folks,
Just to share some informal finding...
I'm writing (slowwwwwly) a DirectX WinRT binding: http://directwinrt.codeplex.com/[^]

I just implemented mouse picking (got to blog about it real soon!! ^^)

Anyway, I did some measurements...
In Sample1 I update 10.000 points in C#. It used to be a C++/CX IList/IVector.
Now I'm doing it in C# with pointers.
Updating 10K points in C# through C++/Cx took about 20.000 ticks
Updating it through pure C# (and pointers ) only took about 3.000 ticks.
Further tweaks were caching the pointer value (there was a method call to get the pointer) and avoid some casting reduced the time to 1.300 ticks.

Morale of the story: I was wondering about the performance of calling C++/Cx from C#?
Now I know: for intensive fine grained call into C++, it's still damn expensive!...
My programming get away... The Blog...
DirectX for WinRT/C# since 2013!
Taking over the world since 1371!

GeneralRe: WinRT [C++/Cx to C#] performance Pin
Dan Neely12-Feb-13 2:23
memberDan Neely12-Feb-13 2:23 
GeneralRe: WinRT [C++/Cx to C#] performance Pin
Super Lloyd12-Feb-13 2:38
memberSuper Lloyd12-Feb-13 2:38 
GeneralRe: WinRT [C++/Cx to C#] performance Pin
Rama Krishna Vavilala12-Feb-13 3:04
memberRama Krishna Vavilala12-Feb-13 3:04 
GeneralRe: WinRT [C++/Cx to C#] performance Pin
Nish Sivakumar12-Feb-13 3:18
sitebuilderNish Sivakumar12-Feb-13 3:18 
GeneralRe: WinRT [C++/Cx to C#] performance Pin
BillWoodruff14-Feb-13 20:04
memberBillWoodruff14-Feb-13 20:04 
GeneralRe: WinRT [C++/Cx to C#] performance Pin
Super Lloyd14-Feb-13 22:21
memberSuper Lloyd14-Feb-13 22:21 
General"Bing is a great product" Pin
Edo Tzumer12-Feb-13 1:22
memberEdo Tzumer12-Feb-13 1:22 
GeneralRe: "Bing is a great product" Pin
Nemanja Trifunovic12-Feb-13 1:33
memberNemanja Trifunovic12-Feb-13 1:33 
QuestionRe: "Bing is a great product" Pin
Mario Majčica12-Feb-13 1:39
memberMario Majčica12-Feb-13 1:39 
AnswerRe: "Bing is a great product" Pin
S Houghtelin12-Feb-13 1:45
memberS Houghtelin12-Feb-13 1:45 
JokeRe: "Bing is a great product" Pin
Mario Majčica12-Feb-13 1:47
memberMario Majčica12-Feb-13 1:47 
GeneralRe: "Bing is a great product" Pin
S Houghtelin12-Feb-13 1:52
memberS Houghtelin12-Feb-13 1:52 
GeneralRe: "Bing is a great product" Pin
Mario Majčica12-Feb-13 1:59
memberMario Majčica12-Feb-13 1:59 
GeneralRe: "Bing is a great product" Pin
S Houghtelin12-Feb-13 2:14
memberS Houghtelin12-Feb-13 2:14 
AnswerRe: "Bing is a great product" Pin
Mario Majčica12-Feb-13 3:27
memberMario Majčica12-Feb-13 3:27 
GeneralRe: "Bing is a great product" Pin
Mark_Wallace12-Feb-13 19:55
memberMark_Wallace12-Feb-13 19:55 
AnswerRe: "Bing is a great product" Pin
Maximilien12-Feb-13 1:46
memberMaximilien12-Feb-13 1:46 
AnswerRe: "Bing is a great product" Pin
Keith Barrow12-Feb-13 1:56
mentorKeith Barrow12-Feb-13 1:56 
GeneralRe: "Bing is a great product" Pin
Matthew Faithfull12-Feb-13 2:17
memberMatthew Faithfull12-Feb-13 2:17 
GeneralRe: "Bing is a great product" Pin
Keith Barrow12-Feb-13 2:23
mentorKeith Barrow12-Feb-13 2:23 
GeneralRe: "Bing is a great product" Pin
Matthew Faithfull12-Feb-13 2:30
memberMatthew Faithfull12-Feb-13 2:30 
GeneralRe: "Bing is a great product" Pin
MikoTheTerrible12-Feb-13 6:43
memberMikoTheTerrible12-Feb-13 6:43 
GeneralRe: "Bing is a great product" Pin
Keith Barrow12-Feb-13 7:22
mentorKeith Barrow12-Feb-13 7:22 
GeneralRe: "Bing is a great product" Pin
Edo Tzumer12-Feb-13 2:21
memberEdo Tzumer12-Feb-13 2:21 
GeneralRe: "Bing is a great product" Pin
peterchen12-Feb-13 2:39
memberpeterchen12-Feb-13 2:39 
GeneralRe: "Bing is a great product" Pin
Edo Tzumer12-Feb-13 2:49
memberEdo Tzumer12-Feb-13 2:49 
GeneralRe: "Bing is a great product" Pin
Mario Majčica12-Feb-13 3:31
memberMario Majčica12-Feb-13 3:31 
GeneralRe: "Bing is a great product" Pin
PIEBALDconsult12-Feb-13 3:53
memberPIEBALDconsult12-Feb-13 3:53 
GeneralRe: "Bing is a great product" Pin
viaducting12-Feb-13 4:02
memberviaducting12-Feb-13 4:02 
GeneralRe: "Bing is a great product" Pin
Walt Fair, Jr.12-Feb-13 9:51
subeditorWalt Fair, Jr.12-Feb-13 9:51 
GeneralFacebook Pin
Pete O'Hanlon11-Feb-13 23:56
protectorPete O'Hanlon11-Feb-13 23:56 
GeneralRe: Facebook Pin
Rutvik Dave12-Feb-13 0:00
memberRutvik Dave12-Feb-13 0:00 
GeneralRe: Facebook Pin
S Houghtelin12-Feb-13 0:33
memberS Houghtelin12-Feb-13 0:33 
GeneralRe: Facebook Pin
Mark_Wallace12-Feb-13 1:09
memberMark_Wallace12-Feb-13 1:09 
GeneralRe: Facebook Pin
Nagy Vilmos12-Feb-13 1:42
memberNagy Vilmos12-Feb-13 1:42 
GeneralRe: Facebook Pin
Pete O'Hanlon12-Feb-13 2:09
protectorPete O'Hanlon12-Feb-13 2:09 

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.


Advertise | Privacy |
Web01 | 2.8.171016.2 | Last Updated 17 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid