Re: Rewrite Kernel

From: Trent Lloyd
Date: Wed Apr 07 2004 - 09:08:41 EST


Hi Mohamed,

I am not sure if your intentions are real, but I am assuming they are.

Writing the linux kernel all in assembler would be almost impossible,
it has taken 10 years to get the kernel to the point it is in C, going
that all in ASM would be a) pointless and b) time consuming, your work
would be outdated before its done

Also, the technical know-how for such a task would be large, the kernel
is a collection of the knowledge, intelligence and time of hundreds of
people, I do not beleive one person could know or hold or the know how
for that (while some who do alot of hacking, linus, alan cox, etc may
know *alot*, i still don't beleive even they could do such a task)

However, if you are serious about something like this and have the
knowhow, time and will, you have a few options.

a) You could hack the kernel in C, including optimizing what is there,
making better algorithms of systems for doing things
b) You could convert some parts of the kernel to ASM for the i386 arch
specific stuff, if it can be as functional and have a usefull gain.
c) You could work on the GCC compiler for generating better assembly
code from the C output, I'm sure there are many areas this could be
improved.
d) You could work on libc, in a similar fassion to the above,
optimizing, fixing, improving and adding to it.

Best of luck with your adventures.

Cheers,
Trent
Bur.st

> i wanna to rewrite a version of linux kernel from scratch in assembly for intel 386+ fo speed and a libc also in assembly for speed
> what do u think guys

--
Trent "Lathiat" Lloyd <lathiat@xxxxxx>

Sixlabs.org (http://www.sixlabs.org/)
Bur.st Networking Inc. (http://www.bur.st/)
-
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/