mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bulk88 <bulk88@hotmail.com>
To: Antti Heikkinen <antti.heikkinen.4@gmail.com>
Cc: linux-kernel@vger.kernel.org, advocacy@perl.org, beginners@perl.org
Subject: Re: Propose for LINUX kernel and PERL
Date: Sun, 5 Jan 2014 03:12:17 -0500	[thread overview]
Message-ID: <BLU0-SMTP270AA353C093297F94C7B85DFB40@phx.gbl> (raw)
In-Reply-To: <CAM__s2Bk=Hgzm3-f7N=A032PxUV6N87=42qZ=7kt7u8d_Ny5gg@mail.gmail.com>

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.

  reply	other threads:[~2014-01-05  8:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-05  5:46 Antti Heikkinen
2014-01-05  8:12 ` bulk88 [this message]
2014-01-05 23:43   ` Theodore Ts'o
2014-01-06  1:01     ` Al Viro
2014-01-05  8:50 ` Richard Foley
2014-01-05 17:48 ` Austin S Hemmelgarn
2014-01-06  1:45   ` Jovi Zhangwei
2014-01-05 22:32 ` Steven Rostedt
2014-01-06  1:49   ` Jovi Zhangwei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU0-SMTP270AA353C093297F94C7B85DFB40@phx.gbl \
    --to=bulk88@hotmail.com \
    --cc=advocacy@perl.org \
    --cc=antti.heikkinen.4@gmail.com \
    --cc=beginners@perl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®