Click here to Skip to main content
14,426,851 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: Speaking of C++ Pin
TheGreatAndPowerfulOz25-Aug-18 20:05
MemberTheGreatAndPowerfulOz25-Aug-18 20:05 
GeneralRe: Speaking of C++ Pin
Daniel Pfeffer25-Aug-18 20:41
professionalDaniel Pfeffer25-Aug-18 20:41 
GeneralRe: Speaking of C++ Pin
Richard Andrew x6426-Aug-18 5:12
professionalRichard Andrew x6426-Aug-18 5:12 
GeneralRe: Speaking of C++ Pin
Member 798912227-Aug-18 6:24
MemberMember 798912227-Aug-18 6:24 
GeneralRe: Speaking of C++ Pin
Daniel Pfeffer27-Aug-18 9:18
professionalDaniel Pfeffer27-Aug-18 9:18 
GeneralRe: Speaking of C++ Pin
Joe Woodbury25-Aug-18 12:16
professionalJoe Woodbury25-Aug-18 12:16 
GeneralRe: Speaking of C++ Pin
Munchies_Matt26-Aug-18 3:05
MemberMunchies_Matt26-Aug-18 3:05 
GeneralRe: Speaking of C++ Pin
ExcellentOrg26-Aug-18 21:44
MemberExcellentOrg26-Aug-18 21:44 
Read reply of every single one and it was nice that people still care about it. Just as you can drive either on Left side or on Right side of road, in computer world, there are two primary directions to read or write data from. For higher level languages, compiler encapsulates all this complexity and provides user a neat option to switch the calling conventions. C language adopted PDP convention as its de-facto and coined the term cdecl to encapsulate the idea. The original name for opposite calling convention was PASCAL and if you go thru some old Windows API books, you will find that word.
all over the place. cdecl convention allows variadic parameters very easily whereas PASCAL convention makes stack management easier.

Reason why cdecl causes generates more code is usually because the underlying hardware has opposite convention and hence the compiler has to emit more opcodes to compensate for it.
GeneralRe: Speaking of C++ Pin
englebart27-Aug-18 4:49
professionalenglebart27-Aug-18 4:49 
GeneralRe: Speaking of C++ Pin
Kirill Illenseer26-Aug-18 22:28
MemberKirill Illenseer26-Aug-18 22:28 
GeneralRe: Speaking of C++ Pin
Plamen Dragiyski27-Aug-18 19:42
professionalPlamen Dragiyski27-Aug-18 19:42 
GeneralGot to read those licenses Pin
jschell25-Aug-18 4:20
Memberjschell25-Aug-18 4:20 
GeneralRe: Got to read those licenses Pin
Sander Rossel25-Aug-18 5:18
professionalSander Rossel25-Aug-18 5:18 
GeneralRe: Got to read those licenses Pin
jschell25-Aug-18 6:03
Memberjschell25-Aug-18 6:03 
GeneralRe: Got to read those licenses Pin
Sander Rossel25-Aug-18 6:28
professionalSander Rossel25-Aug-18 6:28 
GeneralRe: Got to read those licenses Pin
Daniel Pfeffer25-Aug-18 11:29
professionalDaniel Pfeffer25-Aug-18 11:29 
GeneralRe: Got to read those licenses Pin
Sander Rossel26-Aug-18 0:07
professionalSander Rossel26-Aug-18 0:07 
GeneralRe: Got to read those licenses Pin
jschell16-Sep-18 11:54
Memberjschell16-Sep-18 11:54 
GeneralRe: Got to read those licenses Pin
jschell16-Sep-18 11:50
Memberjschell16-Sep-18 11:50 
GeneralDoes C++ finally have enough features to make memory leaks a ... memory? Pin
swampwiz24-Aug-18 17:03
Memberswampwiz24-Aug-18 17:03 
GeneralRe: Does C++ finally have enough features to make memory leaks a ... memory? Pin
Munchies_Matt24-Aug-18 20:30
MemberMunchies_Matt24-Aug-18 20:30 
GeneralRe: Does C++ finally have enough features to make memory leaks a ... memory? Pin
CodeWraith24-Aug-18 20:34
MemberCodeWraith24-Aug-18 20:34 
GeneralRe: Does C++ finally have enough features to make memory leaks a ... memory? Pin
Munchies_Matt24-Aug-18 20:42
MemberMunchies_Matt24-Aug-18 20:42 
GeneralRe: Does C++ finally have enough features to make memory leaks a ... memory? Pin
CodeWraith24-Aug-18 22:44
MemberCodeWraith24-Aug-18 22:44 
GeneralRe: Does C++ finally have enough features to make memory leaks a ... memory? Pin
Munchies_Matt24-Aug-18 23:45
MemberMunchies_Matt24-Aug-18 23:45 

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.