News for hackers. Stuff that matters.
Re:Why I Don't Want to Learn Go by msutherl on Monday March 19, 2012 @06:36PM (#3726675)
I'm curious if anybody has written something equivalent to CoffeeScript for C...
Re:Why I Don't Want to Learn Go by andolanra on Monday March 19, 2012 @07:34PM (#3726937)
Something that provides syntactic sugar that compiles down to C? You'd be looking for Vala[1]. I haven't used it so I can't vouch for it in practice, but I know it compiles to C and uses the GObject system for object-oriented programming. It's not as much of a syntax change for C, but it apparently adds quite a bit semantically. There's also a Scheme implementation called Chicken[2] that compiles to C source, and I know there are others that I'm not recalling off the top of my head.

[1]: https://en.wikipedia.org/wiki/Vala_%28programming_language%2... [2]: https://en.wikipedia.org/wiki/Chicken_%28Scheme_implementati...

Re:Why I Don't Want to Learn Go by losvedir on Monday March 19, 2012 @10:08PM (#3727440)
As I understand it, this fellow named Bjarne Stroustrup did once. Of course, the project eventually grew beyond its humble beginnings...