Slashdot Mirror


Perlbox: A Unix Desktop Written in Perl

cascadefx writes "It appears that this programmer has created an Open Sourced Unix Desktop, PerlBox, written in Perl and Tk. I found this posted in response to an article on Perl Monks asking if Perl was obsessed with CGI?. Apparently not. Check it out, it looks pretty interesting." I wonder how fast it runs?

11 of 264 comments (clear)

  1. I wish... by dmiller · · Score: 2, Interesting

    I wish that PERL had a GUI abstraction layer, similar to DBI for databases. Perl would kick Java's ass as a cross-platform app development language if it did.

    Maybe it does and I am just ignorant :)

    1. Re:I wish... by si1k · · Score: 3, Interesting

      Well, maybe Perl/Tk (which this Perl desktop thing uses) isn't exactly what you're talking about, but it does provide a cross-platform abstracted GUI toolkit for Perl. It's actually pretty decent. It also makes sense to piggy-back on technology (like Tk) which has been around for a while. The technology is more tried-and-true, and there are at least some Perl programmers who have tried Tcl-Tk and so it's not a huge jump.

      Now, if someone wanted to write a real abstraction layer, maybe one that would let you use either Perl/Tk, Perl/GTK+, or something else... that coule be interesting :-)

    2. Re:I wish... by FortKnox · · Score: 4, Interesting

      Perl is spelled P-e-r-l not P-E-R-L, this is the first sign you don't know what you are talking about.

      I simply copied the parent post's capitalization (not spelling). I've coded large products in both Perl and Java.
      BTW - its attitudes like this that make non-technical people afraid to learn technical areas. You sound like a 1337 d00d in #linux-newbies that shouts "RTMFM!" at every question. I don't mind if you argue, but insulting is a sign of elitism, which I didn't think existed in UIDs as low as yours.

      Perl is no more or less hard to understand or maintain than any other language if you code correctly. Sure I can make Perl look like line noise, but I can also make it easy to read and maintain.

      I wasn't refering to the language itself (or how clean the code is) but the OO of Java vs. the scripting of Perl. Sure, there is OO in perl, but its slapped on and unelegant.

      Its arguable, but most coders I know would find a well written, large scale, high level OO application easier to maintain and update than a large scale, powerful scripted application.

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
  2. funding by psyclone · · Score: 5, Interesting
    I think it's cool that this group received part of a research grant to fund this project. An important thing to note is that software experiments like this are a science in a way -- they're looking at a problem and trying to solve it in a new way, and publishing their results.

    more open source projects could easily benefit from a funding model like this. There seems to be research money floating around universities (mine included) that could easily go to open source projects; it just may not be the project you want to work on, but hey, getting paid isn't so bad.

  3. Also of note.. by zapfie · · Score: 5, Interesting

    If you like stuff like PerlBox, you might also want to check out ROX-filer while you're at it. ROX-Filer an excellent file manager written in Python, and also offers a session manager, a wallpaper utility, a clock, etc, all written in Python. I'd recommend checking both PerlBox and ROX-Filer out.

    --
    slashdot!=valid HTML
    1. Re:Also of note.. by RapaNui · · Score: 2, Interesting

      Actually, IIRC, ROX-filer is entirely C. It _does_ provide some sort of hooks for writing extensions or desktop panel applets in Python, though.

  4. Re:The rest of the OS in Perl by MisterBlister · · Score: 2, Interesting
    untrue..but the earliest versions of Microsoft Commerce Server WERE written in Python! Microsoft bought the technology from a startup called eShop, and they used Python for the product (Greg Stein headed that place up). The first few releases of MS's version were also in Python but wrapped into binary-looking DLLs.

    They later rewrote it in C++ though.

  5. Re:Why tk? by RapaNui · · Score: 3, Interesting

    Actually, the _default_ Tk look and feel sucks rocks.

    However -- the nice thing about Tk is that the widgets are
    _extremely_ customisable. A bit of tweaking of the widget options and you can make it look pretty much like anything.
    (Obviously within reason -- you can't change widget shapes, ferinstance).

    All my Tk apps, for example, have the JFC/Swing 'Metal' look 'n feel, for a bit of consistency across Java and Tcl/Tk apps.

  6. Re:perl is teh sux0rz by d_i_r_t_y · · Score: 2, Interesting
    if you develop some actual coding discipline, you can write very maintanable code in perl.

    hell yes! i am the tech lead on a perl project which hit 100K lines of code and doesn't look like stopping anywhere before 150K. the design is *very heavily* OO (one could directly translate the object model into java no sweat) and follows the MVC paradigm to the letter (there is only a single 100 line script which drives everything).

    perl can be every bit as maintainable as any other language *as long as* one is/enforces discipline. i think at times perl can be more maintainable than, say, java, simply though its expressiveness and brevity. i mean, java can be so frickin verbose sometimes...

    which leads me to the conclusion that people who truly think that perl is inherently unmaintainable must be crap programmers.

  7. "Hello, Navi." "Hello, Lain." by Stephen+VanDahm · · Score: 2, Interesting

    I'm waiting for LainOS to take off. While I suspect that these folks have bitten off more than they can chew, if it works, it will be awesome. Basically, they're modifying FreeBSD 4.5 to resemble the computers in Serial Experiments: Lain. They're planning to have built-in voice recognition.

    Steve

  8. Re:Perl binaries: PerlApp by Starky · · Score: 2, Interesting
    I've used ActiveState's PerlApp to build binaries. It works on Linux, Solarix, HP-UX, and Windows.


    And I can say from experience that it works incredibly well. I've compiled a script which used 20,000 lines of code amongst the various modules I'd built, not including Perl/Tk and the many other CPAN modules I used, and out popped a nice binary which worked just as if run from Perl.


    I develop on Linux, but I can use it to generate binaries for Windows users. It opens up a whole new audience for me. I develop quickly on the platform I am efficient on, and all the Windows users know is that they get something with a nice GUI that works as advertised and which was developed in half the time.


    Needless to say, I recommend it highly.

    --
    -- My choice of computing platform is a symbol of my individuality and belief in personal freedom.