Click here to Skip to main content
15,908,166 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Everyone says c++ is faster than c#, why? PinPopular
Chris Maunder2-Feb-16 2:17
cofounderChris Maunder2-Feb-16 2:17 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Nagy Vilmos2-Feb-16 2:33
professionalNagy Vilmos2-Feb-16 2:33 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Michael Martin2-Feb-16 2:47
professionalMichael Martin2-Feb-16 2:47 
GeneralSpeaking of beer... Pin
Chris Maunder2-Feb-16 3:04
cofounderChris Maunder2-Feb-16 3:04 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Dan Neely2-Feb-16 2:49
Dan Neely2-Feb-16 2:49 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
xiecsuk2-Feb-16 21:39
xiecsuk2-Feb-16 21:39 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Rob Grainger2-Feb-16 2:19
Rob Grainger2-Feb-16 2:19 
GeneralRe: Everyone says c++ is faster than c#, why? PinPopular
Vark1112-Feb-16 2:45
Vark1112-Feb-16 2:45 
Not anyone I know says C++ *is* faster than C#. Most of the people I hear talking about it say C++ *can be* faster than C#. It's much easier to play memory arithmetic tricks in C++ than C#. You can do it in C# using Memory Pins and Unsafe blocks, but it's a lot more code to write just to get to a point where you can start doing the actual work of manipulating your values.

Also, trivial examples like that won't show you the biggest culprit of performance issues in any .net language: the GC. Once the GC starts grinding away, you can kiss anything that resembles good performance goodbye. You can of course mitigate this by using proper patterns and such, but that's a whole lot of mental overhead that the C++ programmer doesn't need to deal with.
GeneralRe: Everyone says c++ is faster than c#, why? Pin
PIEBALDconsult2-Feb-16 4:33
mvePIEBALDconsult2-Feb-16 4:33 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Rob Grainger2-Feb-16 4:49
Rob Grainger2-Feb-16 4:49 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
PIEBALDconsult2-Feb-16 4:52
mvePIEBALDconsult2-Feb-16 4:52 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Sander Rossel2-Feb-16 7:13
professionalSander Rossel2-Feb-16 7:13 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Gjeltema2-Feb-16 5:19
Gjeltema2-Feb-16 5:19 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
PIEBALDconsult2-Feb-16 7:26
mvePIEBALDconsult2-Feb-16 7:26 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Dave Kreskowiak2-Feb-16 5:31
mveDave Kreskowiak2-Feb-16 5:31 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
jeron12-Feb-16 5:50
jeron12-Feb-16 5:50 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
PIEBALDconsult2-Feb-16 18:16
mvePIEBALDconsult2-Feb-16 18:16 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Kiriander2-Feb-16 20:50
Kiriander2-Feb-16 20:50 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
KesavanandChavali2-Feb-16 20:51
KesavanandChavali2-Feb-16 20:51 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
irneb2-Feb-16 21:55
irneb2-Feb-16 21:55 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Jonas Hammarberg2-Feb-16 23:17
professionalJonas Hammarberg2-Feb-16 23:17 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
amagitech3-Feb-16 0:02
amagitech3-Feb-16 0:02 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
Thornik3-Feb-16 0:48
Thornik3-Feb-16 0:48 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
amagitech3-Feb-16 1:01
amagitech3-Feb-16 1:01 
GeneralRe: Everyone says c++ is faster than c#, why? Pin
loctrice3-Feb-16 2:59
professionalloctrice3-Feb-16 2:59 

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.