News for hackers. Stuff that matters.
Re:Carbon: high level programming language that compiles to ... by WalterBright on Saturday October 20, 2012 @03:02PM (#4677903)
Compiling to C puts some significant constraints on your language. For example, C doesn't have COMDAT support, thread local storage, exception handling is limited to setjmp/longjmp, static uplevel function links are a problem, symbolic debug info is going to all look like C, etc.
Re:Carbon: high level programming language that compiles to ... by tptacek on Saturday October 20, 2012 @06:20PM (#4678345)
I'm not sure I understand how C's lack of high-level exceptions makes a difference for a high-level language that compiles down to C. The high-level language can provide exception support, just like large-scale C packages sometimes do using longjmp.

Similarly, are you really suggesting that C programs can't have thread-local storage?

Re:Carbon: high level programming language that compiles to ... by WalterBright on Saturday October 20, 2012 @07:45PM (#4678484)
setjmp/longjmp tends to be pretty primitive, compared to decent eh support.

Standard C does not have thread local storage.

Re:Carbon: high level programming language that compiles to ... by tptacek on Saturday October 20, 2012 @08:15PM (#4678518)
Are you missing the fact that we're talking about using C as a substrate for a higher-level language?
Re:Carbon: high level programming language that compiles to ... by ExpiredLink on Saturday October 20, 2012 @05:02PM (#4678215)
It's just ubiquitous.