Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Build-in function library (Score 1) 831

Just FYI...

One of the goals of Parrot is to give any language running on it the capability of accessing functionality in libraries written in any other language. For example, a program written in Python could use CPAN modules written in Perl and libraries written in Lisp, presumably keeping a "native" python interface!

Now, as far as I'm concerned, such a thing is practically magic, but I do recognize that it has been done before, and the Parrot hackers are some very smart folks.

Comment Re:"functional programming languages can beat C" (Score 1) 502

True, I ignored the original point - generally C|C++ is going to be faster than LISP, if the algorithms necessary can be expressed in similar terms in each language. However, when it comes to having to constantly change the code to support constantly changing requirements, a dynamic language like LISP has a great advantage over C++.

That said, the code doing the searching for Orbitz uses algorithms and architectural techniques that would take so much more "scaffolding" in C++ that it would not only hamper maintenance of the code, it would likely hamper innovation and invention of new algorithms and functionality.

LISP is certainly not popular, and in many cases, not the best or most practical tool for the job... but it is alive and well, and will continue to be available to those who can/need to use it for the foreseeable future.

Comment Re:"functional programming languages can beat C" (Score 1) 502

Perl became popular because it is very good at what it was designed to do - munging text with incredible flexibility and impressive speed - and it was the best available tool for the job when that ability was in high demand: the birth of the web.

Now, you can argue syntax ugliness all you want, I consider that subjective. However, when you begin to truly grok all of Perl's abilities, it's hard *not* to appreciate a fundamental beauty to the language.

I dare say, would you declare the German language a "monstrosity" because to American ears Deutsche has too many harsh-sounding words? Tell that to a German and he'll gladly smack you upside the head with a book of Goethe's poetry or perhaps the works of Wagner or Strauss!

Go read "Higher Order Perl" by Mark Jason Dominus and learn how to leverage Perl's features using the same techniques that LISP and ML programmers take for granted...

As a native speaker of Perl, I actually consider sigils and braces quite natural and beautiful.

Comment Re:"functional programming languages can beat C" (Score 2, Informative) 502

Maybe this is overly pedantic, but I've seen it mentioned several times in various posts that "Orbitz is powered by LISP"

That's very true, but only one component of their back-end is actually written in LISP - the lowest-fare search engine.

Also, Orbitz did not write that component, called QPX - it was actually written by a company called ITA Software, who licenses it to dozens of other air-fare cross-shopping services.

Despite the other issues with Orbitz, QPX is an excellent example of what can be accomplished by highly skilled LISP programmers - an exceedingly fast, flexible, and successful search algorithm that they have been able to maintain as the industry leader since it's invention over twelve years ago.

As far as your assessment of "Orbitz is ridiculously slow for the amount of data it processes" I beg to differ. Having worked for ITA in the past, let me tell you the amount of data searched through is staggering, especially when you consider that that data set is updated continuously, in nearly-real-time (I could claim real-time, but I like being accurate)

Combine that data source with the fact that the queries sent can have dozens (and in some cases hundreds) of parameters, and various results can be filtered and modified arbitrarily based on rules imposed by the airlines and their sales partners (eg. Orbitz' negotiated fares for Airline X vs Airline Y, per flight/date/time/passengers/booking class etc etc etc) *and* that without a highly sophisticated approach to finding the best solutions the result set can have *billions* of possibilities....

Yeah... Orbitz' fare searching is pretty damned fast, considering.
Programming

Scripts and Scaling In Online Games 61

CowboyRobot writes "Jim Waldo of Sun Microsystems has written an article titled Scaling In Games & Virtual Worlds, saying that they 'should be perfect vehicles to show the performance gains possible with multicore chips and groups of cooperating servers. Games and virtual worlds are embarrassingly parallel, in that most of what goes on in them is independent of the other things that are happening. Of the hundreds of thousands of players who are active in World of Warcraft at any one time, only a very small number will be interacting with any particular player.' A group of researchers at Cornell wrote a related piece about improving game development and performance through better scripting."
Perl

Journal Journal: WWW::Mechanize and the values of testing

One of the great things about going to LISA is that you get the proceedings and/or training for everything on CD or dead tree. (Well, nearly everything...I've heard that some people didn't or couldn't make their training materials available (though I've not been motivated to confirm this yet), and some of the talks didn't do this (Tom, where are your slides?)). There is some wonderful stuff to be found in them...

User Journal

Journal Journal: Reccomend a Free/Cheap CAD program for home design

I recently purchased a home, and have no blueprints for it. I would like to be able to create a model of the house and systems on my computer so that I can easily reference it. I'd like to map out electrical circuits and fixtures, plumbing, doors, walls, etc. Being able to associate appropriate specs to a fixture (e.g. watts consumed, flow rate, etc) would be great.

Debian

Debian Delayed by Disenchanted Developers 329

Torus Kas writes "Debian GNU/Linux 4.0 was supposed to be due by December 4 and development is currently frozen. Apparently the saga was triggered by disenchantment towards funding of $6,000 for each of the 2 release managers to work full-time in order to speed up the development. Many unpaid developers simply put off Debian work to work on something else."
Wii

Journal Journal: A Wii update... 6

Man that name is a godsend to punsters!

My wife called the big N about our broken remote. They diagnosed it as the tilt controller being out of whack and suggested percussive maintenance to correct it!
"Tap it again, that might help"

And, in case that doesn't work, they will be sending us a new one in the mail. Free. Postage paid to return the bad one.

And that good people, is what I call Customer Service!

Communications

Submission + - Siemens reaches 107 Gbps data transfer record

prostoalex writes: "Reuters is reporting on Siemens engineers reaching 107 Gbps data transmission record over a fiberoptic cable, and expects the technology to be on the market within a few years: "The test, 2.5 times faster than a previous maximum transmission performance per channel, was done in cooperation with Germany's Micram Microelectronic, the Fraunhofer Institute for Telecommunications and Eindhoven Technical University of the Netherlands.""

Slashdot Top Deals

Software production is assumed to be a line function, but it is run like a staff function. -- Paul Licker

Working...