digitalmars.D - About functional C++
- bearophile (9/9) Jun 09 2014 A nice post Bartosz:
- Paulo Pinto (10/19) Jun 10 2014 I do like Rust given its ML heritage, but Swift, modern C++ and
- bearophile (8/8) Jun 10 2014 But is Bartosz forgetting the Rust solution? The latest video
A nice post Bartosz: http://bartoszmilewski.com/2014/06/09/the-functional-revolution-in-c/ Perhaps it's a good moment to remove the monitor pointer from D classes (as in a recent front-dmd patch). (D didn't follow the borrowing/linear types ideas of Bartosz that were more primitive than Rust ones, but perhaps sufficient to fend off the Rust menace :-) ). Bye, bearophile
Jun 09 2014
On Monday, 9 June 2014 at 23:56:05 UTC, bearophile wrote:A nice post Bartosz: http://bartoszmilewski.com/2014/06/09/the-functional-revolution-in-c/ Perhaps it's a good moment to remove the monitor pointer from D classes (as in a recent front-dmd patch). (D didn't follow the borrowing/linear types ideas of Bartosz that were more primitive than Rust ones, but perhaps sufficient to fend off the Rust menace :-) ). Bye, bearophileI do like Rust given its ML heritage, but Swift, modern C++ and .NET Native are bigger menaces to D. The only languages that succeeded at mainstream adoption for systems programming are the ones that there is no way around them since they are the official OS languages. D needs the sponsorship of an OS vendor to succeeded in the systems area. -- Paulo
Jun 10 2014
But is Bartosz forgetting the Rust solution? The latest video linked in this newsgroup shows that Rust instead of going the way of functional data structures, it disallows the presence at the same time of reference sharing and mutability. So the mutability of data is not intrinsic, it's related to how many references you can have to it. Bye, bearophile
Jun 10 2014