Re: Propose for LINUX kernel and PERL

From: bulk88
Date: Sun Jan 05 2014 - 03:19:38 EST


Antti Heikkinen wrote:
To Dear Perl and LINUX kernel development community:

My propose to you at your list: is possible to write operate system in
PERL? I am student in university, looked for interest project to
conclude my study on LINUX kernel.

This semester, I take beginner PERL course and learn power of
procedural language. I automate many daily task with use of it. Very
impressive ability to make many thing work, interpret or can compile
also.

Also about LINUX, I talk to much fellow students and professors, and
take a operate system course use FreeBSD and LINUX. FreeBSD okay, but
they say LINUX kernel is too big and bloat, run poor with too many
developer. And too much quick decision from leader with ego is too big
and bloat too, kekeke.


I agree, Linux kernel is hacks on hacks with no top to bottom architecture. Linux had the BKL longer than its competitors. Linux was never whiteboarded before the project began. FreeBSD is more organized and uniform. There is also NT Kernel whose API was speced out before the kernel was written.

LINUX kernel can perform more good if written in not C and C++ but
Perl? Just certain portion of LINUX kernel to rewrite? For instant,
schedule or support of multithread? If so, should use Perl5 or Perl6,
focus to x86 or x86-64? Can you want to join me this my project? But
to hear your expertise.

Since Perl is Turing complete you can run the Linux kernel inside Perl. Although Perl doesn't run in kernel mode ATM, I don't see why I can't be ported to be a LKM, maybe with RPC to glibc. You could also have Perl running as user mode driver or some kind daemon with calls from a kernel driver to the user space daemon Perl. You can use Perl version 5 or 6.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/