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

I am really curious to get an answer for this. There are couple of major scripting language people can choose, Java script, VB script, and Perl script, but does anyone have any recent data about the percentage? If you could mention the age of your data, that would be perfect.
  • Comment on what percentage of applet are written in Perl?

Replies are listed 'Best First'.
Re: what percentage of applet are written in Perl?
by diotalevi (Canon) on Nov 16, 2002 at 20:32 UTC

    "This sentance no verb". Similarly there's a problem with your question. There is a specific thing known as applet which implies a Java program designed to execute on a web browser - client side. Follow the link for the full scoop on "applets". Your language references vary between client-side and server-side but none are "applet"s. JavaScript normally executes in web browsers and is perfectly fine for what it is - the defacto web browser scripting language. VB Script is Microsoft's proprietary language which also executes with Microsoft web browsers. Both are browser scripting languages (JavaScript is obviously preferrable) and are useful as long as you don't comprimise your functionality by depending on them. I gather that PerlScript is a sort of add-on that ActiveState came up with. I understand it's supposed to allow Perl to run in a web browser but that's even less supported than VBScript (since ActiveState Perl isn't everywhere). So for client-side web browser scripting you mean to run JavaScript.

    For server side there is a server side JavaScript but I think it's only used on Netscape's web server software. VB Script is again, supported by Microsoft on their IIS platform which is for many reasons frequently a poor technology choice. From there you go on into installable languages like the various mod_ packages (mod_perl and PHP included). And from there you go on to general CGIs which can be in pretty much any language.

    I can't answer your usage question in any case but no one can answer the question until you're clear on what you're asking for. The literal interpretation of your question is that Java is 100% of all applet implementations.

    __SIG__ use B; printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;
(jeffa) Re: what percentage of applet are written in Perl?
by jeffa (Bishop) on Nov 16, 2002 at 17:10 UTC
    Hmmm, i am curious about what the percentage of people who jump off of bridges because other people jump first might be ... Seriously, whatever the numbers are, i am sure that they are quite meaningless compared to the pecentage of projects that used the right scripting language versus the ones that didn't. At any rate ... numbers can lie, so i personally tend to ignore what everyone else is doing and focus on what problem i need to solve.

    This has been said time and time again, use the correct tool for the job. Maybe in the future we will see some application framework that allows any scripting language to be used (then the matter will mostly be personal preference and resistance to learning another language), but in the meantime, choose the scripting language that fits in with the scheme of the solution, not the one that is the "most popular". Just my two coins.

    Oh yeah, use Perl! ;)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    
      We have some misunderstanding here. This is not about politics. I am not working on any web related project, so I am not trying to making any decision base on popularity. I am only curiuous about the data. I 100% agree that it is important to pick the right tool for right thing, and that's what I did. Whenever I work on a project which requires strong regexp supporting, I always choose Perl. When I respect your point, I disagree with the way you blowing it into a political thing, and it is fully based on misunderstanding