Click here to Skip to main content
15,891,473 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: Do you really use C++? Pin
Daniel Pfeffer21-Nov-16 20:50
professionalDaniel Pfeffer21-Nov-16 20:50 
GeneralRe: Do you really use C++? Pin
den2k8821-Nov-16 20:56
professionalden2k8821-Nov-16 20:56 
GeneralRe: Do you really use C++? Pin
Kornfeld Eliyahu Peter21-Nov-16 21:17
professionalKornfeld Eliyahu Peter21-Nov-16 21:17 
GeneralRe: Do you really use C++? Pin
HobbyProggy21-Nov-16 21:37
professionalHobbyProggy21-Nov-16 21:37 
GeneralRe: Do you really use C++? Pin
Rou199722-Nov-16 0:01
Rou199722-Nov-16 0:01 
GeneralRe: Do you really use C++? Pin
charlieg22-Nov-16 1:52
charlieg22-Nov-16 1:52 
GeneralRe: Do you really use C++? Pin
PIEBALDconsult22-Nov-16 9:37
mvePIEBALDconsult22-Nov-16 9:37 
GeneralRe: Do you really use C++? Pin
Gary Wheeler23-Nov-16 0:58
Gary Wheeler23-Nov-16 0:58 
charlieg wrote:
I live in the embedded world where our code has to adapt to the reality of real life.
Ironically, that view is one that prevents deep adoption of C++ in the embedded world. There's a widespread perception that C++ includes a lot of overhead that embedded applications can't support. The perception is mistaken. Any loss in performance due to C++ constructs (virtual function calls come to mind) is more than made up by improved engineering. If it's really that much of an issue, C++ can always be treated as "a better 'C'". For that matter, performance requirements that stringent call for custom hardware anyway.

I'm dealing with this myself at the moment. A few months ago I inherited one of our long-term products, which is written in 'C'. The code is over 25 years old. It started life running on two single-board embedded computers, and now runs as a service on a Windows box. It's awful. Globals everywhere. Code reaches up the skirt of data structures without regard to access safety. Hell, it doesn't even follow good structured programming practices half the time. My intent with this crap is to answer questions if necessary. I ain't touching the code with my ten foot pole or anyone else's.
Software Zen: delete this;

GeneralRe: Do you really use C++? Pin
MikeTheFid23-Nov-16 1:13
MikeTheFid23-Nov-16 1:13 
GeneralRe: Do you really use C++? Pin
Stuart Dootson23-Nov-16 5:18
professionalStuart Dootson23-Nov-16 5:18 
GeneralRe: Do you really use C++? Pin
pschaeffer23-Nov-16 7:19
pschaeffer23-Nov-16 7:19 
GeneralRe: Do you really use C++? Pin
AnotherKen23-Nov-16 9:58
professionalAnotherKen23-Nov-16 9:58 
GeneralRe: Do you really use C++? Pin
DeerBear24-Nov-16 2:42
DeerBear24-Nov-16 2:42 
GeneralWhat is it with the embedded world? Stupid compilers... Pin
charlieg21-Nov-16 15:46
charlieg21-Nov-16 15:46 
GeneralRe: What is it with the embedded world? Stupid compilers... Pin
Chris C-B21-Nov-16 18:38
Chris C-B21-Nov-16 18:38 
GeneralRe: What is it with the embedded world? Stupid compilers... Pin
charlieg22-Nov-16 1:53
charlieg22-Nov-16 1:53 
GeneralRe: What is it with the embedded world? Stupid compilers... Pin
PIEBALDconsult22-Nov-16 7:04
mvePIEBALDconsult22-Nov-16 7:04 
GeneralRe: What is it with the embedded world? Stupid compilers... Pin
Gary Wheeler23-Nov-16 1:03
Gary Wheeler23-Nov-16 1:03 
GeneralRe: What is it with the embedded world? Stupid compilers... Pin
PIEBALDconsult23-Nov-16 16:32
mvePIEBALDconsult23-Nov-16 16:32 
GeneralMS Made Copying files on Windows Easier, kind of Pin
loyal ginger21-Nov-16 9:18
loyal ginger21-Nov-16 9:18 
GeneralRe: MS Made Coping files on Windows Easier, kind of Pin
Kornfeld Eliyahu Peter21-Nov-16 9:27
professionalKornfeld Eliyahu Peter21-Nov-16 9:27 
GeneralRe: MS Made Coping files on Windows Easier, kind of Pin
Mark_Wallace21-Nov-16 10:30
Mark_Wallace21-Nov-16 10:30 
GeneralRe: MS Made Coping files on Windows Easier, kind of Pin
Michael Martin21-Nov-16 11:30
professionalMichael Martin21-Nov-16 11:30 
GeneralRe: MS Made Coping files on Windows Easier, kind of Pin
Rajesh R Subramanian21-Nov-16 13:26
professionalRajesh R Subramanian21-Nov-16 13:26 
GeneralRe: MS Made Coping files on Windows Easier, kind of Pin
Michael Martin21-Nov-16 17:18
professionalMichael Martin21-Nov-16 17:18 

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.