eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

224
active users

#perl

3 posts3 participants0 posts today

There was a «A Language Creators’ Conversation» in 2019 with:
• Anders Hejlsberg (Turbo Pascal, Delphi, C#, #TypeScript)
• James Gosling (#Java)
• Guido Van Rossum (#Python)
• Larry Wall (#Perl)

hosted by Carol Willing (#JupyterProject).

The audio is very bad, but I wanted to share the content so I paid a human to transcribe it better than an AI could.

Here's the transcript & link to video. Enjoy!

ramalho.org/posts/language-cre

ramalho.orgLanguage Creators Panel 2019 | Blog do Ramalho.org

The upside to writing a #Perl or #Python program to parse STDIN is that with one change, the code can deal with UTF8 text. The equivalent #C needs to be rewritten to use entirely different underlying functions.

The downside is that sometimes it's 100 times slower than the equivalent C program(s).

I have a long-standing project which I am converting to use C++ modules. I've decided that using #perl to generate the Makefile is vastly easier than using #autotools and #cmake.

At least I can understand WTF is going on.

In the end, programmatical beats automagical.

I’ve just switched an old iMac to run Linux Mint (Cinnamon) and it’s great. Starting to want to dig a little deeper into it I guess it comes with a C compiler.

Does it also have a Python interpreter? Anything else? (During a recent update the word Perl kept flashing across the screen)

#linux#C#Python

I know #Python on its own is not a fast language, but I'm looking at code that rebuilds several small lists, one `arr.append()` at a time, (mumble 1920 // 16 times 1080 // 16 is) 8,040 times, and it reminds me of #Perl's read-only reputation.

Basically, no wonder you think that if this is the kind of code you're writing.

I'm no optimization wizard, but I at least try to learn the language.

For next 4 days #Leipzig in 🇩🇪Germany is the center of work on the #Perl programming language.

At the Perl Toolchain Summit over 30 experts and highly involved volunteers gather to keep the language and its ecosystem healthy and appealing 🔧⚒️🗜️

Photo: Same venue in Leipzig already used at German Perl Workshop 2022. Photo from @sjn

I was looking for an alternative to classic shell scripts, so I timed a Hello World program in different languages for fun. I thought you might want to know:

1 ms - #Bash
1 ms - #Perl
12 ms - #Python
33 ms - #Go (shebang calling `go run`)
38 ms - #C (shebang compiling to temporary file)
61 ms - #Rust (shebang compiling to temporary file)

Needless to say that this is a highly unfair and silly comparison. It's still interesting, though.

#Perl DBD::mysql and the corresponding #RHEL package have always been #MariaDB compatible, i.e., you could install MariaDB and DBD::mysql RPMs together.
But the new DBD::mysql package in #CentOS stream can no longer be installed with MariaDB.
I filed a bug (issues.redhat.com/browse/RHEL-) and #RedHat said it's not supposed to work. Except it always has.
What do you think?
(Note if it doesn't work then all Perl scripts on the host that use DBD::mysql must be modified to use DBD::MariaDB instead.)
#mysql

issues.redhat.comLoading...