News for hackers. Stuff that matters.
Re:Cling: an interactive C++ interpreter, built on top of Cl... by rhapsodyv on Wednesday September 24, 2014 @07:50PM (#8364801)
I think every language would be more productive if it were interpreted at development and compiled at production.
Re:Cling: an interactive C++ interpreter, built on top of Cl... by pjmlp on Thursday September 25, 2014 @08:33AM (#8366781)
Fully agree.

Just as info for others.

This is the model followed by environments for Common Lisp, Eiffel, JVM, ML languages, .NET, Dylan, Erlang.

Best of both worlds, JIT/Interpreted for development and JIT/AOT for production.

Re:Cling: an interactive C++ interpreter, built on top of Cl... by sklogic on Thursday September 25, 2014 @03:07AM (#8365985)
That's exactly how CINT was used in ROOT, but now they're moving to Cling instead. Clang compilation is sufficiently fast for an interactive development.
Re:Cling: an interactive C++ interpreter, built on top of Cl... by batbomb on Thursday September 25, 2014 @04:25PM (#8369542)
After years of dealing with Graduate student missteps and ROOT->Java interoperability, to me, ROOT will always mean: blown stacks (i.e. double hist_data[1000000];), poor documentation on TTree/TBranch, NPEs, exceptions, the horrible bag of "features" TObject is, terrible debug statements, no logging, GUI hell, pseudo-.C-macro-compilation-that-only-works-with-trivial-cases, code translation, dlopen madness, code interoprability, Mac OSX support, 2+ hour compilations, TList hell because no STL (NO STL!?!?!), etc...

Years of physicists time has been wasted on CINT, and many more years on ROOT itself.

I'm sure Cling is much better, and it looks cool on it's own, but I know ROOT isn't. Luckily I only have to dig in the source code for ROOT once a year or so (the last time was figuring out they finally got around to adding LZMA compression to ROOT files when things started breaking at work).

I used to think PyRoot was the way forward. Eventually, ROOT will be burned at the stake and everyone will over with Julia.

Re:Cling: an interactive C++ interpreter, built on top of Cl... by luikore on Thursday September 25, 2014 @10:06AM (#8367188)
Sadly, for most compiled languages the semantics will be completely different when being interpreted.
Re:Cling: an interactive C++ interpreter, built on top of Cl... by chrisseaton on Thursday September 25, 2014 @11:56AM (#8367794)
Why would the semantics change if you use an interpreter rather than a compiler?