Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: What Perl CAN'T do?

by wazoox (Prior)
on Dec 14, 2005 at 16:31 UTC ( #516684=note: print w/replies, xml ) Need Help??


in reply to Re: What Perl CAN'T do?
in thread What Perl CAN'T do?

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 :)

Replies are listed 'Best First'.
Re^3: What Perl CAN'T do?
by Zaxo (Archbishop) on Dec 14, 2005 at 22:14 UTC

    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://516684]
help
Chatterbox?
[Lady_Aleena]: File::Find doesn't have a simple sub wanted example, like get the name of the file.
[Discipulus]: there is also find2perl with your perl installation
[Discipulus]: and in the wanted sub you just calculate the duretion and add it the total, stop
[shmem]: sub wanted { push @files, $File::Find::name if $File::Find::name =~/\.mp3$/ }

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-04-23 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.