[OSM-dev] OSM server installation - problems with create
frederik at remote.org
Thu Sep 4 07:32:21 BST 2008
Stefan de Konink wrote:
> if (mmap2(...) == -1)
The problem is that between our program code (which is of course fast
and efficient) and the kernel (which offers the mmap2 system call) sits
a fat beast (a.k.a "dynamic programming language") named "ruby" that
magically frees the programmer of all responsibilities regarding memory
allocation and deallocation. This is good because it becomes hard for
even the stupidest programmer to create memory leaks, but on the other
hand the programmer is not usually told when ruby decides to make an
mmap call and what the return value of it was.
> Or would that be 'too easy'? ;)
In a way, yes.
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev