I asked if it was an error, and 1 version of perl might not be needed vs. 2 for python.
The reply I got:
I doubt benchmarks on multiple thread execution would be considered trendy. Ideas? Thoughts? Examples or counterpoints?Dear Linda, It feels like Perl is not very trendy these days. Support for that man +y languages was added because certain popular plugins are written par +tly (or fully) in these languages rather than Vim Script. Python is p +robably the most popular language for extending Vim right now, perhap +s after Vim Script. Ruby goes next, then Lua. But I've never came acr +oss a single plugin which would rely on Perl to be honest. May I ask +why you think that Perl is so important for that Vim distribution? Regards, Alexander
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Something to meditate on -- the need for a trendy perl?
by zentara (Cardinal) on Mar 11, 2014 at 15:32 UTC | |
I think it's a reflection of the stodginess moving into corporate culture, where nobody wants risk, and they want all employees trained exactly the same. We are losing the lead in technology because of this mindset .... no risk, no gain. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh | [reply] |
by choroba (Cardinal) on Mar 11, 2014 at 15:41 UTC | |
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
| [reply] |
by LanX (Saint) on Mar 12, 2014 at 14:07 UTC | |
Maybe I don't know Python enough to tell, but it has this appeal ... while Perl is a pile of DWIM magic exceptions, which are fun for experienced coders who don't wanna miss their features from other languages (bash, sed, awk, c, lisp, ...) but do confuse many Asperger folks who only accept "one way to do it". Ruby OTOH shows that it is possible to transport rich semantics into a more orthogonal syntax, by breaking compatibility to Perl5. Should be noted that P5 never really broke compatibility to P4, thus giving it an incredible amount of obscure features and exception rules.
Cheers Rolf ( addicted to the Perl Programming Language) | [reply] |
by zentara (Cardinal) on Mar 11, 2014 at 18:03 UTC | |
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh | [reply] |
by Arunbear (Prior) on Mar 12, 2014 at 11:01 UTC | |
"heavily object oriented languages like C++, Python ..."What? C++ and Python are multi-paradigm languages where OOP is as optional as it is in Perl. | [reply] |
by zentara (Cardinal) on Mar 12, 2014 at 13:43 UTC | |
From: everything is an object in Python : "This is so important that I'm going to repeat it in case you missed it the first few times: everything in Python is an object. Strings are objects. Lists are objects. Functions are objects. Even modules are objects. " I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh | [reply] |
by Arunbear (Prior) on Mar 12, 2014 at 17:05 UTC | |
by perl-diddler (Chaplain) on Mar 12, 2014 at 19:03 UTC | |
| |
by LanX (Saint) on Mar 12, 2014 at 14:28 UTC | |
Perl for instance is far closer to LISP, lambdas (anonymous subs) are not restricted to one statement and Perl's my is provides a declaration like LISP's let lacking in Ruby, Python and to some extent even in JS. I had the privilege to see a presentation of a Python module which was a port from Ruby, and it's almost ridiculous to see how they try to circumvent the limitations of their syntax to be able to reflect real lamdas ("code-blocks" in Ruby).
Cheers Rolf ( addicted to the Perl Programming Language) | [reply] [d/l] [select] |
by Arunbear (Prior) on Mar 12, 2014 at 18:18 UTC | |
by LanX (Saint) on Mar 13, 2014 at 01:24 UTC | |
A response?
by perl-diddler (Chaplain) on Mar 12, 2014 at 07:54 UTC | |
I came up with something that, as usually, is a bit long, but I'm still not covering many points. If anyone wants to point out better ways of saying things or better things to say, that would be great, as my persuasive skills are not so great. What I have at this point is: Feedback? Corrections?... Appreciated! I tried to stay civil and such, but it was pushing my buttons more than a bit...(*sigh*)... | [reply] [d/l] |
by Discipulus (Canon) on Mar 12, 2014 at 09:57 UTC | |
I think quite in the same way as you, but i think you would not reveal your emotions: sting them where they are more sensible, instead. I'm speaking about paragraph 1-3 and maybe 4 too in your presented answer. You are right there but think on the effect you provoke in the intended reader: "The medieval Perl writer has answered. Everyday the same crusade to defend good 'ol things.". Probably (as we know the person for the deep wise mail sent to you..) he stops reading very soon. Consider instead a subtle provocation in their delicate parts (cutting paragraph 1-4): Please consider all said as a personal tough, and rewrite it in good english as you can see is not my native language (it's Perl obviously..). Go on Linda and tell us the rest of the story. HtH L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. | [reply] [d/l] |
by Arunbear (Prior) on Mar 12, 2014 at 18:30 UTC | |
Perhaps you can simply point out that well known projects like PostgreSQL, Apache and Nginx all support extension via Perl, and that you and others would like to have the same facility with Vim. | [reply] |
by locked_user sundialsvc4 (Abbot) on Mar 13, 2014 at 01:47 UTC | |
Another way to look at it is ... “do we really have A Problem here?” Most of us, I daresay, actually are well-versed in all of these languages. Chances are, many of us switch without pause between several of them every day. So, if Vim currently supports Python but not Perl, “hey, it’s really no big deal.” As long as we can write macros in the thing, one way or the other, “it’s all good.™” The digital computer doesn’t have to be versatile, since we are. So-o-o... is there, in fact, a business justification for Perl support in Vim (on all of the various environments that Vim is expected to simultaneously support)? ROI = Return On Investment? If the answer is “yes,” then I guess we need a Volunteer. If the pragmatic answer is “no,” that’s actually okay, too. Either way, it says absolutely nothing for/against Perl, “and ditto Python.” At the end of the day, all of them are just tools within our toolbox, and I think it’s kinda silly for a hammer to be arguing with a screwdriver. (I will very-diplomatically leave it as An Exercise To The Reader™ which one is which ...) ;-) | |
by syphilis (Archbishop) on Mar 12, 2014 at 11:51 UTC | |
Could it be that this fuckwit "Alexander" is trying to troll you ? (Do you know who he is ? Is he a genuine Vim developer ? ... or just some dickhead who decided to provide a half-smart reply to your question ?) I mean ... what sort of justification is "not very trendy these days" ? Do we need to inject the phrase "really sick" into our documentation at every opportunity ? I'd be inclined to ask him (quite earnestly) how we might make improvements to perl in the area of trendiness, and see what unfolds. If he *is* trolling, then you sort of play into his hands by displaying your hostility to his ridiculous assertion. (And, let's face it, you haven't done a very good job of hiding your hostility in your proposed reply ... for which I don't blame you at all.) Unfortunately , if he's not trolling, then I think choroba has pretty much nailed it ... and you might as well give it to him with as many barrels as you have at your disposal :-) Cheers, Rob | [reply] |
by perl-diddler (Chaplain) on Mar 12, 2014 at 17:06 UTC | |
The version on Windows at one point had better font abilities (though still not great) than the X11 version -- though this point hasn't been true for about 3-5 years now. The windows version has ALWAYS been better than most linux-distro versions in working with the "presence or absence" of perl -- and later, ruby & python. What I mean by that for over a decade, vim has automatically configured it's abilities based on the presence or absence of various "DLL"'s. I think, besides perl, the other was the 'iconv' library that allowed it to work with "ascii", later with 8-bit locale's, and later-still, with UTF-8. If those libraries were not present on your machine -- vim simply turned off those features in the running program and told you that to support those features, you had to put the appropriate DLL's on your machine. This is contrasted to the linux-distro versions (am most familiar with the suse variety), that only know about 'hard-linking' and provided as many as 4-6 different versions in each release, based on what you wanted rather than than on what was present at run-time. This means that on linux, by default, in order to install the version that has built-in perl scripting ability, you also need to install python, ruby, and any other language vim supports run-time scripting of, because it is statically linked to the shared-objects at build-time, rather than using dynamic linking to the shared-objects at 'run-time'. While linux inherited this ability from unix, it has made little use of it. Most of the distro versions rely on static checks at install time via 'rpm' or similar. -- at least not as distributed by distro's who generally rely on static checks at install time via 'rpm' or similar, These methods were mostly indistinguishable to the end-user until recently, when the perl-ABI has been changing yearly, when perl moved to making major changes between "minor" version changes (i.e. V<Maj>.<Min>.<Rel>). As such, perl has been seen as too unstable since 5.8 as major versions are not compatible w/each other (due to perl '6' being reserved since ages ago...). I have a feeling that this is part of perl's lack of trendiness -- perl is still at version 5 that was released 20 years ago (despite numerous changes in the 'Minor' releases...). It's a crappy version system, but it's one reason Firefox moved from going from sane versioning 3.0->3.1 ... 3.6.0, 3.6.1, 3.6.2 ... 3.6.28, before they fell to the "version perception game" -- where non-computer people only look at the major version number. FWIW -- and AFAIK, he isn't a vim developer, but someone known and trusted in the community to provide pre-compiled binaries, which are harder to generate on windows due to the most used tools not being freely available (or the freely available versions having things like "optimization" stripped out). | [reply] |
by choroba (Cardinal) on Mar 12, 2014 at 09:09 UTC | |
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
| [reply] |
by einhverfr (Friar) on Mar 25, 2014 at 14:49 UTC | |
Just a note. In an open source project, it is usually a waste of time to try to convince someone to change the project for your benefit. Nothing gets things done like volunteering to put in the effort. I would therefore suggest a different approach, namely:
| [reply] [d/l] |
Re: Something to meditate on -- the need for a trendy perl?
by Your Mother (Archbishop) on Mar 13, 2014 at 04:03 UTC | |
I want to add that you're asking for a favor. Alexander's reply is perfectly cromulent. The onus in situations like this is on the requestor, not the provider. Be humble and deferential if you ask. vim+Win is a minor slice of the Perl dev world, trendy or not. When asking for someone to do work for free for you, remember to be and to act grateful. | [reply] |
Re: Something to meditate on -- the need for a trendy perl?
by LanX (Saint) on Mar 12, 2014 at 13:45 UTC | |
Cheers Rolf ( addicted to the Perl Programming Language) PS: honestly, the success of Ruby (which is semantically Perl plus a default OO system) shows that a trendy Perl was possible. Take a time machine trip to 2000, put another lexer/parser on top of the P5 engine (still compatible to old modules) and give it a flashy name like "Brilliant (Perl)". IMHO turning the wheel is still possible... | [reply] |
Re: Something to meditate on -- the need for a trendy perl?
by Anonymous Monk on Mar 11, 2014 at 21:20 UTC | |
| [reply] |
Re: Something to meditate on -- the need for a trendy perl?
by Laurent_R (Canon) on Mar 15, 2014 at 23:15 UTC | |
choroba said: The only problem might be the person. I know several people whose opinion, once they make their mind, cannot be changed by any means. Short e-mail, long e-mail, arguments, reasoning, fist fight, no way. I wish you Alexander were different. I am afraid you are right. I was definitely convinced by Linda's well-thought arguments, but, then, of course, there was no real need to convince me. Especially being a person who used Python for 2 or 3 years before switching to Perl about 10 years ago. Well, I keep telling 10 years, it is probably 11 years by now, as it was during the first quarter of 2003, if I remember the dates correctly (just checked the dates on my CV, yes, it was indeed in the early months of 2003). Even though I still think that Python is a nice language and certainly don't want to disparage it, I think someone trying to convince me to revert to Python would really have hard time. I simply love Perl too much to be able to claim that I may be rational about that. And that's what I wanted to say: when it comes to programming language wars (or, say, language debates), most people are not or cannot be rational. I am not even sure that being rational about such topics really makes sense. After all, very often, the best language is often the one that you know the best. Just as with spoken languages: if I want to express some very subtle idea or complicated personal feeling, I would probably prefer to use my mother tongue, French, because it is the one that I know best, but that does not prevent me to argue in English on this forum (and others), after all I passed a master degree in an American University: I certainly make some silly syntax mistakes, but I can (hopefully) express clearly what I want to express. It is the same with programming languages: Perl has become what is closest to a native language for me, the language where I can be the most efficient, but I also have to use regularly half a dozen other languages (because I have to use a proprietary language for some applications, because C can be faster for some problems where speed matters, because I have to modify an existing application and cannot rewrite everything in another language, because the client wants PL/SQL scripts and does not want to hear about Perl Oracle modules, etc.). Although this is getting somewhat unlikely (I fell in love with Perl, I've never had a similar experience with another language), I might one day switch to another language, perhaps Ruby, Scala, Haskell or possibly some other new language that I might not even know about as of now. Very unlikely, though, that I would go back to Python or (even more unlikely) to the other dynamic language I used before Python, TCL. Perl is just better. Just as I would most probably not go back to Basic, Pascal, Fortran, ADA, Modula-2, Prolog and other languages I practiced in the past. In theory, I would also wish to avoid C, C++ and Java, but I know it is slightly more complicated, because they are dominant for some applications, especially as far as C is concerned. | [reply] |
The posted response (after input from here)
by perl-diddler (Chaplain) on Mar 13, 2014 at 15:13 UTC | |
I rewrote more than one part due to feedback here... got rid of those first 3 paragraphs... thought about the locomotive example, but came up with plumbing as being a more relevant example. I thanks folks for the input. Yeah... at times I get a bit emo about topics dear to my heart. | [reply] [d/l] |
Re: Something to meditate on -- the need for a trendy perl?
by pmu (Beadle) on Mar 15, 2014 at 17:56 UTC | |
Hi perl-diddler, Forget Mr. Alexander's Vim... Here's a version of vim that's compiled with Perl Version 5.18.1 http://tuxproject.de/projects/vim/ Unfortunately I am right now on Debian Wheezy, else I would have posted the vim version output. On another note, please forgive Mr. Alexander. I mean, if that guy does not know that one can do ":% perldo s/dumbness/smartness/g" in vim (compiled with Perl Support), ain't his fault. He's got some learning to do. Pity him.
--------------------------------------------------------------
Perspectum cognitio aeterna
--------------------------------------------------------------
| [reply] [d/l] |
by perl-diddler (Chaplain) on Mar 18, 2014 at 05:56 UTC | |
I get spoiled when, *rarely*, I need to read in a multi-gig file and not have it spill to memory. Also, windows usually runs a bit behind linux in terms of perl... Cygwin is still at 5.14, and I was going to suggest 5.16.3, myself, as I have a rather large code base that is incompatible with with some of the new 5.18 features. As Murphy would have it, most of my small scripts and library routines aren't hit with the problem. The ones that are hit, are the larger(2-3k lines) and more complicated ones that do things like create and destroy file systems and partitions on a daily basis -- i.e. ones where you don't want anything to go wrong or rush through changes, and unfortunately, there was no way provided for a compatible upgrade (i.e. turn off the new conflicting features by default). Sigh. | [reply] |
Re: Something to meditate on -- the need for a trendy perl?
by locked_user sundialsvc4 (Abbot) on Mar 12, 2014 at 12:49 UTC | |
There are just things in this world that usually are not worth the time actually responding to ... except for entertainment. To me, things that mix programming languages with politics with conspiracy-theory, all in just one piss-cup, are one of those things. A closed mind gathers no thoughts.™ It merely stitches-together irrelevancies to “confirm” what it already “knows.” | |
by Buk (Novice) on Mar 12, 2014 at 13:36 UTC | |
And yet, you responded ... | [reply] |
by locked_user sundialsvc4 (Abbot) on Mar 13, 2014 at 00:20 UTC | |
| |
Re: Something to meditate on -- the need for a trendy perl?
by Anonymous Monk on Mar 13, 2014 at 03:28 UTC | |
| [reply] |
by Anonymous Monk on Mar 13, 2014 at 17:06 UTC | |
| [reply] |