mfzz has asked for the wisdom of the Perl Monks concerning the following question:

What makes Golang appeals to use in production for you as a Perl programmer? Is the perfomance and the compiler tools falls into excellent category? What Golang (currently) excels at in development and for what (GUI, cloud computing, system administration)?

  • Comment on What makes Golang appealing for Perl programmers?

Replies are listed 'Best First'.
Re: What makes Golang appealing for Perl programmers?
by Discipulus (Canon) on Oct 05, 2016 at 07:26 UTC
    Hello and welcome mfzz,

    my opinion cannot be so useful as I'm a one language only programmer use Perl or die but you can take a look at this comparison (even if i dunno about the quality of the site) and to the well known tiobe website

    Take a look to this article recently quoted here at PM; pay attention to the comments where some Perl hacker show a by far better way to use Perl.

    For sure Perl is better at regexes

    For me the short answer is: nothing

    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.

      Warning: Rant ahead

      Re this comparison, some of the comparisons have some value; others are frivolous

      • (Go is in the second column; Perl in the third:
      • "WillGetYouLaid   Yes   ?")
      and some, such as the row labeled "Description," are just the products of flat-out ignorance and trolling. The conclusion there is similar to the calumny that Perl is a language written in line-noise. Since I'm not willing to sign into nor register with the site, my suggested improvement will be confined to this node:

      • Perl is a programming language created by Larry Wall and subsequently enhanced through his efforts and those of users. At one time, it was regarded as the prime language for web site programming and is still widely used in that context. Now (2016), Perl is a general purpose language applicable to a wide range of applications -- including, even, prototyping of numerically-oriented programs which may require the final tool to be created in a language such as C. Perl detractors have characterized its use of symbols (indicating variable types, for example) as "line noise" but even novice users find very little difficulty in dealing with those after a minimal study of the language's syntax.

      But, aside from that comparison site link, I'm on board with most of Discipulus' comment.

      Hi thanks for the link. That is a good read.

Re: What makes Golang appealing for Perl programmers?
by dsheroh (Monsignor) on Oct 05, 2016 at 09:57 UTC
    Are Perl programmers (as opposed to programmers of other languages) known to have a particular affinity for or interest in Golang? I do have a vague memory of a YAPC talk on Go (which I assume is the same thing as Golang) shortly after Google released it, but that's the only indication of interest within the Perl community that I can recall.

      Hey, thanks for the comment. I just wanted to know opinions from others about the language. What interest me is the Go routines although I never take a look at concurrent or parallel programming. Does IO::Async module provides facility for concurrent programming as Go? I'm just curious, and love to expand my knowledge on those.

        Hello again,

        about parallel programming Perl has his own history: some core modules provide the possibility to work in parallel: see the main tutorial perlthrtut

        Using this core approach is a delicate matter; see here at perlmonks posts by BrowserUk and perhaps zentara using threads to have good quality examples.

        IO::Async is for sure a good quality module, given his authorship and because it is mentioned in Task::Kensho (a florilegium of many good modules).

        Here at perlmonks we also have the honor to have marioroy who dedicated himself to the creation of MCE Multi Core Engine; a suit of modules that helps you in implementing a parallel work correctly. SuperSearch marioroy's posts here for many good examples.

        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.
Re: What makes Golang appealing for Perl programmers?
by Anonymous Monk on Oct 05, 2016 at 07:14 UTC

      Hey thanks for the reply. You just shot the points with detailed answer. Yeah, and about excellent category, I think I shouldn't ask that in the first place. I just realized that benchmark analysis is not accurate and can be difference on certain platforms.

Re: What makes Golang appealing for Perl programmers?
by LanX (Saint) on Oct 07, 2016 at 05:17 UTC
    Sounds strangely like am interview question or even a class assignment.

    I can't see any specific correlation between Perl and Go.

    What's your motivation to ask such general questions?

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!