Hacker News new | ask | show | jobs
by michaelmior 3131 days ago
> Carp compiles to C...It also likely doesn’t matter much, because chances are your machine has a C compiler.

Whether or not I can compile the code is only one of the many concerns to consider when picking between C and LLVM.

1 comments

That’s quite true, but from the users perspective, it mostly doesn’t matter, at least in my mind. For people interested in the internals—which is an increasing amount of the user base—, and the people working on the compiler, it most definitely is a concern.
One place I can see this being an issue for users is debugging. I haven't tried Carp so I don't know how much of a practical issue this is. But if what is actually being compiled is a C program, how do I tie issues in the compiled C program all the way back to my source in Carp?