Results 1 to 6 of 6

Thread: Cling: An Interactive, JIT-Based C++ Interpreter

  1. #1
    Join Date
    Jan 2007
    Posts
    13,433

    Default Cling: An Interactive, JIT-Based C++ Interpreter

    Phoronix: Cling: An Interactive, JIT-Based C++ Interpreter

    After writing about ClangFormat yesterday as an interesting LLVM project that leverages Clang to automatically reformat C/C++ source-code, a Phoronix reader wrote in about another interesting project, Cling. Cling is an interactive C++ interpreter that uses Clang for Just-In-Time compilation...

    http://www.phoronix.com/vr.php?view=MTQ2Mjk

  2. #2
    Join Date
    Mar 2013
    Posts
    145

    Default

    This is an excellent project!!!

    I would love to see this project replacing most scripting languages

  3. #3
    Join Date
    Sep 2012
    Posts
    25

    Default

    Quote Originally Posted by TheOne View Post
    This is an excellent project!!!

    I would love to see this project replacing most scripting languages
    Yes, i can see all these Python, Perl, PHP, SH, JS programmers massively switch to experience the joy of C++ scripting... Are you out of your mind?
    Its a good idea, but for a horror movie.

  4. #4
    Join Date
    Jan 2011
    Posts
    1,287

    Default

    Quote Originally Posted by TheOne View Post
    This is an excellent project!!!

    I would love to see this project replacing most scripting languages
    ?

    You know, ROOT exists since several years ago. It's used in the LHC, and was previously used in another CERN project, but I don't recall which (and I'm too lazy to re read the about page).

    Quote Originally Posted by kaszak View Post
    Yes, i can see all these Python, Perl, PHP, SH, JS programmers massively switch to experience the joy of C++ scripting... Are you out of your mind?
    Its a good idea, but for a horror movie.
    It IS a good idea, but for CERN, which needs huge performance. They do work produce more than 10TB of raw data for every run. For normal applications? Way too much overkill.

    EDIT: Before you start saying "then go native all the way", which I might agree, the C language is easier to optimize and compile than most other languages, because it's simple (as in complexity, not as difficulty), so even though recompiling fully might be annoying for the kind of application this aims to, they need to achieve the running code to be as optimized as possible while not actually recompiling every time.
    Last edited by mrugiero; 09-16-2013 at 03:44 PM.

  5. #5
    Join Date
    Sep 2012
    Posts
    25

    Default

    Quote Originally Posted by mrugiero View Post
    ?
    It IS a good idea, but for CERN, which needs huge performance. They do work produce more than 10TB of raw data for every run. For normal applications? Way too much overkill.

    EDIT: Before you start saying "then go native all the way", which I might agree, the C language is easier to optimize and compile than most other languages, because it's simple (as in complexity, not as difficulty), so even though recompiling fully might be annoying for the kind of application this aims to, they need to achieve the running code to be as optimized as possible while not actually recompiling every time.
    I'm not going to argue with that, CERN staff are experts, and they know what they need to do their job. The idea of replacing current interpreted langueges with C++ is the one i find absurd.

  6. #6
    Join Date
    Jan 2011
    Posts
    1,287

    Default

    Quote Originally Posted by kaszak View Post
    I'm not going to argue with that, CERN staff are experts, and they know what they need to do their job. The idea of replacing current interpreted langueges with C++ is the one i find absurd.
    And I agree with you. Scripting languages have their reason to exist, and having an scripting C won't change that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •