Slashdot Mirror


Nokia to Port Perl to Mobiles

jonknee writes "MobileTracker notes that Nokia has made it clear that the Perl scripting language is coming to its popular Series 60 devices. This will be a huge boon to mobile software. Just look what happened to the web when CGI got popular. A time frame was not announced."

258 comments

  1. Pure nonsense by Anonymous Coward · · Score: 5, Insightful


    This will be a huge boon to mobile software.

    What? Please elaborate how perl can help in front-end applications for mobile phones.

    1. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Methinks it's because Perl is easier to learn than Java.
      It's like in the old days, when you had Basic and Assembler to choose from.
      Almost anyone could sit down and write Basic code, but only a few would have the
      guts to write assembly.

    2. Re:Pure nonsense by lukew · · Score: 2, Insightful

      Are you kidding?

      I wont go into a flame/troll, but perl is not liked from some lower levels, and some high levels.

      To assume that it will not do anything for -any- platform is just nonsense. It's proved it's worth anywhere where it matters, why wont it here?

    3. Re:Pure nonsense by Anonymous Coward · · Score: 0, Insightful


      Maybe we're living in different dimensions, but perl is the most obtuse and messy language ever. The fact someone can write a "hello world" application in a couple of lines in perl doesn't mean it's better than java or anything else. When a perl program grows beyond the 100-lines threshold it becomes easily unmanageable. Imagine the cost of writing - and maintaining - a game written in perl.

    4. Re:Pure nonsense by leerpm · · Score: 1

      Lower licensing costs than J2ME?

    5. Re:Pure nonsense by Anonymous Coward · · Score: 0


      It's proved it's worth anywhere where it matters, why wont it here
      Where does perl matter more than java/python/ruby/any-decent-scripting-language now?
      Does perl provide any kind of sandboxing?
      Does perl provide any kind of cross-platform library for accessing cell phones' functionalities?
      It seems in the end it will be just a toy, not something really useful for real applications, but I may be proven to be wrong.

    6. Re:Pure nonsense by Anonymous Coward · · Score: 1, Funny

      It costs less than free?

    7. Re:Pure nonsense by gl4ss · · Score: 3, Interesting

      it will on depend on what they will make available on it, some extensions to create dialogs and stuff would make creating simple software for it easier, a lot easier to start doing simple software for it at least.

      j2me can't access the filesystem and stuff like that directly, so that limits a lot what you can do with j2me java.

      and symbian c++ isn't that straightforward to pick up and the sdk isn't that hot either(grr.. i wish i had some GOOD book on it, learning it as i go at the moment), even though that's the way to do powerful applications and seems to have some logic once you 'get in it'. j2me on the other hand was very easy to pick up.

      so it would be very nice to have some light(to write) scripting language that could access the whole hardware(for doing apps that do periodical file uploads, analyze some files or whatever).

      --
      world was created 5 seconds before this post as it is.
    8. Re:Pure nonsense by rokzy · · Score: 1

      agreed, I remember being a bit excited when I got my new Nokia which has Java support and memory to store apps. most useless feature ever.

    9. Re:Pure nonsense by godIsaDJ · · Score: 2, Informative
      What about OPL?
      It's open source (something we all like), BASIC-like but to me almost a scripting language. Extensible and *very* powerful!

      However, Perl will be welcome, actually *any* language should be welcome.
      Why do you think there should be less development solutions for Symbian OS that say Linux?

    10. Re:Pure nonsense by aallan · · Score: 5, Insightful

      Perl is dead. All the old perl geeks I know are presently unemployed, and doing their damndest to learn java, .NET or even PHP. Perl is probably fine for half arsed system scripts that don't exceed 50 lines or so, but it is a hindrance and an abomination to a professional development environment - most of which are tending towards python for their prototyping half-arsed scripting needs anyway.

      Err, right...

      Perl is used alot for CGI and for system admin stuff, but thats not really its target market (any more?). I'm part of a group thats got 30 or 40,000 lines of mission critical Perl running hardware that costs $10 a second whether its running or not. Down time is minimal.

      Large Perl applications can be very maintainable so long as you have decent coding standards and actually use the features that are available in the language. Perl is powerful, just because the basics are easy to learn doesn't mean the heavy duty stuff isn't there. Most people that think themselves serious Perl hackers don't use a tenth of the languages features and aren't familiar with how to write decent, readable, object-orientated Perl.

      Like any language you can't force people to write good code. You only have to look at the hideously slow half arsed Java applications that get churned out by people calling themselves programmers, but who know nothing about proper application design, to know that.

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    11. Re:Pure nonsense by Ianoo · · Score: 2, Funny

      Larry pays you money if you develop with Perl!

    12. Re:Pure nonsense by CaptnMArk · · Score: 1

      Their source code will fit on the small display.

    13. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Like any language you can't force people to write good code.

      Yeah... but... like... just because you can't force people to write good code, doesn't mean you have to make it as easy as possible to write BAD code.

      Giving perl to a novice developer is like handing a shotgun to someone who's never handled a gun before and telling them that all the really cool shooters like to see how close they can get the buckshot to whizz past their penis without hitting it. You're just asking for an extremely painful and messy accident to happen.

    14. Re:Pure nonsense by Anonymous Coward · · Score: 0

      No way! Coolest thing ever, just hasn't gotten there yet.

    15. Re:Pure nonsense by ghum · · Score: 2, Funny

      Really easy. On mobile phones, it is easy get a lot of line noise.

      That can directly be used as perl code.

    16. Re:Pure nonsense by torpor · · Score: 1

      duh, freakin' heck, how unimaginative can you get...

      a p2p node for starters, of course.

      your own automated call-handler, answers the phone, delivers an .mp3 file (digitally, woohoo!), etc ...

      the list goes on. wake me up, though, when someone does python.

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    17. Re:Pure nonsense by makapuf · · Score: 1

      you don't have to chosse J2ME or C++ to program an app in a series 60. Java bindings are available and can be full series 60 software. (see http://www.symbian.com/technology/standard-java.ht ml)

      I think porting perl here will not add a lot to what's available.

    18. Re:Pure nonsense by millette · · Score: 1
      I was sure this got posted to slashdot, but wasn't able to find a link to it. Anyway, here's Tim O'Reilly's "Wired News Wishes for 2004": http://www.oreillynet.com/pub/wlg/4117

      At the end of the article, he quotes Rael Dornfest, author of Google Hacks and the mobilewhack, with that same exact plead.

    19. Re:Pure nonsense by 110010001000 · · Score: 2, Interesting

      "I'm part of a group thats got 30 or 40,000 lines of mission critical Perl running hardware that costs $10 a second whether its running or not"

      That is over $315 million dollars a year in costs. What system on the planet costs that much to run per year?

      Thanks

    20. Re:Pure nonsense by millette · · Score: 0, Redundant

      I was sure this got posted to slashdot, but wasn't able to find a link to it. Anyway, here's Tim O'Reilly's "Wired News Wishes for 2004": http://www.oreillynet.com/pub/wlg/4117 At the end of the article, he quotes Rael Dornfest, author of Google Hacks and the mobilewhack, with that same exact plead.

    21. Re:Pure nonsense by nandhp · · Score: 1

      I'm sorry but I happen to completely disagree with this. I happen to use perl all the time - On Windows, Linux, CGI (Although experimenting with PHP), and GUI on both Windows and Linux. Perl is not dead, Perl is just begining.

    22. Re:Pure nonsense by aallan · · Score: 2, Interesting

      That is over $315 million dollars a year in costs. What system on the planet costs that much to run per year?

      Big budget, big science. Trust me $315 million isn't really that much money.

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    23. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Perl is used alot for CGI and for system admin stuff, but thats not really its target market (any more?). I'm part of a group thats got 30 or 40,000 lines of mission critical Perl running hardware that costs $10 a second whether its running or not. Down time is minimal.

      If your hardware is so expensive, and your code base is 30,000-40,000 lines long, wouldn't it be much cheaper to rewrite the code in a faster language?

      Tell your boss to hire me, and I'll save you guys $100 million a year, and I'll only charge them $10 million a year to do it. I'd be a bargain at twice the price!

    24. Re:Pure nonsense by 110010001000 · · Score: 0

      You mean the Astrophysics Group at the Unviersity of Exeter spends $315 million a year on maintaining a computer system? Did you know I worked on the Pathfinder mission to mars and the ENTIRE project only cost $200 million? Does your Uni have a financial oversight board? I think they should be contacted ASAP.

    25. Re:Pure nonsense by mefus · · Score: 1

      ...40,000 lines of mission critical Perl running hardware that costs $10 a second...

      ...spends $315 million a year on maintaining a computer system?

      He didn't say that and I can't believe you worked on anything more complicated than SCO's business model if you think he did say that.

      --
      mefus
      In Open Society, GPL Software frees YOU!
    26. Re:Pure nonsense by dk.r*nger · · Score: 1

      j2me can't access the filesystem and stuff like that directly, so that limits a lot what you can do with j2me java. [...] so it would be very nice to have some light(to write) scripting language that could access the whole hardware(for doing apps that do periodical file uploads, analyze some files or whatever).

      This surely can't be the point of porting perl. The J2ME/MIDP1.0 implementation (of the 3650, anyway) is already "enhanced" (it does stuff that isn't in the MIDP specs - the whole com.nokia.* packages - and even gets the MIDP wrong in serveral places) - why not just add filesystem access to those, if they wanted developers to have filesystem access?

      I could imagine this has to do with permissions. There is no way to 'trust' a J2ME program, unless it is signed by Nokia. But surely fixing this is easier than implementing a new language?

    27. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Wait a sec, half assed systems scripts? Numerous high end special effects houses in hollywood use perl to manga their production pipelines.

    28. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Like any language you can't force people to write good code. You only have to look at the hideously slow half arsed Java applications that get churned out by people calling themselves programmers, but who know nothing about proper application design, to know that.

      So where are all of the amazingly fast, well-designed Java applications churned out by people who really *are* programmers?

    29. Re:Pure nonsense by 110010001000 · · Score: 0

      $10 a second. Do the math, assuming 24x7 uptime ("mission critical"). He didn't disagree with the $315 million figure I came up with either, did he? He just said that "big science, big money" and $315 million isn't a "lot of money".

      Nice SCO reference though, troll.

    30. Re:Pure nonsense by Tin+Foil+Hat · · Score: 1

      Nonsense. There's plenty of perl programming going on. Particularly if you are in NYC, Cali, or London. Hell, I make a pretty decent living hacking up perl. (Kind of like a hairball, but more spagetti-like ;)

      --
      No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
    31. Re:Pure nonsense by aallan · · Score: 1

      He didn't say that...

      No, I didn't.

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    32. Re:Pure nonsense by mefus · · Score: 1

      I don't need to do the math. You don't seem to understand that the math will give you to cost to USE the telescope system (or whatever it is) that he runs using his code. That's pretty mission critical if you ask me. And he didn't argue with your numbers because he assumed you had the intelligence of a bat and could see that was the usage cost, not maintenance cost.

      --
      mefus
      In Open Society, GPL Software frees YOU!
    33. Re:Pure nonsense by aallan · · Score: 2, Insightful

      If your hardware is so expensive...

      Why are people assuming by hardware I meant the computers? The computers control stuff, this is also hardware? Its just rather hard to use without the computers... *scratch head*

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    34. Re:Pure nonsense by 110010001000 · · Score: 1

      "costs $10 a second whether its running or not"

      Er, right. Usage cost. Even when the system is not running? That is non-obvious to me.

      Before insulting me further, please note that I am just pointing out that $10 per SECOND is an exaggeration, whether usage or cost. There is no scientific system on the planet that handles such transactions. I am very familiar with how much telescope time costs, being in the astro-science field myself.

      Now if he worked for Visa - that I could understand. Their systems average $300,000 worth of transactions PER SECOND.

    35. Re:Pure nonsense by mefus · · Score: 1

      Even when the system is not running? That is non-obvious to me.

      I don't understand. Are you still arguing he referred to maintenance cost? Because he also denied that in a response to my post.

      Look, a researcher gets a limited time frame within which to do the work, and any time the system isn't responsive during that period is going to cost money even though they can't do anything.

      I am very familiar with how much telescope time costs, being in the astro-science field myself.

      A minute ago you said you worked on the Pathfinder mission, too. You seem to be a Jack-of-All-Trades, although I guess there is some overlap in some areas of the Pathfinder mission. I don't really know what that would be, though. Perhaps you could enlighten me.

      You could probably also give me the rate to do experiments using the HST as well, huh?

      Their systems average $300,000 worth of transactions PER SECOND.

      Forgetting for a minute that isn't operating costs, there is a factor of 4 difference between these, with telescope experiments on the low end.

      Also, I used the telescope system as an example to demonstrate how he was not referring to maintenance costs, without implying any certainty that's what was at stake.

      You twist everything. Are you sure you didn't work on one of the failed mars missions?

      --
      mefus
      In Open Society, GPL Software frees YOU!
    36. Re:Pure nonsense by mefus · · Score: 2, Interesting

      I smell a Linux Magazine article, here.

      Have you given it some thought?

      --
      mefus
      In Open Society, GPL Software frees YOU!
    37. Re:Pure nonsense by 110010001000 · · Score: 1

      Whether it is operating costs, or usage costs (this is not clear), the point is that the $10 per second figure is exaggerated. Period. No scientific system on the planet has $10 per second in operating costs OR usage costs? Period. Capeche?

      And yes, I can quote you observation rates on the HST - but it is booked - and is hard to get bumped into the queue.

    38. Re:Pure nonsense by mefus · · Score: 1

      I'm sorry I simply don't believe you. You offer me only assertions.

      It's irrelevant though, my intent was to refute your initial claim regarding his statement of cost. I've done that, I think, and I'm leaving this thread.

      --
      mefus
      In Open Society, GPL Software frees YOU!
    39. Re:Pure nonsense by gl4ss · · Score: 2, Informative

      it is? well that url you pointed to didn't actually say so. series60 does not have 'personal java' like p800 or communicators do.

      if i'm wrong, prove it with one app that does it and preferebly a sdk too.

      "The Nokia 7650 smartphone, released in Q3 2002, is a member of the Nokia Series 60 UI family. This model runs Symbian OS v6.1 customised to the Series 60 look and feel and supports Java MIDP 1.0. In addition, Nokia provide a couple of proprietary extension APIs (in the com.nokia.mid.sound and com.nokia.mid.ui packages).

      The Sony Ericsson P800, released in Q4 2002, is based on Symbian OS Version 7.0 and uses the UIQ user interface. This device supports MIDP 1.0 and PersonalJava.

      The Nokia 3650 is another Series 60 phone which shipped in Q1 2003. This device also runs MIDP 1.0. However, Nokia has additionally provided implementations of the Wireless Messaging API and Mobile Multimedia API for this model. "

      those couple of extra api's in nokias phones aren't that much.

      --
      world was created 5 seconds before this post as it is.
    40. Re:Pure nonsense by gl4ss · · Score: 2, Interesting

      a lot of midp's being limited is so that you can trust it to not screw your phone completely up, like an applet(so you can now run any midlet without fearing too much. without *having* to trust anyone). if you gave it filesystem access you would lose that aspect. though people seem to trust .sis files found from god knows where..

      those extensions aren't that hot(when it comes to truly extending midp) and midp itself is lacking in when it comes to writing certain type of apps(like some app that would require a lowlevel ui canvas mixed with text input).

      though, nokia may have their motives of their own for porting perl(internal use..).

      --
      world was created 5 seconds before this post as it is.
    41. Re:Pure nonsense by Anonymous Coward · · Score: 0
      "Oh but you can write readable code in it if you are a good programmer!"


      This is the number 1 sign of a shitty language, from assembly to perl to basic - its advocates blethering about how a pro programmer can write great readable code in it.


      Here's the thing, 99% of programmers are monkeys and a good language caters for this. I, a boss, do not want to have my team use any language where the jokersthe HR department hires or the jokers in the third party libraries we use, write shite. REALITY is that programmers suck, and a good language is designed with this fact in mind. So get over it.

    42. Re:Pure nonsense by 110010001000 · · Score: 1

      Oh good! I win again. Now we know that a figure of $312 million per year to maintain a mission critical scientific computer system (which apparently is using Perl for god sakes) is exaggerated.

    43. Re:Pure nonsense by mefus · · Score: 1

      I think I cleaned up the mess you left behind, think what you want.

      I just got a bunch of stepper motor driver chips in the mail. So piss off troll, I'm havin' fun.

      --
      mefus
      In Open Society, GPL Software frees YOU!
    44. Re:Pure nonsense by eraserewind · · Score: 1

      and symbian c++ isn't that straightforward to pick up and the sdk isn't that hot either(grr.. i wish i had some GOOD book on it, learning it as i go at the moment), even though that's the way to do powerful applications and seems to have some logic once you 'get in it'. j2me on the other hand was very easy to pick up.

      Understatement of the year. Symbian's approach to C++ has got to be one of the ugliest ever concieved. There are just so many things wrong with it, starting with the 10 or so different and slightly incompatable string/buffer imlpementations. You are guarenteed that the one you need to use in the API call doesn't have the funcitonality that you need to use yourself. Then the multitude of asynchronous calls that make debugging so difficult, etc...

    45. Re:Pure nonsense by Anonymous Coward · · Score: 0

      Where did he say anything about Linux? Perl runs on plenty of other operating systems, you know. Or maybe you don't, if you are a typical Slashdot know-nothing.

    46. Re:Pure nonsense by dk.r*nger · · Score: 1

      Nokia's s60 MIDP1.0 gives you network access (through WAP), altough the user has to accept each time the connection is brought up. Similar security could be applied to filesystem access...

      ..midp itself is lacking in when it comes to writing [...] some app that would require a lowlevel ui canvas mixed with text input

      The GameCanvas does this, or am I not understanding you corretly?

      My mission is not proving you wrong, rather than proving that I see absolutely no point in porting perl to the phones..

    47. Re:Pure nonsense by gl4ss · · Score: 1

      yes I suppose they could add some more extensions.

      gamecanvas was introduced in midp 2.0 (only 6600 is midp2.0).
      also it doesn't really solve anything(it doesn't add anything remarkable to Canvas), sure you can get keystates easily(you could get keypresses well enough with midp1.0 as well and fullscreen access on s60 with nokias fullcanvas class). but this doesn't really enable you to bring up a dialog on top of the canvas when user presses some button and then having a text input field in that dialog(while still showing the canvas on most of the screen, so mixing highlevel ui, which has the predictive text input, and lowlevel ui. now it seems one would have to write their own text input routines). I don't know if layers would be of much help though(I only have a midp1.0 phone, midp2.0 spesific things don't intrest me that much as a consequence).

      I've been learning symbian c++ for the past few weeks on my own and it is a BITCH. If I was just learning it for the sake of doing something very simple, like somethig with few dialogs or something I'd be very pissed. j2me on the other hand was very easy to pick up(and you can get to be an 'expert' in just few months, knowing most of the bugs the real phones have and knowing what is fast and what is not).

      --
      world was created 5 seconds before this post as it is.
    48. Re:Pure nonsense by millette · · Score: 1

      Redundant? I was wondering why I got that moderation. I had forgotten about my other post. If somebody had been more careful (then I was :) he would have noticed my second post was more convenient. I guess marking the first post as redundant would be fairly odd, but wouldn't it make sense in a case like this?

    49. Re:Pure nonsense by 110010001000 · · Score: 1

      No, you lose. You probably didn't even buy optical encoder stepper motors either. Did you at least get chips that support S-curve and velocity contouring motion profiles?

      I doubt it.

    50. Re:Pure nonsense by mefus · · Score: 1

      Where did he say anything about Linux?

      You sir, are right. I miss-spelled "The Perl Journal".

      --
      mefus
      In Open Society, GPL Software frees YOU!
    51. Re:Pure nonsense by mefus · · Score: 1

      chips that support S-curve and velocity contouring motion profiles

      Where'd you google that from, troll? HAHA.

      An encoder on my stepper? An optical encoder? Why would I need that? Unless I needed it, of course.

      You don't even know what you are posting. And you waited so long...

      You're pretty funny, though. You'd make a good pet.

      --
      mefus
      In Open Society, GPL Software frees YOU!
    52. Re:Pure nonsense by mr_mischief · · Score: 1

      Perl is not analogous to Basic. The difference between Java and Perl is more like Ada vs. C++ than assemnly vs. Basic. They are two languages of fairly equal level with different design goals. They are not one intimately connected to the hardware and one a dumbed-down language meant to teach to children and suits.

  2. Great by W32.Klez.A · · Score: 4, Funny

    In that case, how long until shitstorm.pl gets launched from a cellphone?

    1. Re:Great by mikis · · Score: 1

      And just wait untill someone ports FormMail.cgi...

  3. Next mobile by Alioth · · Score: 2, Interesting

    I was thinking of getting a Sony Ericcson phone, but if the Nokia will have a Perl port available, I might wait a bit longer before getting a replacement for my existing one :-)

    1. Re:Next mobile by MoonBuggy · · Score: 3, Interesting

      Since this is coming for the Nokia Symbian 6 platform, I would think it's only a matter of time until it comes to the Sony Ericsson smartphones.

      I work in a computer/phone shop and have used most things on the market - any high end Sony is better than a Nokia. The P900 has plenty of software available (MAME, Opera, AIM to name but a few) - a perl upgrade does not change the fact that Nokia is running Symbian on an inferior piece of hardware.

    2. Re:Next mobile by Alioth · · Score: 3, Interesting

      Big question - does it have an SSH client? That would be a killer app for me, assuming latencies on GPRS are reasonable.

      It goes without saying that it's bound to have an IRC client :-)

    3. Re:Next mobile by aallan · · Score: 5, Informative

      Big question - does it have an SSH client?

      What? For the Nokia Series 60 platform? Yes!

      I SSH into my workplace UNIX box from my Nokia 3650 moderately regularly. The SSH client for SymbainOS is a port of PuTTY and can be found here.

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    4. Re:Next mobile by MoonBuggy · · Score: 2, Interesting

      You can get PuTTY for the P800/900 as well as a VNC client. There are a couple of commercial SSH apps that are more polished and stable than the port of putty.

      I strongly reccomend a P900, I have had mine for a month and am as happy as can be with it. There's just nothing else that I've used that matches up (and I've used near enough every phone on the market at work). Get an 128MB memory stick for it and you can get 3 hours of video on for when you're not working - there's even space for a few MAME games too.

    5. Re:Next mobile by ttj · · Score: 2, Interesting

      An SSH client for a mobile phone would indeed be nice, but I personally wouldn't want to do massive amounts of administrative work on the so called keyboard of a mobile phone. Writing SMS messages is awkward enough already even though it has the predictive text feature on it. Think of what it would be like to enter line after line of cryptic *nix commands on it.

      I will, however, admit that it would be an easy way to brag about your uptime amidst your friends without the need to have physical access to the computer.

    6. Re:Next mobile by Fizzl · · Score: 2, Informative

      Well.. It doesn't work quite that way.
      Symbian creates a platform. It's not 'Nokia Symbian', it's just Symbian. The nokia S60 is another layer of itself so it's not automagically backported to Symbian. (UIQ is actually just a reference UI for Symbian 7. Nokia made it's own -- S60+S80+S90, SonyEricsson decided to use the UIQ)

      After that the customers (Nokia, SonyEricsson and so forth) throw out what they don't want, recode some parts which they want to interface their own way and code new ones.

      I strongly suspect this perl thingie will be Nokia proprietary piece.
      Nokia has a good history of making open API's thou. So I think they might very well make atleast the specs available for other symbian owners and customers.

      Of course, any Nokai UI/Platform customer phone will have it also.

    7. Re:Next mobile by trmj · · Score: 1

      The sidekick, hosted by tmobile in the US, has a downloadable terminal client, perfect for ssh, telnet, etc. and it downloads wirelesly. Even has a nice web browser, from which I am posting now.

      --
      Work sucked, until it became unemployment, when it became slightly more tolerable. -Tet
    8. Re:Next mobile by Alioth · · Score: 1

      But the cryptic *nix commands are all short (that's why they are thought of as 'cryptic'). No, I wouldn't want to do massive amounts of admin on a mobile phone, but it might be useful if I get 'Oh my god I can't get to X' when I'm otherwise AFK, and want to do some basic troubleshooting.

    9. Re:Next mobile by marktwen0 · · Score: 1

      Is the P900 at all fragile? No, I'm not being "reasonable". My 2-year-old Moto P180?280 Timeport somesuch has lived in my jeans back pocket, been dropped onto concrete innumerable times, finally cracked the plastic LCD cover, and still works like a champ. (I'm in the boonies, right at the edge of the only nearby cell.) That fancy P900 just looks a bit fragile to me--thinking of the 6620, anyway.

    10. Re:Next mobile by MoonBuggy · · Score: 1

      As touchscreens go it's pretty tough, and the flip provides good protection, but I will admit it could never hold its own against an old 3330 in terms of durability. Any kind of treatment that would crack plastic would kill a P900 because obviously there's nothing protecting the LCD or it would render the touchscreen a bit hard to use. I do have a BoxWave Cleartouch on it though - it's not at all impact resistant but it's completely unscratchable.

  4. cool new use for regexes... by BriSTO(V)L · · Score: 5, Funny

    This is so great - instead of using the built-in PDA contact manager functions of our phones, us geeks will be able to craft perl scripts with regexes to look up people's phone numbers...

    1. Re:cool new use for regexes... by Anonymous Coward · · Score: 0

      Here is an even nastyer picture. Don't watch if you have sth in your stomach! It's even worse that goat and tubgirl combined!

  5. This is a great idea by cervo · · Score: 4, Interesting

    the current choices (C++, Java) are overkill for a lot of applications

    They are right, for ripping info off of web pages and stuff you just can't compare C++ and Java to Perl because of the overhead, kudos. Now you can make perl scripts to provide real time quotes off of various websites very quickly, this is great news.

    1. Re:This is a great idea by Czernobog · · Score: 0, Insightful

      C++ overkill? Yeah of course. Why would you want a compiled and well-designed-in-code binary running on your limited hardware when you could run all the bloat that comes with java virtual machines and interpreted perl....

      --
      /. Where the truth
    2. Re:This is a great idea by rewound98 · · Score: 2, Troll

      Are you on crack? That Nokia phone is slower than pig in slop retrieving "real time quotes". It's not going to matter if you're using Perl, C++, or Java....the bottleneck to doing it "quickly" is the network...not the programming language.

      --
      -- Rob
    3. Re:This is a great idea by Decaff · · Score: 1

      What overhead is there with Java?

      String name = request.getProperty("name");

      seems pretty a lightweight way to get stuff from a web request.

    4. Re:This is a great idea by Decaff · · Score: 4, Insightful

      What bloat with java virtual machines? you can run java on credit cards. Far better something portable at the binary level like Perl or Java than fixed compiled-for-one-platform C++ code.

    5. Re:This is a great idea by cervo · · Score: 1

      A) You are posting a form to the server and then PARSING THE WEB PAGE
      A1) In java you'd need to instantiate the browsing classes, then the regex classes, (yawn) killing many lines with just building the classes
      A2) In Perl just throw in a regex and dump it into some variables, the web browsing classes are also ridiculously simple woohoo.

      No overhead? I think not. I don't know about you but in general I find Perl code executes quicker on my systems than java. I've used Solaris, Linux, Windows and in general Perl executes quicker than java for me.

      Also Java has a MUCH BIGGER memory footprint. I haven't looked at the Nokia java kit, but I bet the JVM has a much bigger memory footprint then whatever will interpret the Perl. On an embedded platform like this the memory footprint matters.

    6. Re:This is a great idea by rewound98 · · Score: 1

      So essentially saying you have no idea. Next contestant please.

      --
      -- Rob
    7. Re:This is a great idea by autocracy · · Score: 2

      Bloat in applications that take over a minute to start up on 1Ghz+ boxes. Trust me - I worked for a library that had a Java front-end to their circulation database. Let me emphasize, it was a front-end to a database. I'm not saying it's Java's fault, but Java does have a reputation of having stupidly written programs. I suspect, however, that this is because everybody woke up and yelled "implement Java!" This lead to a huge influx of people who learned Java by reading a book, then started writing code. Hopefully that will change at some point...

      --
      SIG: HUP
    8. Re:This is a great idea by cxvx · · Score: 1

      You must be kidding? Perl always executes faster for you? Perl, the fully interpreted language? The only way I could see this happening if you take startup time into account, on really short running applications.

      I'm not saying Perl doesn't have it's advantages compared to Java, but performance surely is not the reason to pick Perl over Java. You probably do have a point on the memory tough.

      --
      If only I could come up with a good sig ...
    9. Re:This is a great idea by chromatic · · Score: 3, Informative
      Perl, the fully interpreted language?

      Perl has a compiler and a virtual machine just like Java does. In cases where high performance is really necessary, perhaps Nokia will cache bytecode or use a persistent interpreter.

      With that said, I'd rather see them use Parrot, as it's a nicer approach in the long term.

    10. Re:This is a great idea by Decaff · · Score: 2

      What you say makes a lot of sense, but its an application organisation problem, not bloat. Slowness in starting is a problem in any application that dynamically loads and links code, either locally or over a network, not just Java. There is no reason, with competent coding, for a Java application to be slow or slow to start.

      I remember the same arguments being used against C++ in the 80s.

    11. Re:This is a great idea by cant_get_a_good_nick · · Score: 2, Informative

      Perl, the fully interpreted language?
      Perl isn't fully interpreted. I'ts processed and "compiled" to an internal bytecode, then executed. Perl 6 makes this more explicit with the breakout of the Parrot VM. Picture you being able to run java on java sources directly, because there is a hidden pass to javac on every run.

    12. Re:This is a great idea by cant_get_a_good_nick · · Score: 1

      This lead to a huge influx of people who learned Java by reading a book, then started writing code. Hopefully that will change at some point...

      Ahh, so some people just start writing java code without even reading the book? That explains a JSP coder i had to deal with at one job I had...

    13. Re:This is a great idea by Anonymous Coward · · Score: 0

      idiot, he was talking about developing time.

    14. Re:This is a great idea by Anonymous Coward · · Score: 0

      Perl is not portable at the binary level. True, perl internally compiles to a bytecode, but you can not dump this bytecode out, take it to another platform, and expect it to work.

    15. Re:This is a great idea by arodland · · Score: 1

      But if it takes the JVM half a minute to load "Hello World" before it can run, then how could it be anything but the JVM that lacks "competent coding" ?

    16. Re:This is a great idea by autocracy · · Score: 1

      That's pretty much exactly what I'm arguing... though you were right to use a different term. The problem doesn't lie in the language, but the fact that most people don't yet understand the proper way to use it and prevent such bad implementations.

      --
      SIG: HUP
    17. Re:This is a great idea by Decaff · · Score: 2, Interesting

      Its not the JVM: VMs are small things that load in fractions of a second. Its the class libraries. Many of the standard class libraries supplied with VMs (such as the Swing GUI) have definitely been incompetently coded in terms of load speed, and are being extensively recoded because of this.

    18. Re:This is a great idea by Anonymous Coward · · Score: 0

      You must be kidding? Perl always executes faster for you? Perl, the fully interpreted language?

      Maybe "executes" is the wrong word. "Completes work" faster is probably more accurate. In my experience codes up faster, too. I have, on various projects, gone from "we needed this yesterday" speaker phone conversation requirements (the kind you actually get in the real world) to working code faster by my self than the 4 - 6 Java monkeys in the department could. My development cycle time is shorter and for the kind of stuff that is required to run many businesses - code that finds data, analyzes it, reformats and validates it, then stores/transports it - yeah, I have developed the same thing quicker and it "completed the work of parsing the 1.5 Gig data feed, validating, outputing the errorfiles, sending the notifications and loading the rest into the db" faster than java. Being that parsing and pattern matching are often the slowest part of a program and that perl has a number of levels/techniques/blocks of code for optimizing pattern matching, I can see perl programs completing work that involves parsing, pattern matching and/or moving big blobs of data around faster than Java.

      The number of lines of code have no bearing on the criticality of that code. And the amount of pain and suffering that went into embodying the complete, correct business requirements is not necessarily proportional to number of lines of code. My experience is that for every 40K line Java program, there are a bunch of 10, 20, 100 line perl/py/rb/etc programs (which would take 5-10 times that many lines in Java) that are just as critical in part because they feed and care for the Java program, its habitat and/or its data - generally, no one notices them because they don't break and they didn't require an "architect", use cases and design patterns - maybe they should use that as the mascot instead of the little castrated Ace of Spades with a nose - Java is the big fatass queen bee that has a hive of worker perl/py/rb/php/sh bees that do the heavy lifting while Java just sucks up royal jelly and craps out eggs...

      I'll add that even though Java apologists claim that the bloat is not "Java's fault" the fact remains that the habitat that java, er, inhabits seems to promote bloaty, slow systems - jsp's, weblogic, jms, etc. Of the java web frontend programs I have experienced, most seem be rewrite-able in php, perl, ruby for a smaller codebase with a less complex habitat and a more responsive feel for the user.

      On the other hand, I use SmartCache and Freenet both java non-gui "freestanding" server programs that seem competently written and decently performing. Actually, SmartCache might be a good comparison if a similar set of functionality was written in perl.

      --
      Damn, I was just typing along and I ended up bitter and under a bridge...

    19. Re:This is a great idea by placiBo · · Score: 1

      Err... Thats not really true. Opcode compiled on one platform in Perl will run on any other platform with a Perl virtual machine. Perl is as cross platform as Java. Perl's virtual machine is the Perl interpreter. A Perl program will run on any machine with a Perl virtual machine on it. You can generate bytecode using the bytecode backend.

    20. Re:This is a great idea by babbage · · Score: 1
      With that said, I'd rather see them use Parrot, as it's a nicer approach in the long term.

      Dan Sugalski gave a Parrot talk for the Boston Perl Mongers last week, in which he revealed to us that among the primary target languages for Parrot are Perl, Python, Ruby, and ZCode -- as in old Infocom games. Apparently, he's hopeful that Parrot could come to be the software engine for future game platforms like the Game Boy 2005 (or whatever relevant version at that point), and he figures that being able to run games like Zork and Hitchhiker's Guide to the Galaxy would be a good springboard to future gaming devices. And as a bonus, you could also script your games with Perl or Python or any other language ported to Parrot. I thought it was a silly idea at first, but it actually made a lot of sense, and as you suggest, it seems like it would be a good fit for what Nokia is trying to do here.

    21. Re:This is a great idea by chromatic · · Score: 1

      Don't get me started on Parrot for game developers! Hey, that's a great idea for an OSCON talk....

  6. Pleasure by MisanthropicProggram · · Score: 5, Funny

    Just think...turn your ringing option to vibrate and then run the pleasure program. Insert phone in front pocket and enjoy!

    --

    There is no spoon or sig.

    1. Re:Pleasure by e.colli · · Score: 0

      eheh. There is a bug in my Nokia cell who, sometimes, makes it vibrate without stop when I receive a call.

    2. Re:Pleasure by sparklingfruit · · Score: 0

      That is, until your nads become a microwave dinner.

      :)

  7. When CGI got popular by Tim+C · · Score: 5, Insightful

    The web exploded - suddenly hundreds of thousands of dynamic sites, and sites with at least some dynamic content, sprang up in an amazingly short amount of time. The web was transformed from a purely flat, static medium to a dynamic one.

    But mobile phones aren't static. The more modern ones can already run applications written in C/C++ or Java. Simply adding support for perl merely increases the number of people who could write code for them. The difference is nowhere near as great as CGI vs custom web server was.

    Don't get me wrong, I'm not saying that this is a bad thing, by any means. I just don't see it having quite the same degree of impact as the poster.

    1. Re:When CGI got popular by MooCows · · Score: 1

      Don't get me wrong, I'm not saying that this is a bad thing, by any means. I just don't see it having quite the same degree of impact as the poster.

      Obviously, the slashdot editors are excited by now being able to run slashcode on their phones.

      --
      The path I walk alone is endlessly long.
      30 minutes by bike, 15 by bus.
    2. Re:When CGI got popular by aallan · · Score: 0

      But mobile phones aren't static. The more modern ones can already run applications written in C/C++ or Java. Simply adding support for perl merely increases the number of people who could write code for them. The difference is nowhere near as great as CGI vs custom web server was.

      No but there is currently alot of overhead to getting started, getting the toolchain working is actually quite tricky.

      Well, okay I'm a UNIX developer and getting the SymbianOS Java toolchain in place was my first serious exposure to programming under Windows, so maybe it wouldn't be so hard for a native Windows person.

      But none the less writing Perl (which I do alot) produces alot more lightweight code than writing Java (which I also do alot) to do the same sort of job. Making the learning curve a bit less steep can only be a good thing.

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    3. Re:When CGI got popular by danamania · · Score: 1

      That's almost as big a transformation of the web as happened when suddenly animated gifs became popular. After they came to the masses, our eyeballs were transformed forever...

    4. Re:When CGI got popular by cant_get_a_good_nick · · Score: 1

      I agree that CGI made the web a lot more fun (anyone else remember URouLette from ukan.edu?) and gave people more reasons to start surfing, but you have to see the web explosion in a holistic view. Web browser techmology ( tags notwithstanding) and the expansion of web aggregators such as yahoo made it much easier to use. That and the continual increases in modem speed with decreases in price allowed more people to acces the web.

  8. Now I need an external keyboard by HrothgarReborn · · Score: 5, Funny

    It already takes me forever to enter names and phone numbers on a cell keypad. I am going to love finding how to do a % or a @.

    1. Re:Now I need an external keyboard by Jetboy01 · · Score: 3, Informative

      Maybe the Nokia 6800 is the phone for you:

      Nokia 6800

      built in qwerty keyboard, quite nice, and not as heavy or bulky as you would expect.

    2. Re:Now I need an external keyboard by tealover · · Score: 2, Informative

      Maybe you want to take a look at this virtual keyboard. Kinda cool, huh?

      --
      -- You see, there would be these conclusions that you could jump to
    3. Re:Now I need an external keyboard by Anonymous Coward · · Score: 1, Interesting

      Check out their model 6800 with the flip open keyboard.

      http://www.nokiausa.com/phones/6800

      For managing contacts/making notes and calendaring, their keyboard is a great feature. I really dont miss old style data entry ala my old startac.

    4. Re:Now I need an external keyboard by Thing+1 · · Score: 1
      Looks nice, but their "Pop Port" sounds like Sony's Memory Sticks -- a non-standard way of locking in revenue.

      Why didn't they go with USB or Firewire? Or, for that matter, Bluetooth or 802.11a/b/g?

      --
      I feel fantastic, and I'm still alive.
    5. Re:Now I need an external keyboard by robinjo · · Score: 1

      6810 and 6820 will have bluetooth.

    6. Re:Now I need an external keyboard by metlin · · Score: 1

      Or perhaps T-mobile's new Nokia Sidekick? ;-)

    7. Re:Now I need an external keyboard by Tokerat · · Score: 1


      A friend of mine has his this phone, and let me tell you, I'd sacrifice a phone cam for the convinience. Thumbs up.

      --
      CAn'T CompreHend SARcaSm?
  9. All I want... by Anonymous Coward · · Score: 0

    ...is a phone to make calls.

    What does this have to do with Perl? I don't get it... This handy-piss-contests will never end...

  10. TRANSLATION FOR NON-GERMANS by Anonymous Coward · · Score: 0

    "Handy" (germanized anglism) == "Mobile Phone"

  11. Nokia needs to focus on fixing their issues first by PierceLabs · · Score: 4, Insightful

    Anyone who has done any development on Nokias phones knows that Nokia is very 'bullet point' when it comes to supporting them. Their Java support for MIDP2.0 for example is a complete joke. Its horribly broken and Nokia knows it - basic applications from tutorials sometimes don't work properly or don't work in certain firmware batches of phones. What they NEED to do is get some quality control in place instead of adding a 'language of the year' to their platforms.

  12. Confused? by petesmart · · Score: 5, Funny

    How would I get the shebang line up using predictive text input?

    --
    John, I'm Only Dancing!
    1. Re:Confused? by squaretorus · · Score: 1

      clearly a joke - but I already have my nokia predictive text set up to shortcut various 'code like' phrases which I regularly have to send to collegues

      this works well - but confuses the hell out of my better half when she tries to send a message on my phone. obvious words often come out as strange collections of odd characters (to her)

      Just imagine how much BETTER it could be if perl was in the mix right there on the phone!

  13. More information on the topic by storl · · Score: 5, Informative

    There is some more information here if anyone is interested.

  14. JAPH SMS! by ravendeath · · Score: 2, Insightful

    ... or how paying $2 per kilobyte (thank you, local carrier) makes those four words the most expensive data message ever sent, at an average of 50 lines of code to produce the later ones people came up with!

  15. ummm, I have trouble reading the text as is... by Anonymous Coward · · Score: 0
    without /?|12/.?????||\83289/\\\..////124/3/\\\ all over the screen :)

    take it easy 1337 dudes, its a joke

  16. Python on Siemens by m_frankie_h · · Score: 5, Funny

    Now if only Siemens ported Python, that would be cool.

    1. Re:Python on Siemens by Anonymous Coward · · Score: 0

      Would they call it Siemon?

  17. please hurry up by Anonymous Coward · · Score: 0

    before MS dominates the market with that Windows Mobile.

  18. Good news, I suppose ... by JamesOfTheDesert · · Score: 3, Insightful

    I mean, I's rather use Perl than Java for many tasks, but if Nokia wanted a good, clean interpreted language, why not Ruby, which has the power of Perl but a far cleaner design.

    --

    Java is the blue pill
    Choose the red pill
    1. Re:Good news, I suppose ... by Hanji · · Score: 2, Funny

      My god man, what are you doing? The flamewar that a comment like that could spark would have the potential to bring down all of slashdot!

      --
      A Minesweeper clone that doesn't suck
    2. Re:Good news, I suppose ... by Gudlyf · · Score: 1
      "...but if Nokia wanted a good, clean interpreted language, why not Ruby, which has the power of Perl but a far cleaner design."

      Perl vs. Ruby flamewar in 3..2.....oh wait, nevermind.

      --
      Trolls lurk everywhere. Mod them down.
    3. Re:Good news, I suppose ... by lxs · · Score: 1

      Ruby? I thought all the cool kids were running Python this week.

    4. Re:Good news, I suppose ... by Anonymous Coward · · Score: 0

      BASIC R0X0RS KTHX

      Mwahahahaha...

    5. Re:Good news, I suppose ... by CatGrep · · Score: 1

      I thought all the cool kids were running Python this week. Can you imagine trying to line up syntactictally important indentation as your're trying to type in Python code on a cell phone?

    6. Re:Good news, I suppose ... by Peaker · · Score: 1

      I can.

    7. Re:Good news, I suppose ... by JamesOfTheDesert · · Score: 1
      My god man, what are you doing? The flamewar that a comment like that could spark would have the potential to bring down all of slashdot!

      Yeah, well, ...

      Two seconds after I posted I realized my comment might trigger a cascade of "Oh yeah, well what about #{my_favorite_language}? It has #{lang.features.join( ' and ' )}"

      Ruby isn't the only choice that would have been better than Perl; one of the strong factors typically in Perl's favor, the large number of available third-party libs, likely isn't useful here. Judged solely on what's available in the core language, there are many better choices than Perl.

      --

      Java is the blue pill
      Choose the red pill
    8. Re:Good news, I suppose ... by Anonymous Coward · · Score: 0

      Is Ruby a better fit than Perl? Possibly, but the Perl Nokia is looking at is almost certainly not based on Parrot... yet.

      The problem with Ruby is the anticipation of Ruby 2, which will result in incompatibilities with the current Ruby interpreters. As the Ruby community is still much smaller than the Perl community, it's likely most people currently using Ruby will readily adapt, rendering Ruby 1.6.x and 1.8.x obselete.

      When Perl6 arrives, Perl5 is still going to be viable for a long time, with a lot of people working on it.

      Perl5 is the better choice because it's more stable in the long run.

    9. Re:Good news, I suppose ... by Anonymous Coward · · Score: 0

      If you're trying to type code on a cell phone you need take your meditation, no matter what language.

  19. Re:Nokia needs to focus on fixing their issues fir by godIsaDJ · · Score: 2, Insightful
    I disagree. I program Nokia phones constantly and I can say that midp2 support is good.

    Forget the tutorials, yes the documentation is often not up to date, however, there are better places to learn midp programming than Nokia tutorials. There is *nothing* Nokia specific to midp programming!

    Point some midp2.0 that works on any phone but a Nokia please? I haven't seen any!

    Bugs in Nokia software? Certainly! Midp2.0 completely broken? No way!

  20. cool... by Dreadlord · · Score: 2, Funny

    ...now I can host my own slash based site using my cell phone :)

    --
    The IT section color scheme sucks.
    1. Re:cool... by exhilaration · · Score: 1

      Well since there's already a web server for Nokia phones, that might not be such a crazy idea.

    2. Re:cool... by aallan · · Score: 1

      Well since there's already a web server for Nokia phones...

      Unfortunately most of the cell networks firewall off the phone's IP rather vicously and you can't actually access it after you have it running (except from another phone on the same network)... ho hum!

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    3. Re:cool... by exhilaration · · Score: 1
      Use a CSD connection (dial-up) instead of WAP/GPRS; I've done it several times to download pictures from my Nokia 3650 when I'm at work (and don't have access to Bluetooth or IR).

      Now that T-Mobile has free WAP, I've been e-mailing myself the pics.

    4. Re:cool... by aallan · · Score: 1

      Use a CSD connection (dial-up) instead of WAP/GPRS...

      Doh! Yes that would work, so long as your ISP wasn't heavy handed with their firewall rules of course...

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
  21. Nokia perl by eap · · Score: 5, Funny

    "We are unable to complete your call. Please hang up and try the -w option."

  22. Wrong link by Accipiter · · Score: 3, Informative

    How about a link to the better, more informative article where the actual information lies?

    --

    -- Give him Head? Be a Beacon?
    (If you can't figure out how to E-Mail me, Don't. :P)

  23. Language Thrashing by fm6 · · Score: 5, Interesting
    Nokia seems to be thrashing around for better language support. They started with the Symbian SDK, which uses Visual C++ as an IDE. Then there was Java, which traditionally has used Vi or EMACS as a sort of IDE. Then they seem to have decided that they needed better IDEs, so they made expensive deals with Borland's C++ and Java business units. (These BUs are part of one small company, but in a very real sense they're direct competitors.) Now they seem to think that a good scripting language is the missing link.

    I was at Borland when the C++ effort started scaling up, and there was a lot of enthusiasm among people who thought that there was going to be a huge demand for personal device apps. Obviously there's the same feeling at Nokia, only more so. I suspect that this market is not living up to expectation -- the only apps that generate any buzz are phonecams and games, and there's only so much market for those. Nokia seems to think that there'd be more cool apps if there were more and better development tools. I really doubt that this is the problem.

    1. Re:Language Thrashing by Tim+C · · Score: 2, Informative

      Then there was Java, which traditionally has used Vi or EMACS as a sort of IDE.

      I do hope you're joking - I've been a Java programmer for 3.5 years now, and while I certainly *could* use vi (and some of my colleagues do), I wouldn't choose to do so.

      There are a great many proper IDEs available for developing Java, including Borland's JBuilder (which includes a free-as-in-beer version for personal use), netbeans (Free), eclipse (Free), AnyJ (free under Linux), etc.

      Sure, you can use your favourite text editor and ant, but why make life difficult for yourself?

    2. Re:Language Thrashing by Corvus9 · · Score: 3, Interesting
      Nokia seems to think that there'd be more cool apps if there were more and better development tools. I really doubt that this is the problem.
      I don't know if it's "the" problem, but it certainly is a large part of the problem.

      I had the misfortune to work on a USB sync application for a Symbian device, and the development tools are a throwback to the early 1970s. Writing a simple "Hello World" application for Symbian requires hundreds of lines of C++, MMC, IDL, and makefile text.

      You mention VC++ as the IDE. Yes, we used the VC++ text editor, but to actually compile a Symbian application requires a specially-customized gcc with no debugger support, and a half-dozen command-line apps with no documentation which have to be customized for every target platform. I'm in hell! I'm in HELL!!!

      Think I'm making this up? Check out Russell Beattie's blog. This guy is one of the biggest Symbian boosters on the planet, and even he admits the situation is untenable.

    3. Re:Language Thrashing by fm6 · · Score: 1

      I personally prefer a "real" IDE. But the last time I was involved with the Java world, there was a heavy prejudice against them. Then again, that was a few years ago, and I guess the landscape has changed. Certainly Java IDEs are a lot more solid now than they were in 1999.

    4. Re:Language Thrashing by Anonymous Coward · · Score: 0

      Nokia's Series 60 SDK can compile to a windows target, run your code "natively" as x86 in the emulator and allows you to debug with MSVC.

      You only use GCC for the release ARM build.

      IIRC.

    5. Re:Language Thrashing by eraserewind · · Score: 1

      Well, I'm no fan of Symbian C++, but there is certainly debugger support abailable. You can use MSVC++ debugger on windows (codewarrior too?), annd gdb on the target.

      The compile system is however certainly completely fucked up, though .mmp files are easier to maintain than makefiles for huge projects, the way they process them and do the whole build is so braindead as to be unbelievable.

      Also I don't understand why they don't have a standard "console application" library that you link to so you could write standard C/C++ "hello world". It wouldn't be the hardest thing in the world to implement, and would greatly reduce the learning curve for developers.

  24. News by Anonymous Coward · · Score: 4, Funny

    Slashdot server will be moved to run on Nokia mobile phone. A slight lag might appear after the change.

  25. Re:Nokia needs to focus on fixing their issues fir by unborracho · · Score: 1

    agreed. My nokia 3650 that runs the Symbian Series 60 OS is the only cell phone I know that actually crashes, and you have to restart it. There have been several times that I actually had to format the phone's flash memory. I haven't had to reformat anything due to a crash since windows 98.

    --
    "You had this look that of an angel, it was such a bad disguise" --Dishwalla
  26. How is java overkill? And how is this even big? by autopr0n · · Score: 5, Insightful

    CGI was the first easy way to program interactive web pages, as far as I know (it was a bit before my time), and perl was one of the languages you could use (along with C++, and pretty much anything else). But how does being able to write programs in perl on a device you can already code in C/C++ or java give you any huge advantage, unless you only know perl? I'm sure there are people who like to do all their coding in Perl, but unless you're one of them, this doesn't seem like much of a deal. Certanly nothing compared to CGI on the web. (And lets not forget that CGI was a pretty early tech, that came about when the web wasn't much. While CGI probably helped a lot, the web itself was pretty compelling, and growing quickly on it's own).

    Also, how exactly is java "overkill" for these devices? People talk about how a hello world app is 5 lines of code, but those few lines are constants that are going to be in any small app (i.e. public class Classname{ public static void main(String args[]){ ... simple code ...}}).

    If they're talking about running time, they're probably wrong too. Perl is interpreted, while java runs in a VM. I don't know if they use JIT on moble devices, but java will still be faster then Perl.

    So how is java 'overkill'? This is certainly good news for perl buffs, but I don't know why the rest of us should care.

    --
    autopr0n is like, down and stuff.
  27. Very Funny - How Times Have Changed by Anonymous Coward · · Score: 0
    C++ overkill? Yeah of course. Why would you want a compiled and well-designed-in-code binary running on your limited hardware when you could run all the bloat that comes with

    A C++ proponent accusing something else of bloat? Next, I imagine you'll be accusing something of being obtuse and unnecessarily complex. Thanks for the funniest (or is it most ironic) post of the week.

    1. Re:Very Funny - How Times Have Changed by Anonymous Coward · · Score: 0

      >unnecessarily complex

      ah yes, the typical anti-C++ troll who either got whooped in his intro to computing class or tampered with HelloWorld and couldn't get much further than that.... or both. The truth is, C++ is complex because it can do things that no other language can do. If you think its unnecessarily complex then you most likely don't appreciate real computing for this day in age and are better off staying away from programming all together.

  28. Which is it? by smittyoneeach · · Score: 0
    30 or 40,000 lines

    I mean, you're talking a 39,970 (wait, with a UK URL you want 39.970, don't you?) line difference in your estimate of the codebase here. Recommend calibration.
    Ah, you meant between 30 and 40,000 lines.
    Just tweaking your beard, boss. ;)
    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    1. Re:Which is it? by aallan · · Score: 0

      wait, with a UK URL you want 39.970, don't you?

      No, thats the Europeans, we don't talk to them (much)...

      Ah, you meant between 30 and 40,000 lines.

      Pedants, the lot of you! Humpf!

      Al.
      --
      The Daily ACK - Eclectic posts by yet another hacker
    2. Re:Which is it? by Anonymous Coward · · Score: 0

      Nah, he's right. It's not pendantic, you are using stupid and confusing notation.

    3. Re:Which is it? by Anonymous Coward · · Score: 0

      He said or, not xor. that makes it 40,030 lines. Actually, I'm guessing he meant between 30,000 and 40,000 lines.

  29. CGI? by mr_tommy · · Score: 3, Insightful

    Is this poster crazy?! To suggest that the sudden surge in web usage was down to CGI is frankly ludicrous! There is no way you can say, "right, that technology lead to the boom in the web". Its not possible! And even if you could pin it down to one thing, it would be something Many, many, many technologies have helped it along the way.

    Further, perl is not the only scripting language on the internet; furthermore i doubt it is the most popular. PHP, ASP, Java; all popular and equally efficient languages.

    1. Re:CGI? by SvendTofte · · Score: 1

      Perl was amongst the first. Perl was created sometime in the eighties, well before the net. PHP has it's roots in another product, created in 1995. ASP was even later, coming out in 1996. While CGI can be written in pretty much any language, perl has long been recognized, as leading the way forward in CGI, it doesn't do this anymore, since specialized languages and frameworks have come out, but that doesn't make it any less true, that Perl was there first and foremost (look at the URL of this site, see the .pl?) (and let's ignore that Java isn't a scripting language).

      The other thing you say, is mostly personal opinion, but weighted against these comments, I wouldn't put much into them, you obviously weren't there back then. CGI allowed for dynamic content, a site such as /. couldn't have been created, without CGI.

    2. Re:CGI? by Tin+Foil+Hat · · Score: 1

      I think it's safe to say that adoption of the internet would have occurred a lot more slowly in business without CGI. It's a simple fact. Before CGI, the web was a smaller, much more stagnant place. After CGI, business usage of the internet skyrocketed because consumers could now interact with web sites instead of simply downloading text. Remember that CGI came out quite a while before any of the other web application technologies such as ColdFusion, Java, ASP, and PHP. For several years, CGI was simply the only way to get dynamic content on the web.

      Frankly, it's ludicrous to think that the web could have grown so quickly without CGI. Certainly a lot of other technologies had roles to play, even major ones, but the web owes a huge debt to CGI.

      As far as perl being most popular, I can't really say one way or the other, but I have noticed that every programmer I know can bang out at least a little perl.

      --
      No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
  30. Re:Nokia needs to focus on fixing their issues fir by PierceLabs · · Score: 1

    Sure, here's an entire PDF of them

    Known issues with 6600

    If you KNOW you have issues - DON'T SHIP THE PRODUCT! Its painfully clear that we can't upgrade these phones once they're in the space.

  31. Re:How is java overkill? And how is this even big? by aallan · · Score: 3, Insightful

    CGI was the first easy way to program interactive web pages, as far as I know (it was a bit before my time), and perl was one of the languages you could use...

    While you can use Perl to write CGI, Perl doesn't really have anything to do with CGI coding. You talk alot about CGI, not Perl, I don't see your point? CGI is totally irrelevant to mobile phones...?

    Saying that Perl is used to write CGI scripts is like saying Java is used for writing web applets. Yes, you can write applets in Java, but most of the people I know don't.

    Al.
    --
    The Daily ACK - Eclectic posts by yet another hacker
  32. Re:How is java overkill? And how is this even big? by inode_buddha · · Score: 1
    Not that I disagree (since I'm not an expert or anything) but I thought that the important issue is "How many bytes of mem does it use at runtime? How is it linked?" regardless of how many lines it takes to write it. There's a pretty cool article about that stuff here.

    cool site you have BTW

    --
    C|N>K
  33. Camels and snakes by jmerelo · · Score: 1

    Wonder why it's easier to put a camel through a mobile phone than a snake.

    1. Re:Camels and snakes by resiak · · Score: 1

      You do, of course, mean: "Wonder why it's easier to put a camel through a mobile phone than a British comedy troupe .

      1.16 Why is it called Python?

      At the same time he began implementing Python, Guido van Rossum was also reading the published scripts from "Monty Python's Flying Circus" (a BBC comedy series from the seventies, in the unlikely case you didn't know). It occurred to him that he needed a name that was short, unique, and slightly mysterious, so he decided to call the language Python.

    2. Re:Camels and snakes by jmerelo · · Score: 1

      Well, that too...

  34. The rest of us... by sethstorm · · Score: 1

    Sure, it'd be nice if we all could move to the 6600, but I'd like to see if they could fit it in with *existing* hardware - via rom update(sure, some of you might argue that the Series 60 firmware is customized by each vendor, but if you can supposedly fit Perl into the 6600, it shouldnt be a stretch to to put it into existing devices such as the 3650). Yes, I *also* know that the Series 60 firmware is highly customized by some vendors, but if this is going to go into those newer customized models, there's few things that would prevent it from getting into existing hardware.

    --
    Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
  35. Re:How is java overkill? And how is this even big? by aallan · · Score: 1

    How many bytes of mem does it use at runtime? How is it linked?

    Sometimes the correct thing to do is to trade off memory and CPU usage for less upfront developer time. Sometimes you need something that'll run small and tight and it doens't matter how much effort (within limits) it takes to get it to run faster and smaller. It depends very heavily on what you're doing and why...

    Al.
    --
    The Daily ACK - Eclectic posts by yet another hacker
  36. Perhaps they mean a Perl-like subset by Anonymous Coward · · Score: 0

    since Perl is way too large to even consider running it on anything with less than 64 megs of memory when you factor in the external modules.
    How much non-volatile RAM do these phones have anyway?

    1. Re:Perhaps they mean a Perl-like subset by ClosedSource · · Score: 1

      You bring up a good point. This porting of traditional code to resource-limited devices like cell phones (as in Embedded Linux, Embedded Java, Window CE, Perl) is a matter of branding and the hidebound nature of programmers.

      If would be more efficient (and probably more cost effective in cases were large volumes are involved) to use an OS or language that was designed from the ground up to be small and efficient.

  37. Re:Nokia needs to focus on fixing their issues fir by godIsaDJ · · Score: 1

    I disagree, how many of those issues affect real midp2 apps? I never experienced any of those problems, 'cause I never needed those functionalities. The average midp2 developer goes seldom there... Actually my midp are generic. I just tried to install them on Nokias and they just work. This is my experience anyway, I suppose some midp2 apps out there use those functionalities...

  38. And furthermore... by JZip · · Score: 2, Informative
    Wherever this was quoted from, it's got an additional point to be made from it:

    Perl is probably fine for half arsed system scripts that don't exceed 50 lines or so, but it is a hindrance and an abomination to a professional development environment

    Perl can be used by people who are not professional developers--people like "half arsed system" administrators who like to actually do useful things. Non-technical people can do things with Perl, too. Granted, sometimes they make awful mistakes, and on a networked device, that's scary. But tools for the n0n-l33t are a Good Thing, except maybe for some 3(g0)l33t15t5.

  39. Re:How is java overkill? And how is this even big? by smcdow · · Score: 5, Insightful
    Also, how exactly is java "overkill" for these devices?

    Call me old-fashioned, but I like simple things to be simple. I've written about this before, but it seems like java wonks can't write a hello world with out also generating a "HelloWorld" class, and about 500 classes (not lines of code, but classes to go along with it. I'm getting pretty pissed off about it.

    Not all problems require an OO solution. The majority of all problems don't require an OO solution. When you're doing something simple, the code should be simple as well. Why invent zillions of java classes and interfaces when 5 or 10 lines of perl code will do? IMO, this is the overkill that people speak of.

    And, as we all know, complicated things are just layered simple things, so perl does well for complicated things, too. Very well, in fact.

    Perl is interpreted,...

    This is a common mispercption about perl. Perl is what mainframers used to call a "compile and go" language (I used to do all my MNF programming as compile and go, but then I had unlimited machine time). Perl is compiled down to an optree, and the the optree is run by the perl runtime (which is essentailly a VM, but the perl folks don't like to call it that). This all happens transparently. An interpeted language is quite a different thing.

    ...java will still be faster then Perl

    I have my doubts. All the language performance comparisions I've read never take into account that perl programs are compiled just before they are run. I'd wager that if this was taken into account, then their performace would be fairly similar. (Of course, anyone can write inefficient programs in any language).

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  40. This is good news by ajs318 · · Score: 5, Insightful

    I'm going to stick my neck out and say I like Perl -- so I think this is good news. However, I've always thought of Perl as a text-processing language, and In My Limited Experience, mobile phones can only fit about ten words on the screen. {on the other hand, this could simply lead to phones with bigger screens.}

    There's no denying that you can write really ugly code in Perl, but you can also write beautiul code in Perl. I think some of the people who knock Perl are confusing "undisciplined" with "not anal retentive". Perl was always based around the idea of serving the end rather than the means -- it's about where you're at, rather than how you got there. It does not impose a particular style on the programmer. Thus, for any given task, there could be many, many ways to accomplish it in Perl.

    They're all right.

    Some will be faster than others, some will use fewer resources than others, some will look prettier then others when viewed as source. But if you don't care enough about those things to mention them in the design spec, then they don't matter.

    Now, you can have your fancy object-oriented stuff, but in many ways it's overkill. For instance, if you needed to write a programme involving geometry, you could create an Angle object which would have a value assumed to be in radians and properties for its sine, cosine, tangent and representation in degrees; a Distance object which would have properties for its representation in different measuring units; and assigning a value to any property would affect the object and therefore its other properties. It might be beautiful if you like the OO concept, but it's a bit overkill if you just want to find the missing side of a triangle.

    And does a "disposable" programme -- one that you will run only a few times before forgetting it forever -- really need to look pretty anyway?

    As for PHP, well, it really isn't much different from Perl -- apart from always needing to put brackets around function parameters, the fact that all variables start with a $ sign whether scalar, array or hash and there is no $_. {I happen to love $_. It goes nicely with the concept of an accumulator. If you never did any assembly language, you probably won't know what I'm talking about, though}. That is hardly surprising, because the original PHP was actually written in Perl to be like a kind of subset of Perl.

    Also, one of my little niggles -- and I freely admit that this is just my own opinion -- is the inability to get on with any language that uses the plus sign as the string concatenation operator while letting you freely mix string and numberic variables. {*cough* ruby *cough*} I expect "2" + 2 to equal 4, not 22. Hell, if I have to do something to my variables before I can add them, that just nullified the advantage of having freely-mixable scalar types! It might as well be a strict-typed language and barf on an expression such as "2" + 2!


    As for Python - well, it's not my cup of tea {I guess you like either Perl or Python} but other people seem to have written some pretty good stuff in it, so I shan't knock it.

    --
    Je fume. Tu fumes. Nous fûmes!
    1. Re:This is good news by tcopeland · · Score: 2, Interesting
      > {*cough* ruby *cough*} I expect "2" + 2
      > to equal 4, not 22

      Hm. In Ruby that'll raise an exception:
      irb(main):001:0> "2" + 2
      TypeError: cannot convert Fixnum into String
      from (irb):1:in `+'
      from (irb):1
      irb(main):002:0>
      But of course, you could do:
      irb(main):002:0> "2" + 2.to_s
      => "22"
      or
      irb(main):003:0> "2".to_i + 2
      => 4
      irb(main):004:0>
      to get whatever result you want.
    2. Re:This is good news by Anonymous Coward · · Score: 0

      " but you can also write beautiul code in Perl"

      unfortunately this is not justification enough to claim that Perl is a good language. We've gotten to the point where the programming community expects (as it should) more from the languages its using. The problem with software these days is unmastered complexity and our tiny human minds can't deal with it, we need help. Thats why we are moving away from completely free languages like C and Perl.

    3. Re:This is good news by CatGrep · · Score: 2, Interesting

      And does a "disposable" programme -- one that you will run only a few times before forgetting it forever -- really need to look pretty anyway?

      Maybe not, but what if you do decide that you need it again 6 months later with some slight modifications you might not be able to figure out what your 'disposable' program was doing.

      is the inability to get on with any language that uses the plus sign as the string concatenation operator while letting you freely mix string and numberic variables. {*cough* ruby *cough*} I expect "2" + 2 to equal 4, not 22.

      Well, you're only half right. The '+' sign can indeed be used for string concatenation in Ruby, however you can't freely mix string and numeric variables:

      irb(main):001:0> 2+"2"
      TypeError: String can't be coerced into Fixnum
      from (irb):1:in `+'
      from (irb):1

      So you either need to do (if you want a numeric result):
      irb(main):005:0> 2+"2".to_i
      => 4

      Or:
      irb(main):011:0* 2.to_s+"2"
      => "22" ...to get the answer you find annoying.

      '+' seems to make sense as a string concatenation operator. Isn't Perl6 planning to use '~' -that's intuitive.

      Hell, if I have to do something to my variables before I can add them, that just nullified the advantage of having freely-mixable scalar types! It might as well be a strict-typed language and barf on an expression such as "2" + 2!

      I suppose you could always redefine the '+' operator in both the String and Fixnum classes to act like it does in Perl (ie. do the automatic conversion), but that probably wouldn't be a good idea. It's not that big of a deal to do the conversion between String and Fixnum.

    4. Re:This is good news by owlstead · · Score: 0, Flamebait

      There's no denying that you can write really ugly code in Perl, but you can also write beautiul code in Perl

      Which is somehow always the phrase if someone's defending one of the ugly languages. You CAN do it right. Well, you can write beautiful basic code, but most programmers agree that basic is ugly as sin.

      When I write "2" + 2 then I would expect the language to reply "bullshit" too me. If the language uses answer = inputVar + 2 and the answer is four for "2" + 2, imagine what happens if the input is "u". Now u2 is ok for me, but I don't want the program to crash when it is trying to divide that variable later on.

      Java is great for things like this. As long as there are additional interfaces available to use the specific phone features if they are available. Java applications are small, strong typed, and they know the word sandbox. Furthermore, there are many great tools around and very usefull debuggers.

    5. Re:This is good news by ajs318 · · Score: 1
      ..... or you could have two different operators for numeric addition and string concatenation {like Perl}. That way you can mix scalar types all you like, then -- if you want to add numbers -- write any of "2" + 2, "2" + "2", 2 + "2" or 2 + 2 and know you will get 4, or if you want to concatenate strings, write any of "2" . 2, "2" . "2", 2 . "2" or 2 . 2 and get "22". {Of course, 2.2 should evaluate to two and one fifth, so maybe we need an operator that doesn't clash with the decimaal point. But if you like lots of whitespace in your programmes, just pretend that the string concatenation operator is a dot with a space in front of it.}
      '+' seems to make sense as a string concatenation operator.
      Not to me it doesn't, for the above reason. Of course you never really have to use it, because in Perl, you can always spot a variable by the dollar sign, and variables in "speech marks" get interpolated implicitly. So $foo . $bar can also be written as "$foo$bar", although you might need to use {curly brackets} around the name part if it isn't obvious where it ends -- "$foobar" is $foobar, "${foo}bar" is $foo . "bar". If you don't like the curly brackets you can use the dot.

      I just like the idea of leaving the computer to do some of the work for me. For instance, why should I have to tell it what all my variables are going to be called and what type they are going to be, right at the beginning, when all that information is already in the programme somewhere if you look hard enough? Of course, I suppose I could write a Perl script to look for things that look like variable assignments, and build up a table of declarations to graft onto the beginning .....
      --
      Je fume. Tu fumes. Nous fûmes!
    6. Re:This is good news by Panaflex · · Score: 1

      That's truly an interesting thought to me..

      How is C or Perl any different in functionality from Java in terms of freedom? C and Perl still require fluff to initialize and "do stuff."

      In terms of complexity, I don't think the answer lies in the language. Look at the System 370 OS and tell me that's not complicated. Most of it is in assembler and machine language. Yet IBM wrote and supported the system for numerous generations of hardware and OS design. They have CPU partitioning, transparent multiple IO busses. They even ported Java, Perl, and C to it! Complexity is expensive to maintain in the brainpower department though.

      Freedom isn't the operator here.. it's money. Reducing complexity means that cheaper and less educated labor can work in smaller chunks of logic which have strictly defined interfaces. Inferior solutions can be replaced when required and are easier to drop in.

      That's not to say that Java is for dummies, as many well educated smart people are it's biggest fans! But business has driven java into the mainstream. It did the same thing for C. Otherwise we'd all be using C++ now, right?

      Back to Java though, if you look at the features provided, they are all aimed at reducing error prone code through mitigating stupid errors.

      Examples include strict compilation rules, strict naming conventions, security errors are removed by fencing the programmer away from pointers. The list goes on to include sockets, threads, memory management, etc.

      This combines to form an interesting cost analysis that finally results in one cost that scares businesses more than anything!

      RISK!

      With a good C or Perl solution, the risk is higher that a programmer will make a mistake that can't be fixed with more hardware, bandwidth, or programmers. With Java, mistakes can more often be glazed over with these things. This reduces the risk and makes business happy.

      To think that programmers are driving any of this other than in the academic sense is comic in a sense. Getting a room full of programmers to standardize on anything is an excercise in futility, even in the Java community. ;) When Bob the CIO comes in and mandates Java - the discussion is over.

      Pan

      --
      I said no... but I missed and it came out yes.
  41. great boon? by tomstdenis · · Score: 1

    All I want my cell todo is make calls. How will perl help me accomplish this goal?

    Tom

    --
    Someday, I'll have a real sig.
    1. Re:great boon? by mikis · · Score: 1

      Well, you'll be able to make a script that will regexp match incoming caller number with a list of unwanted callers and reroute that call to Bangladesh ;)

    2. Re:great boon? by juhaz · · Score: 1

      It doesn't.

      And it's not supposed to. Series 60 is their uber-expensive pda/phone/camera-combo series of toys, you wouldn't buy anything like that anyway if you were looking for a cell that just does calls, perl or no perl.

    3. Re:great boon? by Cato · · Score: 1

      You write a script to dial properly using calling cards - just tried this today with my SonyEricsson P800 phone, which supports auto dialling the service number and calling card number but is not *quite* flexible enough to make this work. Perl plus suitable hooks into the phone + contact manager API would make this really easy.

  42. Microsofts Answer? by lonesometrainer · · Score: 2, Funny

    They're currently in the process of porting Quickbasic to MS enabled Phones.

  43. Ruby makes sense for this... by CatGrep · · Score: 1

    Ruby would probably take a lot less memory space than Perl which would make it a goot fit for these sorts of small devices.

  44. Python is only a matter of time by ultrabot · · Score: 1

    Python will be ported when the phones become more commonplace, common enough that the porting will be done by the open source community itself, not necessarily Nokia.

    I guess choosing Perl for porting is a form of popularity whoring - Perl is more popular that Python, let's port that, even when porting Python would be a more sensible move in technical sense (why would any sane person port such a monolithic awk-sed-workalike to a phone is beyond me). And also in the "open source community" sense; Perl seems pretty much to be a fad that is losing the significance it once has. A has-been, if you will.

    Equally possible is that they are doing the port because some perl fans inside Nokia are willing to do it. I guess I'll have to bring this up the next time I deal with Nokians...

    --
    Save your wrists today - switch to Dvorak
    1. Re:Python is only a matter of time by Anonymous Coward · · Score: 0

      such a monolithic awk-sed-workalike

      Your archaic -- no, reptilian! -- understanding of the world (and, Perl) is... quaint.

      Perhaps you should take a look at where Perl is going before whoring your pet snake on us.

      We of the cloth have learned to value the jewels set in the world by our Creator (i.e., Larry) and revile this serpent in the garden.

  45. Improve the bottom first.. by kjeldahl · · Score: 1

    I believe they are doing this the wrong way. Instead of focus on the "top end", they should try to make it easier for "hardcore" developers to start developing on their phone in the first place. The first step would be a good emulator/simulator which run the same binary code as the phone itself (not some specially compiled "java" stuff). At the same time making sure that the most popular development environments are supported would be a good idea. This would mean supporting the *ixes with development tools. Supporting gcc and the similar set of tools would also make it easier to get started developing for Symbian, as it would be possible for developers to get access to complete development environments for the platform. If they do this, perl, python and most other useful stuff will come virtually "by itself". It would also mean that the most popular toolsets would be available even when Nokia decides their "perl porting team" does not serve its core business.

  46. The reason they don't port Python by CatGrep · · Score: 1

    can you imagine lining up the syntactically-significant indentation as your're typing in Python code on your cell phone?

    1. Re:The reason they don't port Python by Peaker · · Score: 1

      I can

    2. Re:The reason they don't port Python by Anonymous Coward · · Score: 0

      I can

      I don't want to. It's just too painful to think about.

    3. Re:The reason they don't port Python by TeknoHog · · Score: 1
      can you imagine lining up the syntactically-significant indentation as your're typing in Python code on your cell phone?

      No, but I can imagine my phone's screen full of line noise.

      However, can YOU imagine these phones linked up with each other for parallel processing?

      Ba-doom-tcsh!

      --
      Escher was the first MC and Giger invented the HR department.
  47. Re:How is java overkill? And how is this even big? by aftk2 · · Score: 1

    While you can use Perl to write CGI, Perl doesn't really have anything to do with CGI coding. You talk alot about CGI, not Perl, I don't see your point? CGI is totally irrelevant to mobile phones...?

    Yes, it is totally irrelevant. This makes the statement referencing CGI in the body of the Slashdot article (to which the grandparent was obviously replying) all the more mistifying.

    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  48. Re:How is java overkill? And how is this even big? by autopr0n · · Score: 0

    Call me old-fashioned, but I like simple things to be simple. I've written about this before, but it seems like java wonks can't write a hello world with out also generating a "HelloWorld" class, and about 500 classes (not lines of code, but classes to go along with it. I'm getting pretty pissed off about it.

    "public class HWorld{public static void main(String args[]){System.out.println("Hello world");}}"

    Happy? There's a little more text, but no more programming is required then the C version. You obviously need at least one class in a java program, just like you have at least one "anonymous" class in any C or C++ class (the set of global variables and functions). If people are making hundreds of classes for a hello world program, then they are shitty programmers. Switching to Perl will just make their code less readable.

    --
    autopr0n is like, down and stuff.
  49. Re:Pure nonsense - no pure BS by Camel+Pilot · · Score: 3, Interesting

    You should know better than to repy to an AC.

    However let me chime in also, were I work we just released a web based control system that monitors and controls a large remote vessel for the Navy. The system continuously monitors vessel roll, pitch, ballast levels, mooring tensions, intrusion detection, etc.

    This vessel is research platform is unattended for long periods of time. If an alarm condition is encountered the system starts a generator fires up a long haul net connection and sends data and images and dispatches alarm e-mails and phone messages.

    I think we can use the term "mission critical" for this application. It is written with Perl and uses Apache sitting on top of Linux.

    Oh and by the way we got to do this job because of a similar successful system that monitors and provide critical control for a research submersible.

    We have about 15k lines of code libraries that are well written, modular and easy to maintain. Perl's facilities promote packaging your design into small self-contained objects and features like built in (and fast) reg exp, symbolic references, tie, fast (near C like) I/O, etc are fantastic tools that speed development.

  50. ERROR: Program won't work, perl MODULE missing by Anonymous Coward · · Score: 0, Troll

    Perl modules suck, everyone is so damn lazy and won't write their own code anymore and depend on whacky modules located who knows where!
    It sucks!

    1. Re:ERROR: Program won't work, perl MODULE missing by Anonymous Coward · · Score: 0

      One URL... http://www.CPAN.org/

  51. Re:How is java overkill? And how is this even big? by inode_buddha · · Score: 1

    Makes sense to me. I would've thought that something as embedded as a phone would need the smallest possible, but maybe they've advanced a bit while I wasn't looking.

    --
    C|N>K
  52. Take a look a Perl6 ... more powerful than C# by konmaskisin · · Score: 1

    Perl6 will parse and execute code written in a number of other languages and is itself more thoroughly object-oriented (if you want) than anything.

    Java is a mess. It runs reliably on 2 platforms and uses bytecode. Perl does real compilation which is more efficient.

    1. Re:Take a look a Perl6 ... more powerful than C# by makapuf · · Score: 1

      Wow, I cannot have put something wronger in less terms. Do not feed the trolls, but ... I will.

      Perl6 does not do anything (doesn't exist yet), and will execute ... perl6 code. (although its VM, parrot, will supposedly be -and already is- able to execute other language (as the Java VM is, just write a compiler for any strange language to java bytecode, although it han't been made fot that, of course.)

      Java is a mess : I will pass on these plainly false, non proved assertions.

      I agree that Perl is a really compiled language. Compilation to bytecode is a real compilation. If you mean compilation to native code, well, you're just plain wrong.

  53. Re:How is java overkill? And how is this even big? by vt0asta · · Score: 4, Insightful

    "public class HWorld{public static void main(String args[]){System.out.println("Hello world");}}"

    Happy? There's a little more text, but no more programming is required then the C version.


    Happy??? What is there to be happy about that? Let's see what you really have there. You have a file that MUST be named HWorld.java. You have an HWorld class. You have the mandatory main function. Then a function call. At the end of the day, it's a whole lot of typing for a "Hello world" program.

    In this simple example Perl rocks the socks off of Java.

    Let's get a comparison on slow hardware to magnify latencies: celeron 500mhz, 128 megs RAM.

    Recent Java (1.4.1_02)
    javac compilation of HWorld: 10 seconds
    java execution of HWorld: 1 second
    size of Hworld.class: 417 bytes

    Recent Perl (5.8.2)
    perl compilation: .027 seconds
    perl compilation & execution: 0.027
    size of hworld.pl: 39 bytes

    Come again as to what exactly java is better at? It takes more Java to do the same thing in Perl, and no offense, the code you mentioned isn't exactly a joy to read (90% of it is required filler/overhead). Some might call that OVERKILL.

    --
    No.
  54. Perl is FUN by Anonymous Coward · · Score: 0

    " Erk. Learning Perl is less fun than gouging your eyes out with a spoon. ;)"
    -cfmdobbie Java Gaming forums

  55. Cellphone Vibrators by Anonymous Coward · · Score: 0

    They've been around for a while now:

    The Purring Kitty
    DialAnOrgasm Cellphone vibrator

  56. Because no one knows Ruby... by Anonymous Coward · · Score: 0

    Do a cost benifit analysis. Ruby would need to be so much better than C++, Java and now Perl that it would be worth training people to use it. It's not.

  57. Good point by bsd+troll · · Score: 0

    Yes, Java programmers wouldn't want to be inefficient with all that overhead that an IDE imposes.

  58. Re:How is java overkill? And how is this even big? by wolverian · · Score: 0

    And to be exact, you usually run Perl under mod_perl, not via CGI. (When using Apache, anyway.)

    --
    -- wolverian
  59. So what you're telling me is.... by fataugie · · Score: 2, Funny

    Now there'll be 15 different ways to answer my phone?

    Relax...
    it's Funny...Ha..Ha..

    --

    WTF? Over?

  60. Re:How is java overkill? And how is this even big? by Squidbait · · Score: 1

    I still see only 1 class, not the 500 mentioned by the original poster. I'll grant you the speed differences, but the equivalent in C or C++ still has a mandatory main function, and a function call to output the text (but I guess those languages suck too). The filename requirement strikes me as a good thing, as does the fact that the compiled code is considered a class (an actual data type in Java that can be manipulated dynamically) instead of just an executable file, (which you can only do one thing with: execute it).

    Besides which, I'm sure this has a major impact on day to day use of the language. I mean, all those Hello Worlds that you write on a daily basis.

  61. Re:How is java overkill? And how is this even big? by Anonymous Coward · · Score: 0

    At the end of the day, it's a whole lot of typing for a "Hello world" program.

    Yeah, but it's typing you can do with your fucking eyes closed.

    I was previously a Perl developer, and I've since switched to doing Java for work (market forces), but I still prefer Perl by far.

    But this whole "extra typing" argument is bullshit. Who fucking cares? If you don't want to type it, copy and paste it. Also, I usually put a "sub main {" at the top of my perl programs anyway, because otherwise all the main code has to be at the bottom, under any other functions. Does this extra "sub main {" bother me? I type it every time! But it's mindless typing. Who really fucking cares?

    Also, since most people write Java in an IDE, that stock code isn't even typed usually, it's put there automatically.

    So, fuck, find some new reasons to hate Java already. That one is a total red herring.

  62. Re:How is java overkill? And how is this even big? by Anonymous Coward · · Score: 0

    These statistics might mean something if you spent your career writing "Hello World" programs.

    If you want to write a complex multi-user, multi-tier application with database interaction, you wouldn't want to do that in Perl.

  63. Obligatory seinfeld quote by Anonymous Coward · · Score: 0

    Just what cell phones need, more slow-moving wicker programming languages...

  64. Different times by ducomputergeek · · Score: 2, Informative
    PERL is great, but the reason why it became extremely popular for the Internet was you had two choices to make a webpage dynamic back in the day: PERL and C/C++. PERL is an extremely power text parsing tool and I still use it in today over the more common PHP for webpage design for certain things.

    But it would seem like JAVA would be more ideal for cell phones for basic programs, however I am sure we'll see a 1001 nokia address orgainizing scripts here soon.

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    1. Re:Different times by Anonymous Coward · · Score: 0

      My impression is Nokia phones already support Java

  65. Re:How is java overkill? And how is this even big? by Tin+Foil+Hat · · Score: 1

    Not all problems require an OO solution.

    Blasphemer! Burn him! Burn him! Send him to hell!

    Hurry, before he says that a database might not be the solution to everything either!

    --
    No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
  66. Re:How is java overkill? And how is this even big? by Anonymous Coward · · Score: 0

    Lessee ...

    "public class HWorld{public static void main(String args[]){System.out.println("Hello world");}}"

    versus

    print "Hello world\n";

    Which one is simpler, more easily understood, less likely to break?

    "A Class to Bind Them All" does not a good programming language make. Simple tasks become hard, and hard tasks require massive time/investment for moderate return. Then entire premise of this needs to be seriously examined.

    IMHO Java is a solution in search of a problem, not well suited to anything in particular. Introducing complexity and verbosity for complexity and verbosities sake is not an advantage.

  67. Perl on PalmOS? by arodland · · Score: 0, Offtopic

    I know the idea has been tossed around before, and people have said that the platform is just too small... but now PalmOS has better devices, tons more memory, and the ability to work with files, and it pretty much always _has_ had the abiliy to load libraries. Even the internet-connection stuff is downright unified these days. I would think that it would be possible to port a considerable subset of Perl, by this point, that would be able to do most of the things one would want to do on a handheld anyway.

  68. Re:How is java overkill? And how is this even big? by dvdeug · · Score: 1

    Perl is compiled down to an optree, and the the optree is run by the perl runtime (which is essentailly a VM, but the perl folks don't like to call it that). This all happens transparently. An interpeted language is quite a different thing.

    So just like Java, except for the compiling to bytecodes is done at runtime. I don't know how you concieve of interpreted languages, but even some of the old-style BASICs did something similar. Translating each line from text every time it's run isn't done in modern non-toy interpreters, with the exception of very high level languages.

    All the language performance comparisions I've read never take into account that perl programs are compiled just before they are run.

    What? Knowing how Perl works doesn't change its speed at all. `time' really doesn't care.

  69. Just Rumours? by wehe · · Score: 2, Interesting

    I have tried to confirm this posting at the news section of NOKIA. As far as I could see there is no official news about Perl on NOKIAs phones. Perhaps we have to wait for the recently announced mobile Linux cell phones.

  70. Re:How is java overkill? And how is this even big? by vt0asta · · Score: 1

    Extra typing is just the start of it. I also listed a few other reasons. I'll take the Pepsi taste test challenge any day of the week when given Perl.

    Java zealots who sit there and say that Java code is "pertier" than Perl are discussing something that is a matter of opinion and I'm just stating the Java Emporer has no clothes.

    Java easily allows bad/ugly code as well. You can inherit classes ad nauseum to the point of who knows what the fuck a method might be doing when it's called.

    Perl doesn't need an IDE to put "that stock code" their automatically. With a minimal amount of code one can do the required work correctly. Don't know what the fuck $, @, %, m///, s///, tr///, ~, ->, [], {}, or _ mean. Too bad is what I say. Learn the language. It's the equivalent of saying Java is ugly because of all the static, public, private, protected, void, int, string, class nonsense.

    Now if you have to ask my wrists which one they want to type all day without an IDE? It's Perl, hands down (no pun intended).

    --
    No.
  71. Re:How is java overkill? And how is this even big? by vt0asta · · Score: 1

    Not true with regards to the multi-user, database app. But it's definitely true you don't want those startup times for a cell phone. Maybe you could "hide it", waiting for the phone to get a signal when it started. Perl compile time runs circles around Java compile time. Perl and Java probably tie for second (behind C) at runtime.

    --
    No.
  72. The symbian mafia... by Anonymous Coward · · Score: 0

    The symbian mafia are delighted.

  73. Re:How is java overkill? And how is this even big? by smcdow · · Score: 1
    I still see only 1 class, not the 500 ...

    Aww, c'mon. Don't you reconize hyperbole when you see it? The main point is that an OO solution isn't always the correct solution to a problem. In fact, I'd maintain that an OO solution usually isn't the solution to most problems. Don't use OO when it's not called for. Ooops, Java won't let you do that.

    OK, here's a more real-world example: Say you use CVS and the (:pserver:) repository has been moved to another machine, and the old CVS server is no more. You already have a lot of CVS stuff checked out into your local directory. You don't want to have to pull all your source again. An easy solution is to simply re-write all the CVS/Root files in your source trees with the CVSROOT of the new server.

    Write a program that will descend into a specified directory and re-write any CVS/Root files that it finds with the current value of the CVSROOT environment variable. There may be hundreds of these files.

    I can do (and have done) this with 10 lines of perl code. How many would it take in Java?

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  74. Re:How is java overkill? And how is this even big? by smcdow · · Score: 1
    If you want to write a complex multi-user, multi-tier application with database interaction, you wouldn't want to do that in Perl.

    Given that I already have, why wouldn't I?

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  75. Re:How is java overkill? And how is this even big? by smcdow · · Score: 1
    I don't know how you concieve of interpreted languages

    Interpreted languages are intepreted one line at a time, just before the line is run.

    /bin/sh (and bash, etc) scripts don't barf with a syntax error (for instance) until you hit the line with the syntax error. There's no pre-run compilation phase. Different versions of BASIC work differently. Some were intepreted, some were compile-and-go.

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  76. Re:How is java overkill? And how is this even big? by Hast · · Score: 1

    So your argument is basically that since Java isn't the right tool for every possible job it must be useless?

    It's true that there are many situations where full OOP is too much. Eg small scripts. So you don't use Java for small scripts.

    There are also situations were a language which has a lot of built in checks and helps you structure your code is helpful. Then use such a language.

    The best implementation I've ever seen of QuickSort is in Haskell. (And I bet you can do the same in any functional language.) It's two lines and extremely easy to understand. It's in fact easier than any textual explaination I've read. That doesn't mean imperative languages are complete crap and useless.

  77. Re:How is java overkill? And how is this even big? by vidarh · · Score: 1
    If that's your definition of interpreted then hardly no languages are interpreted. Even the BASIC interpreter on the Commodore 64 worked on a pre-parsed version of the program. Almost no interpreters will parse lines over and over again anymore - they may defer parsing until a line is reached, but most reasonably modern interpreters will in that case cache the result. How far the process the code before execution vary a lot, some will just tokenize the lines (C64 Basic for instance), some will generate an AST, some will generate bytecode, and you'll even find the odd interpreter that generate machine code for the statements.

    The key distinguishing factor for an interpreter is that you can feed it unprocessed source code, and have it executed, as opposed to generating an executable in advance. How that source code is treated in order to execute the program is secondary.

  78. Re:How is java overkill? And how is this even big? by Anonymous Coward · · Score: 0

    I am a Java programmer by trade and you are pissing me off. Do you hear!. BTW you are also tweaking my interest because I have this growing uncertainty that there must be a better way. Thanks.

  79. Nokia should use TIBET(tm) 2.0 by Baldrson · · Score: 1

    TIBET(tm) 2.0 is being released with the moral equivalent of CPAN compressed into around 200k of gzipped ECMAScript. It's pure ECMAScript -- and includs client-side tag expansion to active client pages, as well as support for web services, Jabber, etc.

  80. What exactly makes up Perl on a handset ? by Anonymous Coward · · Score: 0
    Has anyone recently done a 'ps' or 'top' on a box running Perl ? The damn thing is HUGE - on my linux box it hovers about the 20Mb of RAM.


    Now if you're going to implement this on a cellular handset, then either it's going to have stacks of RAM, or you;re going to have to drop large chunks out of Perl to fit it in.


    Also, as a Perl programmer of +3 years now, the main attraction I have to the language is the heap of modules available on CPAN. Will I be able to install these modules on my Nokia ? If not, then there's little attraction for me here.


    Don't get me wrong - I love Perl, and I'd like to be able to easily code up stuff for my cellular handset, but I'd sooner work in a clean standard inplementation of Java or .NET than Perl.

  81. Re:How is java overkill? And how is this even big? by JanneM · · Score: 1

    So your argument is basically that since Java isn't the right tool for every possible job it must be useless?

    No, if you look back at the thread, it is all a response to some moron that more or less argues that Java is better than Perl in pretty much all circumstances (including an assertion that Java is faster). His argument is thus rather the fact that Perl is not slower, and may be a better language at least for small apps.

    --
    Trust the Computer. The Computer is your friend.
  82. Okay... by autopr0n · · Score: 1

    import java.io.*;
    public class Cvsr{
    public static void main(String args[]){
    File f = new File(args[0]); //first command line arg is initial folder
    recurse(f,args[1]);} //second command line arg is the new root
    static void recurse(File f, String root){
    if(f == null){return;}
    for(int i = 0; i < f.listFiles().length; i++){
    if(f.getName().equals("CVS")){
    OutputStreamWriter os = new OutputStreamWriter(new FileOutputStream(f.getAbsolutePath() + "/Root"));
    try{
    os.write(root);
    os.close(); }
    catch(Exception e){
    System.out.println("error writing file " + f.getName() + "/Root"); } }
    else{recurse(f,root);}}}}

    //wow. 16 whole lines. 3 from error checking, and 3 from the original import and class defs. Yes, java requires you to deal with errors. The horror. And I don't really see how putting everything inside one class is any different from having a bunch of variables at global scope. It's hardly 'forced object orientation'

    --
    autopr0n is like, down and stuff.
    1. Re:Okay... by vt0asta · · Score: 1

      *snip*
      System.out.println("error writing file " + f.getName() + "/Root"); } }
      else{recurse(f,root);}}}} //wow. 16 whole lines. 3 from error checking, and 3 from the original import and class defs. Yes, java requires you to deal with errors. The horror. And I don't really see how putting everything inside one class is any different from having a bunch of variables at global scope. It's hardly 'forced object orientation'


      Pfft. One line. Done. I even have a backup (.bak) of the previous version of the files.

      perl -pi.bak -e "s/oldhost\.domain\.tld/newhost\.domain\.tld/g" `find . -name Root | grep "CVS\/Root"`

      Maybe this is cheating, but fuck it, who cares. 30 seconds of thought on the command line is about as long as I would want to spend on this. Code reuse? Readability? Who cares? I can do it again in 30 seconds.

      Your Java implementation is slick, but while your still writing that, I've already commited another 10 lines (that's equivalent to ~50 lines of Java code, if it sounds a little light to you) to CVS on the new server.

      --
      No.
    2. Re:Okay... by dvdeug · · Score: 1

      Maybe this is cheating,

      In the context of a cell phone, of course it's cheating. The question is between Perl and Java, not Unix and Java.

    3. Re:Okay... by vt0asta · · Score: 1

      My bad. I didn't know we were going to be altering the directory structure of our multi-directory CVS checkout on our cell phone. I'll just use the cell phone's find utility *smirk*.

      --
      No.
  83. Re:How is java overkill? And how is this even big? by dvdeug · · Score: 1

    Which one is simpler, more easily understood, less likely to break?

    You need to port your code to a system that doesn't have a console, so you have to rewrite the entire I/O system. In Java, Ada, C or C++, you can search for class/package/header name for every case that uses I/O. How do you do that with "print "Hello, world\n";"?

    Furthermore, in any non-trivial program, you're going to have to add some sort of function around your code that accepts args. That reduces the relative simplicity of your program immensely.

  84. New options are good by Cato · · Score: 1

    Having Perl on a mobile phone would be great, because I already know Perl and would like to be able to write scripts. It would also be handy to have a Wiki that runs on the phone (which is really a PDA) and can be used to take notes, syncing to a real web-based Wiki when needed. Perl makes many things easier than Java, at least for me, but it's surely better to have more options rather than fewer... J2ME is clearly a big success on mobile phones, spawning a market for Java app downloads, but scripting is useful too and J2ME is not a scripting tool.

  85. Re:How is java overkill? And how is this even big? by smcdow · · Score: 1
    If that's your definition of interpreted then hardly no languages are interpreted.

    Agreed. All languages are interpreted, especially compiled languages. A CPU is nothing but a machine code intepreter. I think too many people have forgotten that.

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  86. Why not use Javascript/ECMAScript on phones? by Anonymous Coward · · Score: 0

    It's a no brainer - under 500K footprint for the Mozilla Spidermonkey (Javascript) code.
    Perl is way too large to be considered for a phone.
    Lua is another alternative ~ 200K in size.

  87. text processing by goon · · Score: 1

    guess it answers this question (Does Perl Have a Future?) posed by Brian d foy.

    perl has some neat text processing capabilities (munging), regex, unicode and CPAN. I wonder if you can gain access to CPAN from your phone?

    --
    peterrenshaw ~ Another Scrappy Startup
  88. Re:How is java overkill? And how is this even big? by dvdeug · · Score: 1

    You have a file that MUST be named HWorld.java.

    And that's a bad thing? Why would you want to name the file a name unrelated to its contents? In a package/unit/class based programming language, it's entirely reasonable to require that you name file based on the package name, and makes it portable to systems without long filenames, since you can rename the files (compilers for such systems invariably include a name hash or a name mapping table) without editing the files.

    At the end of the day, it's a whole lot of typing for a "Hello world" program.

    Perl is a several megabyte binary. Echo is a few kilobytes. That's a whole lot of binary for a "Hello world" program. If you write "Hello world" programs all day, both echo and awk are superior to Perl.

    (90% of it is required filler/overhead).

    Yes, in a "Hello world" program. That's why useful language comparisons don't use "Hello world" programs.

  89. Re:How is java overkill? And how is this even big? by vt0asta · · Score: 1

    And that's a bad thing? Why would you want to name the file a name unrelated to its contents?

    Sometimes it is a bad thing. Let the programmer decide how the executable should look, without requiring that they make a class just like it. Better yet, let the SysAdmin decide how the program should look. Ever try to execute a symlink of a java.class? Oops! Doesn't work, does it? Java is looking for the wrong class for some reason, even though it's right there.

    And please, Perl requires "module/object/class" files to be the same as the "module/object/class" name. It's not a strange concept to perl coders, just an unnecessary enforcement for small programs or executables. It's yet something else Perl gets right for both cases.

    Perl is a several megabyte binary. Echo is a few kilobytes.

    You're embarassing yourself. echo is not a programming language. Perl is under a megabyte, even less stripped. Java is in the low 20k. Neither of which is an indication of "your" program's final executable file size. However, if we were to code a shell script using either, perl is right on the razor edge of executable size with the echo/awk shell script. Java is still not even close. Let's add something program'ish to the example like a for loop of a hello world. Java add's no less that 60 bytes to the size of the executable object. Perl adds 33 bytes (and that's raw source code).

    Java lives up to none of it's early promise (low object/execute size, seemless portability, robust downloadable applications, java network computers, the end of Microsoft and world hunger). Java has been a further burden for everything else, and festering pool of pundits who believe their code is prettier, faster, smaller, more robust, easier to understand, and just plain more correct because it's OO. People who know, aren't swayed by the marketing and head nodding of Java, and are already using real solutions. You found one of them.

    --
    No.
  90. How long until I can hack custom menus? by SgtChaireBourne · · Score: 1
    Speaking of "only a matter of time", how long until I can hack custom menus? My latest phone is too cluttered with items I don't use or want and the items are all in the wrong order (at least for me). Now that the phones are so complex, it ought to be possible to change the order of menu items or hide/remove unused items.

    Don't get me wrong, it's a nice phone. But, really the only item that needs to be un-deletable would be "reset".

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
    1. Re:How long until I can hack custom menus? by MoonBuggy · · Score: 1

      Many P900 owners (including myself) use a program called Tracker. It shows a 'desktop' with user selectable menus, movable and changable shortcut icons, selectable data (i.e. contacts, calendar for the day, alarm times). It's skinnable too.

      It's integrated such that it opens whenever the flip is down (if you tell it to anyway) meaning that you need never see the long, unordered application list.

  91. Re:How is java overkill? And how is this even big? by corgi · · Score: 1

    This thread is rapidly leaving the world of reason.
    Of course Java is bad at Hello World - it's not designed for such duties. Then again, if your objective is to print "Hello World" on stdout at max speed and convenience, perl is overkill also :-)
    % echo "Hello World"

  92. Re:How is java overkill? And how is this even big? by Hast · · Score: 1

    As I can see it the original post claimed that the possible benefits of Perl would not be very useful on a mobile phone. Developing for mobile phones is still a rather cumbersome process compared to writing small scripts on a PC. The main reason being that you don't code and execute the program on the same platform. (It's not fun coding with a keyboard which has 9 keys and a 2" screen. Although Symbian phones are usually high end.)

    Furthermore the programs you tend to make on a mobile phone are not like small scripts at which eg Perl excel. And you don't have a large amount of text to process in normal mobile phone.

    I just fail to see where Perl's good areas would actually give you a benefit on a mobile phone.

  93. How about Scheme or Forth? by mr_mischief · · Score: 1

    Both Scheme and Forth are powerful languages in small packages. Forth maps well onto embedded hardware, and runs quite efficiently. Both languages are usually, but not always, implemented with an interpreter. Compilation to machine code is sometimes done with both. Both languages are quite expressive, so an application's source can be kept small.

    I'm not against Perl by any means. It's one of my favorite languages, and I use it for projects of many sizes. It's definitely not dead. I'd like to have it on my phone. I'm just not sure how many people will use it.

  94. Are we really helping cell technology here? by Austin+Milbarge · · Score: 2, Insightful

    Ok, so Perl is now another language in which you can use to program a cell phone. I'm not knocking Perl but... now what?

    - My calls still get cut off.
    - "Can you here me now?" is still the most widely spoken phrase among all cell phone conversations.

    It seems people's standards of what is considered an acceptable, workable device is slowly deteriorating since musical ring tones, solitaire and programming languages seem to excite consumers of the 21st century more than getting something to function properly.

  95. OPL by Anonymous Coward · · Score: 0

    What was wrong with OPL? It was dropped in SymbianOS 6 if I remember correctly, but it seemed like an easy language to do simple applications. All Psion applications were developed in OPL if I am not mistaken, so I would prefer support for that again rather than perl.

  96. So what phone do I use instead? by Cardbox · · Score: 1

    I'm about to change phones & It makes sense to go for one that I can develop Java applets on. If Nokia is so useless, what is the best phone to get for development? (preferably one that works as a phone as well).

    There may have been an Ask Slashdot about this recently but I can't find it.

  97. Apparently PHP is also a candidate by jurasource · · Score: 1

    Just noticed on the Register.co.uk that Nokia is apparently evaluating both Perl and PHP for use in Nokia mobile phones, link: http://www.theregister.co.uk/content/64/35040.html