News for hackers. Stuff that matters.
Re:A Programming Language Underdog by skellock on Saturday September 22, 2018 @09:52AM (#18045950)
See, this is what I thought too. Turns out, by compiling to C or C++, you can use their toolchains. Debuggers, codecov, emscripten...
Re:A Programming Language Underdog by ryanianian on Saturday September 22, 2018 @10:21AM (#18046065)
"Can use" is different from "can use productively." Technically if it's compiled to C/C++ you can use gdb/lldb etc, BUT the compiled version may be so drastically different from the input that it's effectively useless to track down logic errors in the original.
Re:A Programming Language Underdog by loup-vaillant on Saturday September 22, 2018 @02:47PM (#18047378)
C has this nice preprocessor directive that indicate the actual source code:

   #line 42 "actual_source.lang"
Subsequent tools like gdb/lldb pick up on that, and point to your source code instead of the intermediate C. So you don't care that the C code is wildly different from your own, the tools can still point to to the right place.

Sounds pretty productive to me.