Click here to Skip to main content
15,895,746 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: It's time to stop using C and C++ Pin
dandy7223-Sep-22 7:29
dandy7223-Sep-22 7:29 
GeneralRe: It's time to stop using C and C++ Pin
Randor 23-Sep-22 7:35
professional Randor 23-Sep-22 7:35 
GeneralRe: It's time to stop using C and C++ Pin
obermd23-Sep-22 6:08
obermd23-Sep-22 6:08 
GeneralRe: It's time to stop using C and C++ Pin
Greg Utas23-Sep-22 7:04
professionalGreg Utas23-Sep-22 7:04 
GeneralRe: It's time to stop using C and C++ Pin
Kent Sharkey23-Sep-22 7:02
staffKent Sharkey23-Sep-22 7:02 
GeneralRe: It's time to stop using C and C++ Pin
obermd23-Sep-22 8:47
obermd23-Sep-22 8:47 
GeneralRe: It's time to stop using C and C++ Pin
PIEBALDconsult23-Sep-22 8:53
mvePIEBALDconsult23-Sep-22 8:53 
GeneralRe: It's time to stop using C and C++ Pin
obermd23-Sep-22 9:34
obermd23-Sep-22 9:34 
From a security standpoint, C and C++ have several fundamental flaws:
  • Unmanaged heap, leads to several problems such as "use after free", "insufficient memory" when there's plenty of memory, and memory leaks where objects are orphaned in memory
  • Null terminated strings, which are the single biggest source of buffer overruns.
  • Implementation defined word size and in earlier versions, no specific pointer/address data type, leading to arithmetic errors and buffer overruns.
I've written complex software in both C and C++ so I know you can usually work around these flaws in modern C/C++ compilers, but the reality is you cannot prove most C/C++ programs to be correct from a standpoint of memory management or integer arithmetic.
GeneralRe: It's time to stop using C and C++ Pin
englebart26-Sep-22 14:50
professionalenglebart26-Sep-22 14:50 
GeneralRe: It's time to stop using C and C++ Pin
Greg Utas23-Sep-22 9:10
professionalGreg Utas23-Sep-22 9:10 
GeneralRe: It's time to stop using C and C++ Pin
RickZeeland23-Sep-22 9:12
mveRickZeeland23-Sep-22 9:12 
JokeRe: It's time to stop using C and C++ Pin
Randor 23-Sep-22 9:33
professional Randor 23-Sep-22 9:33 
GeneralRe: It's time to stop using C and C++ Pin
Gerry Schmitz23-Sep-22 9:45
mveGerry Schmitz23-Sep-22 9:45 
GeneralRe: It's time to stop using C and C++ Pin
pkfox23-Sep-22 11:31
professionalpkfox23-Sep-22 11:31 
GeneralRe: It's time to stop using C and C++ Pin
Dan Neely23-Sep-22 10:17
Dan Neely23-Sep-22 10:17 
GeneralRe: It's time to stop using C and C++ Pin
Kent Sharkey23-Sep-22 12:09
staffKent Sharkey23-Sep-22 12:09 
GeneralRe: It's time to stop using C and C++ Pin
Nelek24-Sep-22 10:10
protectorNelek24-Sep-22 10:10 
GeneralRe: It's time to stop using C and C++ Pin
honey the codewitch23-Sep-22 22:16
mvahoney the codewitch23-Sep-22 22:16 
AnswerRe: It's time to stop using C and C++ Pin
Eddy Vluggen24-Sep-22 2:16
professionalEddy Vluggen24-Sep-22 2:16 
GeneralRe: It's time to stop using C and C++ Pin
RickZeeland24-Sep-22 4:14
mveRickZeeland24-Sep-22 4:14 
GeneralSound of the Week Pin
Sander Rossel22-Sep-22 22:32
professionalSander Rossel22-Sep-22 22:32 
GeneralRe: Sound of the Week Pin
yacCarsten23-Sep-22 0:08
yacCarsten23-Sep-22 0:08 
GeneralRe: Sound of the Week Pin
Sander Rossel23-Sep-22 1:39
professionalSander Rossel23-Sep-22 1:39 
GeneralRe: Sound of the Week Pin
yacCarsten23-Sep-22 2:16
yacCarsten23-Sep-22 2:16 
GeneralRe: Sound of the Week Pin
Sander Rossel23-Sep-22 2:17
professionalSander Rossel23-Sep-22 2:17 

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.