Click here to Skip to main content
15,891,513 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsDeath to C, ++ Pin
Kent Sharkey17-Jul-17 8:35
staffKent Sharkey17-Jul-17 8:35 
JokeRe: Death to C, ++ Pin
User 1106097917-Jul-17 9:04
User 1106097917-Jul-17 9:04 
GeneralRe: Death to C, ++ Pin
TheGreatAndPowerfulOz17-Jul-17 9:13
TheGreatAndPowerfulOz17-Jul-17 9:13 
GeneralRe: Death to C, ++ Pin
TheGreatAndPowerfulOz17-Jul-17 9:12
TheGreatAndPowerfulOz17-Jul-17 9:12 
GeneralRe: Death to C, ++ Pin
Joe Woodbury17-Jul-17 10:27
professionalJoe Woodbury17-Jul-17 10:27 
GeneralRe: Death to C, ++ Pin
Kevin McFarlane20-Jul-17 0:45
Kevin McFarlane20-Jul-17 0:45 
GeneralRe: Death to C, ++ Pin
Joe Woodbury20-Jul-17 5:23
professionalJoe Woodbury20-Jul-17 5:23 
GeneralRe: Death to C, ++ Pin
Kevin McFarlane20-Jul-17 7:04
Kevin McFarlane20-Jul-17 7:04 
Joe Woodbury wrote:
Even that said, going with a new language is full of hazards, especially when that language isn't fully mature and lacks many tools and a strong user base. So, while mistakes of one kind won't be made, other mistakes will be.


But if we never try anything new because it's new and immature we'll never progress will we?

Joe Woodbury wrote:
Primarily because the inventors are obsessed with garbage collectors. Ironically, over my long career, I've rarely had issues with memory leaks in C and even more rarely in C++ (same with buffer overruns.) The bigger issue has been resource leaks (and poorly managed resources) and I've seen many more of those in .NET than in C++ code.


You may be an exceptional coder. But I assume that the likes of Microsoft and Google are filled with smart developers, yet their products are riddled with C security vulnerabilities. I do almost all .NET today. But I spent many years doing C++ and in my experience almost all projects I worked on (inherited) had non-trivial memory management issues.

Anyway, memory management as I see it is about separation of concerns. Let the machine solve the problem so that the developer can focus on the business domain logic.

GC is one technique, but then C++, especially "modern C++", uses smart pointers.

I agree nothing is a magic bullet. But because a bullet doesn't solve all problems is not a reason not to use one at all.
Kevin

GeneralRe: Death to C, ++ Pin
Joe Woodbury20-Jul-17 8:07
professionalJoe Woodbury20-Jul-17 8:07 
GeneralRe: Death to C, ++ Pin
Kevin McFarlane20-Jul-17 8:44
Kevin McFarlane20-Jul-17 8:44 
GeneralRe: Death to C, ++ Pin
David O'Neil17-Jul-17 16:36
professionalDavid O'Neil17-Jul-17 16:36 
GeneralRe: Death to C, ++ Pin
Chris Losinger18-Jul-17 4:30
professionalChris Losinger18-Jul-17 4:30 
NewsAndroid killed Windows Phone, not Apple Pin
Kent Sharkey17-Jul-17 8:15
staffKent Sharkey17-Jul-17 8:15 
GeneralRe: Android killed Windows Phone, not Apple Pin
littleGreenDude17-Jul-17 10:20
littleGreenDude17-Jul-17 10:20 
GeneralRe: Android killed Windows Phone, not Apple Pin
TheGreatAndPowerfulOz17-Jul-17 10:53
TheGreatAndPowerfulOz17-Jul-17 10:53 
GeneralRe: Android killed Windows Phone, not Apple Pin
littleGreenDude18-Jul-17 1:40
littleGreenDude18-Jul-17 1:40 
NewsNanomesh on-skin electronics are a new biointerface frontier Pin
Kent Sharkey17-Jul-17 8:14
staffKent Sharkey17-Jul-17 8:14 
NewsHow Microsoft brought SQL Server to Linux Pin
Kent Sharkey17-Jul-17 7:54
staffKent Sharkey17-Jul-17 7:54 
NewsBecause English isn’t the same in England, Microsoft renames Fall Update for some Pin
Kent Sharkey17-Jul-17 7:51
staffKent Sharkey17-Jul-17 7:51 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
Richard Deeming17-Jul-17 9:07
mveRichard Deeming17-Jul-17 9:07 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
TheGreatAndPowerfulOz17-Jul-17 9:15
TheGreatAndPowerfulOz17-Jul-17 9:15 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
Kent Sharkey17-Jul-17 9:38
staffKent Sharkey17-Jul-17 9:38 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
TheGreatAndPowerfulOz17-Jul-17 10:02
TheGreatAndPowerfulOz17-Jul-17 10:02 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
Joe Woodbury17-Jul-17 10:35
professionalJoe Woodbury17-Jul-17 10:35 
GeneralRe: Because English isn’t the same in England, Microsoft renames Fall Update for some Pin
TheGreatAndPowerfulOz17-Jul-17 10:43
TheGreatAndPowerfulOz17-Jul-17 10:43 

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.