Linked by Thom Holwerda on Wed 3rd Apr 2013 15:41 UTC
Mozilla & Gecko clones Big news from Mozilla and Samsung today: the two have been working on a new browsing engine together, developed from the ground-up to be completely new, and it's written entirely in Rust, a new safe systems language developed by Mozilla. "Rust, which today reached v0.6, has been in development for several years and is rapidly approaching stability. It is intended to fill many of the same niches that C++ has over the past decades, with efficient high-level, multi-paradigm abstractions, and offers precise control over hardware resources. But beyond that, it is safe by default, preventing entire classes of memory management errors that lead to crashes and security vulnerabilities. Rust also features lightweight concurrency primitives that make it easy for programmers to leverage the power of the many CPU cores available on current and future computing platforms." The work is on-going, but of course, all code is out there right now.
Thread beginning with comment 557447
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Sex on a cruise ship
by TemporalBeing on Wed 3rd Apr 2013 17:22 UTC in reply to "Sex on a cruise ship"
TemporalBeing
Member since:
2007-08-22

Diamond inheritance keeps getting mentioned as a problem when in fact inheritance isn't even that useful in C++ in the first place.


If you don't think inheritance is very useful in C++ in the first place, then my guess is that you really don't understand it.

Now I'm not a big fan of multiple inheritance - or rather using it in ways that lead to the Diamond Inheritance problem - but I have found inheritance to be very useful in C++.

Reply Parent Score: 3

RE[2]: Sex on a cruise ship
by panzi on Wed 3rd Apr 2013 20:37 in reply to "RE: Sex on a cruise ship"
panzi Member since:
2006-01-22

I wonder, are you people aware of the (at least theoretical) difference between subtyping and inheritance? Because knowing that helps with a lot of problems (well, it helps preventing broken APIs).

Reply Parent Score: 2

RE[2]: Sex on a cruise ship
by kwan_e on Thu 4th Apr 2013 00:10 in reply to "RE: Sex on a cruise ship"
kwan_e Member since:
2007-02-18

If you don't think inheritance is very useful in C++ in the first place, then my guess is that you really don't understand it.

Now I'm not a big fan of multiple inheritance - or rather using it in ways that lead to the Diamond Inheritance problem - but I have found inheritance to be very useful in C++.


Inheritance isn't as useful in C++ as it is in Java or other languages without good compile time generics support. When inheritance is used in C++, there's often no need for overblown class hierarchies that makes diamond inheritance more likely.

Reply Parent Score: 1