News for hackers. Stuff that matters.
Re:C as an intermediate language (2012) by MaxBarraclough on Saturday January 20, 2018 @10:21AM (#16193626)
As I mention below, Vala debugging isn't the catastrophe you think: https://wiki.gnome.org/Projects/Vala/Tutorial#Debugging

I believe it's based on #pragmas that tell the C compiler (and/or GDB, presumably) which line of which file to blame.

Serious work has been done in Vala. It's not fair to dismiss the language as a quaint toy.

Re:C as an intermediate language (2012) by qznc on Sunday January 21, 2018 @07:49AM (#16197873)
Preprocessor directives are not powerful enough [0], imho.

[0] https://news.ycombinator.com/item?id=16197856

Re:C as an intermediate language (2012) by MaxBarraclough on Sunday January 21, 2018 @02:56PM (#16199638)
That isn't an attribute of using C as an IR, it's an attribute of optimising compilers.

The solution is to disable optimisation for debug builds, not to avoid C.

From the gnome.org page:

> The -g command line option tells the Vala compiler to include Vala source code line information in the compiled binary