News for hackers. Stuff that matters.
Re:Cling: Running C++ in an interpreter by jlarocco on Sunday August 12, 2012 @06:22PM (#4373824)
It's a cool idea, but his reason for creating it is kinda dumb.

Creating an entire "project" just to check a code snippet is just silly.

Just create a "testing" directory and throw your one off test files into it and compile/run them there.

I start mine with a comment explaining what I'm testing, why I'm testing it, and what special compilation flags are required, if any. I even have an Emacs macro that fills in the boilerplate includes and main function. The overhead involved is probably less than 15 seconds.

It has the advantages that I can test multiple compilers and I keep a history of the things I've tried.

Re:Cling: Running C++ in an interpreter by geofft on Sunday August 12, 2012 @07:11PM (#4373918)
The ROOT project has been using CINT for ages. Talk to your favorite physicist friend -- they'll be confused why the CS crowd _doesn't_ have this technology.

This is just an updating of what must be an awful hack to be built on LLVM infrastructure.

Re:Cling: Running C++ in an interpreter by Create on Monday August 13, 2012 @02:05AM (#4374723)