Click here to Skip to main content
15,886,689 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!

 
GeneralRe: Microsoft to make Windows 10 upgrades free for more Windows 10 subscription plan users Pin
Joe Woodbury20-Jan-17 10:08
professionalJoe Woodbury20-Jan-17 10:08 
NewsResearchers have found a way to pair cells to smartphones Pin
Kent Sharkey19-Jan-17 10:18
staffKent Sharkey19-Jan-17 10:18 
News.NET Core image processing Pin
Kent Sharkey19-Jan-17 7:38
staffKent Sharkey19-Jan-17 7:38 
NewsSitting too much ages you by 8 years Pin
Kent Sharkey19-Jan-17 7:37
staffKent Sharkey19-Jan-17 7:37 
GeneralRe: Sitting too much ages you by 8 years Pin
Joe Woodbury20-Jan-17 10:39
professionalJoe Woodbury20-Jan-17 10:39 
NewsBjarne Stroustrup mines generic programming for a better C++ Pin
Kent Sharkey19-Jan-17 7:34
staffKent Sharkey19-Jan-17 7:34 
GeneralRe: Bjarne Stroustrup mines generic programming for a better C++ Pin
Vark11120-Jan-17 2:23
Vark11120-Jan-17 2:23 
GeneralRe: Bjarne Stroustrup mines generic programming for a better C++ Pin
Dan Neely20-Jan-17 4:37
Dan Neely20-Jan-17 4:37 
Quote:
Stroustrup recalls what he had had in mind: “I wanted three properties for templates: full generality/expressiveness, zero overhead compared to hand coding [and] well-specified interfaces.”

But no one could figure out how to get all three, so C++ ended up with Turing completeness and better-than-hand-coding performance but lousy interfaces -- basically compile-time duck typing, in which a function accepts any type that has the properties that the implementation happens to use, instead of checking types in interfaces. This situation can result in complicated code.


The article could be a bit clearer in places. Are Concepts achieving all 3 properties, or is it giving an alternative to templates similar to C#/Java generics: less powerful but much easier to use? The article implies the former; but never states it explicitly.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Bjarne Stroustrup mines generic programming for a better C++ Pin
Vark11120-Jan-17 9:13
Vark11120-Jan-17 9:13 
NewsProgress announces 20% layoffs (450 people) Pin
Pete O'Hanlon18-Jan-17 16:17
mvePete O'Hanlon18-Jan-17 16:17 
GeneralRe: Peogress announces 20% layoffs (450 people) Pin
Kornfeld Eliyahu Peter18-Jan-17 19:52
professionalKornfeld Eliyahu Peter18-Jan-17 19:52 
GeneralRe: Peogress announces 20% layoffs (450 people) Pin
Marc Clifton19-Jan-17 9:06
mvaMarc Clifton19-Jan-17 9:06 
GeneralRe: Peogress announces 20% layoffs (450 people) Pin
jesarg19-Jan-17 10:55
jesarg19-Jan-17 10:55 
GeneralRe: Peogress announces 20% layoffs (450 people) Pin
Mark_Wallace19-Jan-17 21:04
Mark_Wallace19-Jan-17 21:04 
GeneralRe: Peogress announces 20% layoffs (450 people) Pin
User 842019-Jan-17 11:03
User 842019-Jan-17 11:03 
GeneralRe: Progress announces 20% layoffs (450 people) Pin
Joe Woodbury20-Jan-17 10:10
professionalJoe Woodbury20-Jan-17 10:10 
NewsUltrasound Tracking Could Be Used to Deanonymize Tor Users Pin
David O'Neil18-Jan-17 14:29
professionalDavid O'Neil18-Jan-17 14:29 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Rajesh R Subramanian18-Jan-17 15:43
professionalRajesh R Subramanian18-Jan-17 15:43 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
dan!sh 18-Jan-17 16:35
professional dan!sh 18-Jan-17 16:35 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
David O'Neil18-Jan-17 18:34
professionalDavid O'Neil18-Jan-17 18:34 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Dan Neely19-Jan-17 2:25
Dan Neely19-Jan-17 2:25 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Rajesh R Subramanian19-Jan-17 11:37
professionalRajesh R Subramanian19-Jan-17 11:37 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Dan Neely20-Jan-17 4:38
Dan Neely20-Jan-17 4:38 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Rajesh R Subramanian20-Jan-17 15:23
professionalRajesh R Subramanian20-Jan-17 15:23 
GeneralRe: Ultrasound Tracking Could Be Used to Deanonymize Tor Users Pin
Dan Neely23-Jan-17 2:24
Dan Neely23-Jan-17 2:24 

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.