Version française
Home     About     Download     Resources     Contact us    
Browse thread
scalable web apps
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yoann Padioleau <padator@w...>
Subject: Re: [Caml-list] scalable web apps

On Jul 25, 2010, at 2:45 PM, Dario Teixeira wrote:

> 
> Hi,
> 
>> I would ask that question again, but miss out the "with OCaml" part,
>> because really the choice of language doesn't matter very much.
> 
> Indeed.  Note, however, that more than once have people raised the issue
> of Ocaml's non-concurrent GC on Ocsigen's mailing-list.  The doubt is
> always whether this makes any Ocaml-based framework unsuitable for
> scalable web applications.  I think it's important to assuage those fears
> once and for all: in no meaningful way does Ocaml's single-coredness
> constitute an impediment towards scalability in the web domain.

Yep. Facebook is written in PHP which does not even have threads ...

> 
> 
>> Or if you prefer think of it this way: People are using really
>> unsuitable languages (PHP) and really slow languages (Ruby, PHP,
>> Python, Perl) on some massive websites out there.
> 
> Yeap.  Personally, I find Ocsigen's greatest advantage to be the safety
> and expressiveness that it brings to backend programming (and soon also
> to the frontend).  The fact that it's also fast is just icing on the cake...

My biggest issue with OCsigen is the lack of documentation and examples.
With rails you got lots of books, and you got example of non trivial websites
like a mini amazon (called depot: http://pragprog.com/titles/rails2/source_code)
in less than 2000 lines of code.





> 
> Cheers,
> Dario Teixeira
> 
> 
> 
> 
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>