News for hackers. Stuff that matters.
Re:C++14: Transducers by pjmlp on Wednesday December 16, 2015 @02:10PM (#10746460)
> AFAIK struts+arrays in C# are the only construct I've seen that lets you get close to explicitly control ordering of objects.

Check Mesa/Cedar, Modula-3, Oberon, Oberon-2, Active Oberon, Component Pascal, D.

All system programming languages with GC.

Re:C++14: Transducers by vvanders on Wednesday December 16, 2015 @02:15PM (#10746499)
I knew I should have included the caveat of being widely available on many platforms with a rich library ecosystem :).

I'm sure they fit the definition but I don't know that I'd want to use any in production aside from D. D is so similar to C++ I'd just rather use C++ instead since it's a bit more proven of a stack.

Re:C++14: Transducers by pjmlp on Wednesday December 16, 2015 @02:54PM (#10746808)
Except for D, those languages died because they were tied to OSes that didn't managed to jump into the mainstream, but they showed the way.

The problem is to have an OS vendor that would care to bring those features back.

So far I see it happening with Swift and C#, where Microsoft is slowly adding features from System C# used in project Midori.

Will they kill C++? Surely not, but they might reduce the use cases one would use it for.

For example, nowadays I don't write full stack applications in C++ any longer, I just use it for infrastructure code.

Re:C++14: Transducers by vvanders on Wednesday December 16, 2015 @03:48PM (#10747212)
Yup, that's totally fair. I'm a big fan of a solid C++ core + wrapper language that maps to the domain I'm in. Very common in the games space to see C# for all tooling/editor with the core engine in C++ for portability/performance.