[Info-vax] Python for x86?
Arne Vajhøj
arne at vajhoej.dk
Fri Apr 14 19:22:53 EDT 2023
On 4/14/2023 8:19 AM, Simon Clubley wrote:
> On 2023-04-13, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> Why did Python become such a success while the other did not?
>>
>> My guess:
>> - Python managed to get into education - not just CS like
>> Perl but much broader
>> - Python web approaches with Django etc. turned more future oriented
>> than Perl CGI
>> - Python got on the big data / analytics / ML / AI train
>> and when that took off it pulled Python with it
>
> Add:
>
> - Python is an excellent way to add automation/scripting capabilities to
> a wide range of applications.
>
> Try doing the following with Perl: :-)
>
> https://docs.blender.org/api/current/info_overview.html
It is possible to embed Perl as well.
I would say Perl and Python is similar in that regard.
https://docs.python.org/3/extending/embedding.html
https://perldoc.perl.org/perlembed
More prefer Python than Perl today though.
> Another example:
>
> https://www.panda3d.org/
>
> In this example, you can use either C++ and Python depending on your
> requirements.
>
> To compare the Python and C++ options:
>
> https://docs.panda3d.org/1.10/python/index
Having a scripting language utilize a C/C++ library
is also very standard.
Arne
More information about the Info-vax
mailing list