Slashdot Mirror


Carrot, an Open Source C++ scripting module for Apache

Fons Rademakers writes: "ROOT-Apache (aka Carrot) is an open source scripting module for the Apache webserver. Based on the ROOT framework which is using C++ as scripting language, via the CINT interpreter, it has a number of powerful features, including the ability to embed C++ code into HTML pages, run interpreted and compiled C++ macros, dynamically extend the framework with external libraries, access and manipulate databases, and generate graphics on-the-fly, among many others."

6 of 50 comments (clear)

  1. Yes... by Anonymous Coward · · Score: 3, Funny

    Because C++ is designed to be a quick and dirty web scripting language...

  2. Great idea by __past__ · · Score: 5, Funny

    Finally, a web-server scripting environment giving you all the features you always missed, like coredumps, buffer overflows and format string errors...

    1. Re:Great idea by Fweeky · · Score: 2, Funny

      > Finally, a web-server scripting environment giving you all the features you always missed, like
      > coredumps, buffer overflows and format string errors

      Yup, open source web software finally catches up with Microsoft. Should go nicely with the FreeBSD .NET port :)

    2. Re:Great idea by Wojtek · · Score: 3, Funny

      Format string errors? That's C. No, C++ in the webserver will bring you the joys of doing template code instantiation on every single page lookup! Fun for the whole family!

  3. Not in C++ by ttfkam · · Score: 3, Funny

    As long as you write standard C++ (std::string instead of char*, cin/cout instead of scanf/printf, etc.) buffer overflows and format string errors go away. Core dumps are still a danger though...

    I agree though... All of the power of a scripting language with the ease of use and simplicity of C++. Makes me pine for the days where assembly was the dominant language.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
    1. Re:Not in C++ by __past__ · · Score: 3, Funny
      All of the power of a scripting language with the ease of use and simplicity of C++.
      Perhaps they want to learn from Java's success, which elegantly combined the disadvantages of interpreted and compiled languages...