Nokia to Port Perl to Mobiles 258
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."
Next mobile (Score:2, Interesting)
This is a great idea (Score:4, Interesting)
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.
Comment removed (Score:4, Interesting)
Re:Next mobile (Score:4, Interesting)
It goes without saying that it's bound to have an IRC client
Re:Pure nonsense (Score:4, Interesting)
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).
Language Thrashing (Score:5, Interesting)
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.
Comment removed (Score:3, Interesting)
Re:Now I need an external keyboard (Score:1, Interesting)
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.
Re:Next mobile (Score:2, Interesting)
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.
Re:This is good news (Score:3, Interesting)
> to equal 4, not 22
Hm. In Ruby that'll raise an exception: But of course, you could do: or to get whatever result you want.
Re:Pure nonsense (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?
Thanks
Re:Language Thrashing (Score:3, Interesting)
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 [russellbeattie.com]. This guy is one of the biggest Symbian boosters on the planet, and even he admits the situation is untenable.
Re:Pure nonsense - no pure BS (Score:4, Interesting)
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.
Re:Pure nonsense (Score:3, 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.Re:This is good news (Score:2, Interesting)
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"
'+' 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.
Just Rumours? (Score:2, Interesting)
Re:Pure nonsense (Score:2, Interesting)
Have you given it some thought?
Re:This is a great idea (Score:3, Interesting)
Re:Pure nonsense (Score:3, Interesting)
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..).