Re: [Cppcms-users] Using MongoDB
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-09-20 06:32:15
|
----- Original Message ----- > From: Shiv Shankar Dayal <shi...@gm...> > To: cpp...@li... > Cc: Artyom Beilis <art...@ya...> > Sent: Thursday, September 20, 2012 8:09 AM > Subject: Re: [Cppcms-users] Using MongoDB > > Hi, > > I had another question. What advantage does CppCMS offer when PHP is > combined with HipHop or Python is used with PyPy? > When you write PHP: $a = $b + $c Python: a = b + c and run it under HipHop or PyPy the code should **dynamically** check of $b and $c are have compatible types and have operation "+" defined for them. Because these languages are dynamically typed and you do not know in the run-time what $b and $c are. In practice using HipHop reduced the load on servers by 50% when CppCMS provides an improvement of over order of magnitude. > -- > Best regards, > Shiv Shankar Dayal > For more details read: http://cppcms.com/wikipp/en/page/benchmarks Note - Java is statically typed JIT compiled language and still has significantly lower performance than CppCMS based applications. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |