Slashdot Mirror


mod_caml Comes Of Age

Richard W.M. Jones writes "mod_caml is a set of bindings between Objective Caml and the full Apache API. mod_caml 0.6 has bindings for the Apache API and a full Perl-like CGI and templating library. There's only two things you need to know about Objective Caml: it's a modern, fully-featured and highly-optimised language, and it has a good tutorial so Perl/Java/C/C++ programmers can join in the fun."

3 of 43 comments (clear)

  1. Re:Improved linkage by zangdesign · · Score: 2, Interesting

    I can see his point about hating /. - I read his reasons and they're all reasonable opinions. I pray god I never post anything that is even remotely interesting to /. as a whole.

    So far, no worries on that point.

    --
    To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
  2. Re:O'Caml for Scripting? by wcbarksdale · · Score: 2, Interesting
    Only in a very limited sense could Python be considered strong typing. It's stronger than C, but most anything is, and you can do things like
    obj.feild = 4
    and in general, functions tend to care about whether their arguments have certain properties (you can apply something to them) rather than what type they are.

    And yes, type inference is absolutely necessary to have a workable strong-typing system - otherwise you end up with something as verbose as Java.

  3. Re:O'Caml for Scripting? by Richard+W.M.+Jones · · Score: 2, Interesting
    Erm, and the other way to do it is by loading a shared module. In httpd.conf:

    CamlLoad /path/to/my/module.cmo

    Then all scripts can access functions/values in Module.

    Rich.