Re:Nim language v0.18.0 released
by dom96 on Thursday March 01, 2018 @07:27PM
(#16497720)
Compiling is the correct terminology here. Nim transpiles to JavaScript, but it compiles to C and C++. You don't say that Rust transpiles to LLVM IR, do you?
[ Parent
| on HN ]
Re:Nim language v0.18.0 released
by throwaway7645 on Thursday March 01, 2018 @07:37PM
(#16497794)
Mad respect for you Dom, but why would going from Nim -> JS be Transpiling and Nim-> C++ be compiling? Both go from a high level Lang to another high level Lang.
I don't consider C/C++ high-level.
Re:Nim language v0.18.0 released
by throwaway7645 on Thursday March 01, 2018 @08:20PM
(#16498067)
I would normally agree with you, but that seems subjective.
It is indeed a little subjective and changes with time. This Wikipedia article explains it fairly well I think: https://en.wikipedia.org/wiki/High-level_programming_languag...
Re:Nim language v0.18.0 released
by felixangell on Thursday March 01, 2018 @07:32PM
(#16497755)
I would say compiles is a more general form of transpiles. Transpiling meaning it compiles into a higher level form i.e. c, C++, JavaScript, and compile meaning it compiles into a more lower level form i.e assembly, bytecode, etc?
That's just how I look at it anyway.