Feeds

Shader wars: NVidia goes open source

Well, sort of...

  • alert
  • submit to reddit

Build a business case: developing custom apps

John Carmack has welcomed NVidia's decision to open its source compiler technology - but not the actual compiler - for its high-level Cg language.

With competition heating up in the shader wars, NVidia wants to build momentum for Cg, and just in case we miss the point, an accompanying press release tells us that "momentum is increasing in the Developer Community" for Cg.

There's a little more detail in a FAQ on NVidia's cgshaders website:

"NVIDIA will be releasing source code to the "front-end" of the compiler, and a simple back-end. This code will contain the parser and basic non-back-end-specific parts of the compiler, and the back-end we create will walk through the parsed program and print out some human-readable output. We will release it as soon as the code is ready, there have been some tweaks to the grammar to be more compatible with Microsoft's HLSL that we wanted to get in before releasing the source code."

NVidia is positioning Cg as the "C for graphics". Presumably they don't mean that language prone to pointer errors and memory allocation bugs, with a dodgy run-time library, that takes 15 years to clear an ANSI standard ... but instead is a rich, high level language that removes the need to target low-level hardware card-by-card. (That's what happens when you let marketing people loose on the metaphors).

NVidia yesterday also said that it had signed 36,000 developers for the Cg toolkit, and was submitting the language to the Open GL spec committee (ARB). ®

Related Stories

Academics float NVidia pixel plans
Carmack backs OpenGL in shader wars

Boost IT visibility and business value

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.