News for hackers. Stuff that matters.
Re:Let’s sunset C/C++ by tempodox on Friday August 14, 2015 @07:37AM (#10059580)
To this, I can only agree. I love C and I can write secure software in it, but the costs of doing that are generally not worthwhile in today's market (if they ever were).

C will still have a place in its niche, but it shouldn't be considered the standard general-purpose language any more.

Our processors have gotten so fast we can run slow-motion versions without even noticing (smartphone & tablet CPUs), so don't tell me anything other than C would be “too slow”.

C is unbeatable as long as riding rodeo on your raw CPU is all you could ever want. But software has evolved, mankind's dependency on software has evolved, and so have our expectations & standards. It's time to learn the lesson and move on.

Re:Let’s sunset C/C++ by chriswarbo on Friday August 14, 2015 @08:21AM (#10059738)
Memory-safety doesn't make a language slower. Garbage collection does, but there are other approaches like linear types which perform all checks at compile-time, so the resulting code doesn't need to do any checking/indirection/etc. and is hence equivalent to what C would produce.
Re:Let’s sunset C/C++ by GFK_of_xmaspast on Friday August 14, 2015 @10:21AM (#10060222)
All that extra computation load directly translates to increased power consumption and reduced battery life.
Re:Let’s sunset C/C++ by justwannasing on Friday August 14, 2015 @07:54AM (#10059652)
Niche? C and Java are the most used languages in the world!
Re:Let’s sunset C/C++ by tempodox on Friday August 14, 2015 @08:39AM (#10059786)
Niche as in “where it makes sense to use it because the strengths of the language support your important goals and the weaknesses don't kill you” as opposed to using it because it's one of the most used languages in the world.
Re:Let’s sunset C/C++ by justwannasing on Friday August 14, 2015 @09:02AM (#10059877)
Which emphasizes my point. There are few places where C's strength is not prevalent and its weaknesses won't kill you.
Re:Let’s sunset C/C++ by tempodox on Friday August 14, 2015 @11:00AM (#10060440)
Depending on your skill, which is a scarce resource in general.