News for hackers. Stuff that matters.
Re:Imba: A new programming language for web apps by psykovsky on Thursday January 14, 2016 @09:03AM (#10901399)
I get a little confused when people say they "compile" x scripting language into y scripting language.
Re:Imba: A new programming language for web apps by mrgoldenbrown on Thursday January 14, 2016 @10:06AM (#10901785)
Are you trying to be snarky or are you actually confused? Check out the wikipedia article on Transpilers for info on source to source compilers.
Re:Imba: A new programming language for web apps by psykovsky on Thursday January 14, 2016 @05:27PM (#10905203)
I know. Not trying to be snarky at all. Why don't people call stuff by it's names??? Transpiling, not compiling.

Maybe it looks like I'm nitpicking... If it got across like that, sorry. Not my intention at all.

Re:Imba: A new programming language for web apps by nv-vn on Thursday January 14, 2016 @10:15AM (#10901846)
What would you call it other than "compiling"?
Re:Imba: A new programming language for web apps by psykovsky on Thursday January 14, 2016 @05:31PM (#10905240)
Transpiling, as said above. Or maybe transpiling is compiling. I think I'll get out of it more confused than going in.
Re:Imba: A new programming language for web apps by nv-vn on Friday January 15, 2016 @12:57AM (#10907503)
I like to view transpiling as a specialization of compiling. Even if you try to make the distinction between high-level input -> low-level output, in the end it feels like the language matters much less than how the generated code is designed. Most "transpilers" end up using the bare minimum number of features for the target language and staying constrained to a pretty low-level part of that language. For example, languages that transpile to JavaScript tend to target asm.js, which really doesn't look anything like the JavaScript that real people write. Getting bogged down in naming differences when the overall process is pretty much identical is just ignoring the big picture in my mind.