[Info-vax] Python for x86?

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Thu Apr 13 08:30:21 EDT 2023


Den 2023-04-13 kl. 14:26, skrev Simon Clubley:
> On 2023-04-13, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 4/13/2023 6:44 AM, Neil Rieck wrote:
>>> And although python is used to do a lot of admin scripting on Linux
>>> platforms (tools like "yum" and "firewall-cmd" are written in
>>> python), python does a really good job supporting server-side
>>> scripting under apache cgi-bin. I don't know how this is possible,
>>> but python programs are faster than compiled DEC-BASIC programs
>>> started via apache.
>>
>> That is unexpected. If both are run via CGI mechanism then
>> script activation should be the same. And compiled code should be
>> faster than interpreted code. And if libraries used are also the
>> same then it is a mystery.
>>
> 
> Maybe. Maybe not. Based purely on some comments from people here who
> know/use DEC Basic, it's quite possible that DEC Basic has a RTL which
> imposes some serious runtime overheads.
> 
> Perhaps for one of your many articles (:-)), you may be interested in
> coding the same set of problems in the various DEC languages and seeing
> what the performance differences are.
> 
> Simon.
> 

I'm quite sure that the difference seen come from the fact that
the Basic application is using standard CGI (one process per call)
and Python is a "Loadable Module" in Apache (stays loaded between
calls).

If both was using the same server technique, I'd expect the Basic
process to be faster. Of course, also depends on what the server
applications actualy does...

Or was the Basic application written as a "loadable module"?



More information about the Info-vax mailing list