Post AipbNnfEx4401bIsMq by omenos@fosstodon.org
(DIR) More posts by omenos@fosstodon.org
(DIR) Post #AipbNk14Vx9Mi9UFqC by omenos@fosstodon.org
2024-06-07T05:33:51Z
0 likes, 0 repeats
Someone offers you a paid gig to eliminate the need for Perl to exist within the Linux FOSS ecosystem.Do you accept?This would not mean rewriting Perl applications like Bugzilla, but dealing with Perl scripts and command line tools.For example, migrating the (according to GitHub) 71 Perl scripts in the Linux kernel tree to a different language* or finding a better way to just drop them.* excluding Raku and other Perl-like/derived languages.#foss #freesoftware #opensource #linux #perl
(DIR) Post #AipbNlBOB4zsKRK0Yq by profoundlynerdy@bitbang.social
2024-06-08T21:10:23Z
0 likes, 0 repeats
@omenos Have you seen modern #Perl? Have you maintained a nontrivial Perl script or other codebase *that adheres to current standards* in -- I don't know -- the past 10 years?Modern Perl is like a high speed shell scripting language with low boilerplate objects and a nice package system. It's still a swiss army chainsaw. #Raku is more refined with all of the above but with human readable grammars and fantastic threading capabilities. It's a Swiss Army Lightsaber.
(DIR) Post #AipbNmJDzQrJp1zmPg by omenos@fosstodon.org
2024-06-08T21:47:16Z
0 likes, 0 repeats
@profoundlynerdy Apologies, I'm going to copy the tone of your first paragraph:Have you (and several others responding) misunderstood this to poll to be a serious request or opinion of Perl?--I understand why it could be read that way, it wasn't my intent. I rewrote it a couple of times but finally settled on that due to character limits on my instance. It was meant to be more on the humorous side of things considering the absurdity and scale required of the idea.cc: @mjgardner
(DIR) Post #AipbNmunjiuthZZmz2 by omenos@fosstodon.org
2024-06-08T21:47:47Z
0 likes, 0 repeats
@profoundlynerdy I'll be upfront: I'm not a Perl/Raku guy. Never have been, the specific need for Perl has never existed in my work. I don't spend a lot of time in Perl's forte use case of text processing (yes, I know it can be used for much more). I usually end up looking at Perl scripts when I decide to see how a tool is doing something only to discover it's not a shell or Python script.
(DIR) Post #AipbNnfEx4401bIsMq by omenos@fosstodon.org
2024-06-08T21:48:49Z
0 likes, 0 repeats
@profoundlynerdy I've made some attempts in the past to try and at least be able to understand what a script is doing. I'll be honest that there is some syntax that is a black box of magic to me. There's the joke that Perl is a "write only language", for me it's not that far off as long as I'm not the one doing the writing 😂 Like with most languages it can be relatively okay to see and follow the general flow of things, but if I was asked to debug or author any Perl I would be outta luck.
(DIR) Post #AipbNnyNntNMyyGACm by omenos@fosstodon.org
2024-06-08T21:49:03Z
0 likes, 0 repeats
@profoundlynerdy I found #Raku to be an interesting project when it launched back in 2015. As you might have realized from my prior statements, I don't keep tabs on this space. How has adoption been amongst the Perl community and how much effort would one go through migrating from one to the other?I will say, the analogies of Swiss Army chainsaws and lightsabers did get a chuckle out of me 😆
(DIR) Post #AipbNopCdVcvcmyLXE by profoundlynerdy@bitbang.social
2024-06-11T17:03:12Z
0 likes, 0 repeats
@omenos In a nutshell: I would characterize adoption of #Rakulang as slow but steady from inside and outside the Perl community. That said, #Perl isn't going away in favor of Raku, it's more like Perl is akin to C and Raku is akin C++.For migrating code bases, there is a guide: https://docs.raku.org/language/5to6-nutshellRaku makes interoperability with other languages easy: Perl, Python, etc. can all be inlined and there is a Native Call interface for C binaries sort of like Python's ctypes library.
(DIR) Post #AipbNpMscIZ7JEjF1k by lizmat@mastodon.social
2024-06-11T19:09:16Z
0 likes, 1 repeats
@profoundlynerdy @omenos I once started writing a book about migration of Perl to Raku, but in the end it became a 24-part blog post series:https://dev.to/lizmat/series/24075#RakuLang