Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Keep It Simple, Stupid
 
PerlMonks  

Re: What Perl CAN'T do?

by serf (Chaplain)
on Dec 14, 2005 at 08:58 UTC ( #516557=note: print w/ replies, xml ) Need Help??


in reply to What Perl CAN'T do?

It's not very likely that people are going to one day choose to write boot loaders in Perl...

And it would have to be some desperate and twisted evil foo hackery that would code an entire operating system kernel in perl (that could run stand-alone). Perl device drivers do not sound like a Good IdeaTM.

There are some jobs that are always going to be better written in assembler (or perhaps C)

What is your perl binary written in, and why?


Comment on Re: What Perl CAN'T do?
Re^2: What Perl CAN'T do?
by rinceWind (Monsignor) on Dec 14, 2005 at 11:05 UTC
    And it would have to be some desperate and twisted evil foo hackery that would code an entire operating system kernel in perl (that could run stand-alone). Perl device drivers do not sound like a Good Idea.

    I did once moot the idea of turning Parrot into an operating system. But Parrot ne Perl after all.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re^2: What Perl CAN'T do?
by wazoox (Prior) on Dec 14, 2005 at 16:31 UTC

    AFAIK it's possible to write linux kernel modules in Perl. It's probably a blessing for prototyping...

    Another interesting thing I just discovered today : http://www.genezzo.com/. An "enterprise strength" RDBMS, with clustering and other high-end features, entirely written in Perl.

    And then there's that CAD application prototype written in perl, Puzzle Bobble, and some others... Well, actually it seems anything can be done in Perl after all :)

      It could be written, but I'm not so sure a real kernel module could be run in Perl. Kernel modules run in one of the processor's privileged modes, which are the sole possession of the kernel. Perl-as-she-is runs in user mode and I don't know how to make the kernel do it any differently.

      A "user-level driver" is a different story. Perl has ioctl for that, and it works well. I once wrote pieces of one and I'm very proud of it, even though it's still incomplete (ran into integer width trouble). It's the only time I ever wrote anything with ioctl.

      After Compline,
      Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516557]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (482 votes), past polls