Free Newsletters

   All InfoWorld Newsletters
Open Sources | Rodrigues & Urlocker » Cobra, A new OSS language for .Net

February 08, 2008 | Comments: (0)

Cobra, A new OSS language for .Net

I read about a .Net-based open source language project named Cobra. What is Cobra? Chuck Esterbrook, the creator of Cobra, gave this presentation at Lang.net. According to Chuck, the Cobra language takes the best of several languages and puts them in one place:

MOTIVATION: Productivity boosters are scattered across languages - Clean syntax (Python, Ruby) - Run-time performance (C#, C++) - Static and dynamic typing (Objective-C, VB) - Contracts (Eiffel, Spec#) - Nil tracking (Spec#, iihtdioa.C#) - Not mutually exclusive!

Cobra runs on .Net and Mono.

Call me old fashioned, but considering Chuck's plan to open source the compiler (under the MIT license), why’d he go down the .Net path? So I asked him:

1. Why did you decide to build Cobra on top of .Net?

I made two attempts in private to build Cobra as a standalone language and gave up after a few months in each case. The amount of work involved, which includes the creation of a standard library, is daunting and time consuming.

.Net was a multi-language design from the start including CodeDom support and multiple languages from Microsoft's own people. When I saw how much leverage the Boo project was getting out of it, I decided to try again.

See also: http://cobra-language.com/docs/acknowledgements/

Now I'm excited about further developments like Silverlight and Pex. Interoperability and leverage is a good thing!

2. Do you think that OSS religious types will be anti-Cobra because it's implemented on .Net?

I hope not. I do a lot of the development on Novell Mono, which is OSS. Cobra itself will be OSS this month. And there is a growing number of OSS projects that run on .Net and Mono.

3. Any info on usage?

Just that I was in stealth mode until my presentation at Lang.net in January. My focus right now is "release early, release often".

4. Anything else you want to mention?

Cobra is self-hosted meaning that the compiler is implemented in Cobra. That was very important to me so that for the hours I spend maintaining the language, I'm using it. It also means I have to pay attention to performance. And of course, it's the ultimate test case after I make a change (both last and biggest).

Good luck, Chuck!

PS: I should state: "The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions."

Posted by Savio Rodrigues on February 8, 2008 09:49 PM


RATE THIS ARTICLE:





 

  •  
  • COMMENTS




Hi all,

New release of Cobra at:
http://cobra-language.com/forums/viewtopic.php?f=3&t=24

Posted by: Chuck Esterbrook at February 9, 2008 04:48 PM

Microsoft Mini Spotlight
  • Get Started
  • Port 25 Blogs
  • OSS News
  • Join a Project

{Open Source} Heroes Happen Here

Start today and order your own Hero Hack Pack – which includes Getting Started with Open Source, Windows Server 2008 and Visual Studio 2008 Trial. Each pack is a chance to win a free pass to OSCON 2008.







Technology White Papers

 

InfoWorld Technology Marketplace

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
» BUY A LINK NOW

Sponsored Technology Links