Firebird News

Thursday, September 23, 2010

Why free pascal on the server side ? speed and memory and yes you can press the turbo button

If php tries to mimic a modern language with adding strict typing
and some disoriented view of objects and namespaces (dos style "\" namespace anyone instead of "::" or "." ?) and then compiling it to pure c++ then asm with llvm
then why not using a proper language that do proper compilation and type checking from the start and is way faster

How fast ? 100 times , yes that is not a typo
and bonus 100 times less memory or more ~ 1000 times

Pascal can beat any of the dynamic languages for speed and memory and can beat anytime c++ at compilation speed :)
And by default it beats java at memory allocation :P i think anyone can beat that

here are some examples :
Let's first beat php
Then ruby
then javascript v8
then python
and so on ...lua , mono c# , ...

It's just like having another 100x memory needed for one server or the cpu power
nobody gives you that for free : ask Amazon how much they charge per server or cpu power
and you get something 100x memory on your servers for free
let's say is 4G in typical configuration and with pascal in some area is like 100*4 = 4000G
compared with typical php/ruby one.
I mean no one will give you a sgi type machine with 1000 cpus and 4T of ram for free just to run some webpage or host a facebook type application
from 10.000 concurent users you can host more 100.000 or more 1M on the same machine
and that without working it to make it scalable
There are things to be improved the in benchmark war but pascal looks good on the server side
check extjspascal
and howto use json/javascript with object pascal on the server side
Post a Comment