News for hackers. Stuff that matters.
Re:C++17: I See a Monad in Your Future by comex on Thursday February 27, 2014 @08:24PM (#7316641)
> Pray tell me, why do I want a language which has both atomic exchanges (sorta, kinda, depending on your compiler and environment) and monads and function mapping? Doesn't that strike anyone else as, oh, I don't know...ill-focused?

Dunno, but I think part of the reason Rust is popular lately is that it combines safety and functional features with high performance by default and the ability to /theoretically/ easily drop down into lower-level code to eke more out.

I think C++ is an unnecessarily complex language for various reasons, but adding some basic functional methods to a STL class isn't the end of the world on that front and sounds fairly useful.

p.s. Java has atomic exchanges.

There are no comments on this comment yet.