Stanislav Malyshev wrote:
PJ>> python in my case. And not only langages, please check any tools that
PJ>> allows dynamic load of extensions.

Most languages even don't have a concept of "extensions",

WTF? At least I get a good laugh early in the morning.


Perl, Python, Tcl, Pike, Ruby, *name you major language of choice* all have binary extension support, and well, so far as I know, the only way to load a binary extension is dlopen. They just use statements like 'import' or 'use'. Even Perl with it's sucky thread support handles this issue much better than PHP. The only languages I can think of that do not have it are javascript, and perhaps that basic language that came with DOS.

Anyway, the problem in PHP is one of implementation. The reason it has problems is because dl loads/unloads for every request, rather than loading and leave loaded like all other languages.

Arguments for this have been gone over in the past and generaly 'security issues' and 'memory usage' are used as reasons to not change the way it works, both being generaly bogus. The only reason it isn't fixed is reliance on php.ini.

Shane

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to