News for hackers. Stuff that matters.
Re:OpenGL in 2014 by BadassFractal on Sunday September 21, 2014 @05:51AM (#8346742)
The saying is that total rewrites are always a bad idea. It'll be interesting to see if this one would be an exception to the rule.
Re:OpenGL in 2014 by fsloth on Sunday September 21, 2014 @05:20PM (#8348343)
That saying is wrong. Total rewrites for the wrong reasons are a bad idea. Total rewrites for the right reasons and with _a right team_ can be great (i.e. better abstractions, better understood domain requirements which can lead to a more simple, better codebase, enable features that were not feasible before, and so on). Succintly: If the theory of the existing system is still understood well enough and the team understands the domain requirements and has experience of implementing similar systems then a rewrite can be a great idea (ref Naur: 'Programming as theory building' on what the theory of the system means as a concept and what are it's implications). For specific businesses, total rewrites can be startup-level risky and should be done due to specific domain requirements. I think this is usually what is meant by the 'bad idea' meme. Joel Spolsky wrote of this at some point and gave example of Netscape's rewrite attempt. His advice of "don't do it" was highly context dependent, though.

When we discuss of creating a new industry standard API, we are not discussing of a single rewrite. There are a few typical patterns how these are done: 'fostering' an existing tech stack under a public institution or developing the API publicly.The public API development usually consists of two parts - agreeing on the theory of the API and implementing one or more reference implementations of the said API at the same time by member institutions.

I'm not sure how to gauge the risk of this public API development. There are costs for member organisations but usually they are insignificant when compared to the size of an institution. There is usually no established product whose feature development and support stagnates because of this but rather the development is done to facilitate potential future products and features. Of course, the API adoption can fail (ref. for example OpenVG) but that fait can befall any new development for any number of reasons.

Re:OpenGL in 2014 by BadassFractal on Sunday September 21, 2014 @08:56PM (#8348836)
Very informative, thanks for sharing that.
Re:OpenGL in 2014 by Tuna-Fish on Sunday September 21, 2014 @07:16AM (#8346866)
The way I've heard it is: "Total rewrites are always a bad idea. Sometimes they are necessary."
Re:OpenGL in 2014 by tormeh on Sunday September 21, 2014 @07:12AM (#8346855)
For an API with 20 years of cruft? Rewriting is the only option.
Re:OpenGL in 2014 by lucb1e on Sunday September 21, 2014 @09:43AM (#8347139)
The article gives the age as only argument for why it carries all that cruft, but it can never be the only factor. If it were, the 23 year old Linux kernel project would be rotten by now, especially with the 31 year old GNU toolkit.

Sure I understand that there might be some stuff that should be deprecated (much like with HTML elements, the old stuff can be supported while newer projects use newer and better stuff), but rewriting from the ground up also means that you have to re-educate every developer out there. They might as well go and release for Windows instead since they probably have some experience with DirectX too.

Rewriting something that many people use is a bad idea, especially when there are well-funded competitors trying to get developers onto their own platforms.

Re:OpenGL in 2014 by raverbashing on Sunday September 21, 2014 @09:51AM (#8347151)
Yeah, but Linux is not afraid of removing cruft. Computers (and the x86-i386 arch) changed very little over the past 20 years, even with the 64-bit stuff

Graphical cards evolved much more in the last 15 years.

The first Direct3D versions were also bad, but they evolved and removed cruft and broke backwards compatibility.

Re:OpenGL in 2014 by ygra on Sunday September 21, 2014 @10:34AM (#8347243)
Well, as the recent article about modernizing less showed, such old projects frequently do show their age.
Re:OpenGL in 2014 by srcmap on Sunday September 21, 2014 @08:59AM (#8347029)
Unfortunately, it also means GL has 20 yearly of usage history and large numbers of app that using it.

Rewriting those will be much more harder. A lof of them probably not open source.

Re:OpenGL in 2014 by tormeh on Sunday September 21, 2014 @01:01PM (#8347603)
Why would you want to rewrite them? The old OpenGL will just stagnate, I imagine, not go away.
Re:OpenGL in 2014 by Sanddancer on Sunday September 21, 2014 @09:07PM (#8348857)
They'll continue working without a hitch. Various versions of OpenGL can live with each other.
Re:OpenGL in 2014 by diltonm on Sunday September 21, 2014 @10:58AM (#8347294)
I don't do 3D programming but have benefited as a happy Steam customer from the great games on Linux now. Having said that, it's generally a bad idea to re-write software with such a massive customer base on the basis of age. The term cruft doesn't qualify this notion. Refine, update sure but re-writing seems like a major overreaction.
Re:OpenGL in 2014 by Dylan16807 on Sunday September 21, 2014 @10:06AM (#8347186)
This is a new API, not a new codebase. New APIs happen all the time.
Re:OpenGL in 2014 by z303 on Sunday September 21, 2014 @07:28AM (#8346884)
Well OpenGL exists in the first place as cleaned up version of IrisGL (it originally was going to be IrisGL 5)
Re:OpenGL in 2014 by IshKebab on Sunday September 21, 2014 @06:56AM (#8346817)
It's not a rule though. Total rewrites are often not a good idea, but sometimes they are.