* Rewrite Kernel
@ 2004-04-07 12:54 Mohamed Aslan
2004-04-07 12:57 ` viro
` (11 more replies)
0 siblings, 12 replies; 37+ messages in thread
From: Mohamed Aslan @ 2004-04-07 12:54 UTC (permalink / raw)
To: linux-kernel, torvalds
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
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
@ 2004-04-07 12:57 ` viro
2004-04-07 12:59 ` Wichert Akkerman
` (10 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: viro @ 2004-04-07 12:57 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel, torvalds
On Wed, Apr 07, 2004 at 08:54:06PM +0800, Mohamed Aslan wrote:
> 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
That you are utterly unoriginal wanker, what else?
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
2004-04-07 12:57 ` viro
@ 2004-04-07 12:59 ` Wichert Akkerman
2004-04-07 13:08 ` John Bradford
` (9 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: Wichert Akkerman @ 2004-04-07 12:59 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
Previously Mohamed Aslan wrote:
> 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
Great idea. By the time you'll be done you will realize that 40 years
have passed, 386 has been obsolete for a few decades and the end result
is not really that much faster.
Wichert.
--
Wichert Akkerman <wichert@wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Rewrite Kernel
@ 2004-04-07 13:05 Mohamed Aslan
2004-04-07 17:27 ` Robin Rosenberg
0 siblings, 1 reply; 37+ messages in thread
From: Mohamed Aslan @ 2004-04-07 13:05 UTC (permalink / raw)
To: linux-kernel
what we have to lose , we can try it
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
2004-04-07 12:57 ` viro
2004-04-07 12:59 ` Wichert Akkerman
@ 2004-04-07 13:08 ` John Bradford
2004-04-07 13:13 ` Sean Neakums
` (8 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: John Bradford @ 2004-04-07 13:08 UTC (permalink / raw)
To: Mohamed Aslan, linux-kernel, torvalds
Quote from "Mohamed Aslan" <mkernel@linuxmail.org>:
> 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
Don't bother. Spending the time doing something else would almost certainly
be more productive overall.
IFF you are skilled enough to seriously contemplate doing it, why not start
thinking about a completely new operating system design instead? There is a
lot which I don't think will ever be done with GNU/Linux - why not plan for
the day we throw it all away and start again?
John.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (2 preceding siblings ...)
2004-04-07 13:08 ` John Bradford
@ 2004-04-07 13:13 ` Sean Neakums
2004-04-07 13:46 ` Dumitru Ciobarcianu
2004-04-07 13:58 ` Richard B. Johnson
2004-04-07 13:22 ` Zwane Mwaikambo
` (7 subsequent siblings)
11 siblings, 2 replies; 37+ messages in thread
From: Sean Neakums @ 2004-04-07 13:13 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
"Mohamed Aslan" <mkernel@linuxmail.org> writes:
> 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
Why not just write a program to translate 'C' code into assembly?
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (3 preceding siblings ...)
2004-04-07 13:13 ` Sean Neakums
@ 2004-04-07 13:22 ` Zwane Mwaikambo
2004-04-07 13:56 ` Richard B. Johnson
` (6 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: Zwane Mwaikambo @ 2004-04-07 13:22 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: Linux Kernel
On Wed, 7 Apr 2004, Mohamed Aslan wrote:
> 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
You're 6 days late, nice try though.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 13:13 ` Sean Neakums
@ 2004-04-07 13:46 ` Dumitru Ciobarcianu
2004-04-07 13:58 ` Richard B. Johnson
1 sibling, 0 replies; 37+ messages in thread
From: Dumitru Ciobarcianu @ 2004-04-07 13:46 UTC (permalink / raw)
To: Sean Neakums; +Cc: Mohamed Aslan, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
On Wed, 2004-04-07 at 14:13 +0100, Sean Neakums wrote:
> Why not just write a program to translate 'C' code into assembly?
You mean like a .... compiler ? :)
--
Cioby
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (4 preceding siblings ...)
2004-04-07 13:22 ` Zwane Mwaikambo
@ 2004-04-07 13:56 ` Richard B. Johnson
2004-04-07 14:02 ` Erik Mouw
` (5 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: Richard B. Johnson @ 2004-04-07 13:56 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel, torvalds
On Wed, 7 Apr 2004, Mohamed Aslan wrote:
> 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
> --
I have a version of libc that has a lot of code written in assembly.
All of the Linux interface, all the string stuff, etc. You can have a
copy, if you want. That is a start.
This will be a big project. There's a lot more to the Linux kernel than
just creating some I/O capability. Linux has to emulate Unix so it's
a lot more work than rolling your own 32-bit OS with a file-system.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 13:13 ` Sean Neakums
2004-04-07 13:46 ` Dumitru Ciobarcianu
@ 2004-04-07 13:58 ` Richard B. Johnson
2004-04-07 14:36 ` Nick Piggin
2004-04-07 18:58 ` Valdis.Kletnieks
1 sibling, 2 replies; 37+ messages in thread
From: Richard B. Johnson @ 2004-04-07 13:58 UTC (permalink / raw)
To: Sean Neakums; +Cc: Mohamed Aslan, linux-kernel
On Wed, 7 Apr 2004, Sean Neakums wrote:
> "Mohamed Aslan" <mkernel@linuxmail.org> writes:
>
> > 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
>
> Why not just write a program to translate 'C' code into assembly?
>
It's called a compiler and we already have several versions, none
optimum.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (5 preceding siblings ...)
2004-04-07 13:56 ` Richard B. Johnson
@ 2004-04-07 14:02 ` Erik Mouw
2004-04-07 14:04 ` Trent Lloyd
` (4 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: Erik Mouw @ 2004-04-07 14:02 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel, torvalds
On Wed, Apr 07, 2004 at 08:54:06PM +0800, Mohamed Aslan wrote:
> 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
That you should read the FAQ: http://www.tux.org/lkml/#s15-2
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (6 preceding siblings ...)
2004-04-07 14:02 ` Erik Mouw
@ 2004-04-07 14:04 ` Trent Lloyd
2004-04-07 14:27 ` Redeeman
` (3 subsequent siblings)
11 siblings, 0 replies; 37+ messages in thread
From: Trent Lloyd @ 2004-04-07 14:04 UTC (permalink / raw)
To: linux-kernel; +Cc: mkernel
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@bur.st>
Sixlabs.org (http://www.sixlabs.org/)
Bur.st Networking Inc. (http://www.bur.st/)
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (7 preceding siblings ...)
2004-04-07 14:04 ` Trent Lloyd
@ 2004-04-07 14:27 ` Redeeman
2004-04-07 14:55 ` John Bradford
2004-04-07 14:57 ` Rob Couto
` (2 subsequent siblings)
11 siblings, 1 reply; 37+ messages in thread
From: Redeeman @ 2004-04-07 14:27 UTC (permalink / raw)
To: LKML Mailinglist
On Wed, 2004-04-07 at 14:54, Mohamed Aslan wrote:
> 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
this would be insanity. i would rather look at optimizing some of the
code from the kernel.
or, as mentioned before, write a new OS.
all OS:s today has some problems, and unix isnt ideal. neither is the
other ones, like windows or macos, which is based on BSD.
i believe that a team of coders, on full time to on some years, create a
new operating system, that could easily compete with unix's and windows.
but, ofcourse, this would require all development to stop on linux(if
the linux developers should do it).
and that isnt possible. so therefore development goes on to just do the
best thing possible with what we got today.
--
Regards, Redeeman
redeeman@metanurb.dk
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 13:58 ` Richard B. Johnson
@ 2004-04-07 14:36 ` Nick Piggin
2004-04-07 18:58 ` Valdis.Kletnieks
1 sibling, 0 replies; 37+ messages in thread
From: Nick Piggin @ 2004-04-07 14:36 UTC (permalink / raw)
To: root; +Cc: Sean Neakums, Mohamed Aslan, linux-kernel
Richard B. Johnson wrote:
> On Wed, 7 Apr 2004, Sean Neakums wrote:
>
>
>>"Mohamed Aslan" <mkernel@linuxmail.org> writes:
>>
>>
>>>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
>>
>>Why not just write a program to translate 'C' code into assembly?
>>
>
>
> It's called a compiler and we already have several versions, none
> optimum.
>
Compilers probably will never be optimum. One has to choose
either to live with that or start "rewriting the kernel from
scratch for intel 386+" and so forth.
We all know what is appropriate on this list, so can the
interested parties - not me - please take this thread off
this list?
(directed at nobody in particular)
Thanks
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 14:27 ` Redeeman
@ 2004-04-07 14:55 ` John Bradford
2004-04-07 15:05 ` Lars Marowsky-Bree
0 siblings, 1 reply; 37+ messages in thread
From: John Bradford @ 2004-04-07 14:55 UTC (permalink / raw)
To: Redeeman, LKML Mailinglist
> but, ofcourse, this would require all development to stop on linux(if
> the linux developers should do it).
> and that isnt possible. so therefore development goes on to just do the
> best thing possible with what we got today.
Not really - there are free, open source OS projects other than Linux in
fairly advanced stages technically, (I.E. they do more than just boot, and
can run real applications).
However, to take my attention away from Linux, an OS project would probably
have to be fairly revolutionary, and represent something that I honestly
believed could not ever be practically achieved with the Linux model.
The only obstacle that I can see to creating something better than the Linux
kernel, is that nobody is doing it yet.
John.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (8 preceding siblings ...)
2004-04-07 14:27 ` Redeeman
@ 2004-04-07 14:57 ` Rob Couto
2004-04-13 14:03 ` Eric W. Biederman
2004-04-07 16:00 ` Brian Pawlowski
2004-04-10 16:59 ` J. Ryan Earl
11 siblings, 1 reply; 37+ messages in thread
From: Rob Couto @ 2004-04-07 14:57 UTC (permalink / raw)
To: linux-kernel
On Wednesday 07 April 2004 08:54 am, you wrote:
> 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
maybe you'd have fun with the LinuxBIOS crowd
www.linuxbios.org
--
Rob Couto [rpc@cafe4111.org]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 14:55 ` John Bradford
@ 2004-04-07 15:05 ` Lars Marowsky-Bree
2004-04-07 15:17 ` John Bradford
` (4 more replies)
0 siblings, 5 replies; 37+ messages in thread
From: Lars Marowsky-Bree @ 2004-04-07 15:05 UTC (permalink / raw)
To: LKML Mailinglist
Guys, gals,
you are all missing the point.
It is obvious that what we really need is a hand-optimized in-kernel
core LISP machine written in >i386 assembly, then we need to port the
rest of the kernel to run as LISP bytecode on top of that in ring1 (in
particular the security policies).
Of course, important privileged user-space such as glibc should be
ported to this highly efficient non-recursive LISP machine too for
efficiency and run on ring 2 for speed and security.
As a further benefit, this could provide us with a stable kernel binary
ABI via the LISP interfaces to which we could dynamically translate the
existing kernel modules on load, for which nvidia and the binary-only
Inifiband stack seem perfect candidates to secure industry buyin.
Oh, and of course this project needs to be managed via BitKeeper.
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
--
High Availability & Clustering \ ever tried. ever failed. no matter.
SUSE Labs | try again. fail again. fail better.
Research & Development, SUSE LINUX AG \ -- Samuel Beckett
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 15:05 ` Lars Marowsky-Bree
@ 2004-04-07 15:17 ` John Bradford
2004-04-07 15:20 ` Emmanuel Fleury
` (3 subsequent siblings)
4 siblings, 0 replies; 37+ messages in thread
From: John Bradford @ 2004-04-07 15:17 UTC (permalink / raw)
To: Lars Marowsky-Bree, LKML Mailinglist
> It is obvious that what we really need is a hand-optimized in-kernel
> core LISP machine written in >i386 assembly, then we need to port the
> rest of the kernel to run as LISP bytecode on top of that in ring1 (in
> particular the security policies).
>
> Of course, important privileged user-space such as glibc should be
> ported to this highly efficient non-recursive LISP machine too for
> efficiency and run on ring 2 for speed and security.
Errr, no, I don't think so :-).
John.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 15:05 ` Lars Marowsky-Bree
2004-04-07 15:17 ` John Bradford
@ 2004-04-07 15:20 ` Emmanuel Fleury
2004-04-07 15:21 ` John Bradford
` (2 subsequent siblings)
4 siblings, 0 replies; 37+ messages in thread
From: Emmanuel Fleury @ 2004-04-07 15:20 UTC (permalink / raw)
To: LKML Mailinglist
Naaah, too obvious, it will never get through ! :)
Regards
--
Emmanuel
I'm not young enough to know everything.
-- Oscar Wilde
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 15:05 ` Lars Marowsky-Bree
2004-04-07 15:17 ` John Bradford
2004-04-07 15:20 ` Emmanuel Fleury
@ 2004-04-07 15:21 ` John Bradford
2004-04-07 17:21 ` Redeeman
2004-04-07 18:12 ` Aaron Smith
4 siblings, 0 replies; 37+ messages in thread
From: John Bradford @ 2004-04-07 15:21 UTC (permalink / raw)
To: Lars Marowsky-Bree, LKML Mailinglist
> It is obvious that what we really need is a hand-optimized in-kernel
> core LISP machine written in >i386 assembly, then we need to port the
> rest of the kernel to run as LISP bytecode on top of that in ring1 (in
> particular the security policies).
..or just pass init=/bin/emacs to your bootloader :-).
John.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (9 preceding siblings ...)
2004-04-07 14:57 ` Rob Couto
@ 2004-04-07 16:00 ` Brian Pawlowski
2004-04-10 16:59 ` J. Ryan Earl
11 siblings, 0 replies; 37+ messages in thread
From: Brian Pawlowski @ 2004-04-07 16:00 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel, torvalds
I vote trolling.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 15:05 ` Lars Marowsky-Bree
` (2 preceding siblings ...)
2004-04-07 15:21 ` John Bradford
@ 2004-04-07 17:21 ` Redeeman
2004-04-07 18:47 ` Paulo Marques
2004-04-07 18:12 ` Aaron Smith
4 siblings, 1 reply; 37+ messages in thread
From: Redeeman @ 2004-04-07 17:21 UTC (permalink / raw)
To: LKML Mailinglist
On Wed, 2004-04-07 at 17:05, Lars Marowsky-Bree wrote:
> Guys, gals,
>
> you are all missing the point.
>
> It is obvious that what we really need is a hand-optimized in-kernel
> core LISP machine written in >i386 assembly, then we need to port the
> rest of the kernel to run as LISP bytecode on top of that in ring1 (in
> particular the security policies).
>
> Of course, important privileged user-space such as glibc should be
> ported to this highly efficient non-recursive LISP machine too for
> efficiency and run on ring 2 for speed and security.
>
> As a further benefit, this could provide us with a stable kernel binary
> ABI via the LISP interfaces to which we could dynamically translate the
> existing kernel modules on load, for which nvidia and the binary-only
> Inifiband stack seem perfect candidates to secure industry buyin.
this is a good idea, but i doubt that anyone would dare to do that :D
>
> Oh, and of course this project needs to be managed via BitKeeper.
>
>
> Sincerely,
> Lars Marowsky-Brée <lmb@suse.de>
--
Regards, Redeeman
redeeman@metanurb.dk
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 13:05 Mohamed Aslan
@ 2004-04-07 17:27 ` Robin Rosenberg
0 siblings, 0 replies; 37+ messages in thread
From: Robin Rosenberg @ 2004-04-07 17:27 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
On Wednesday 07 April 2004 15:05, Mohamed Aslan wrote:
> what we have to lose
Nothing important:
- Productivity
- Reliability
- Portability
- and maybe even speed (writing tons of efficient asm code is hard).
> we can try it
It's a free world. Go ahead.
-- robin
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 15:05 ` Lars Marowsky-Bree
` (3 preceding siblings ...)
2004-04-07 17:21 ` Redeeman
@ 2004-04-07 18:12 ` Aaron Smith
2004-04-07 19:58 ` Måns Rullgård
4 siblings, 1 reply; 37+ messages in thread
From: Aaron Smith @ 2004-04-07 18:12 UTC (permalink / raw)
To: linux-kernel
Lars Marowsky-Bree wrote:
>Guys, gals,
>
>you are all missing the point.
>
>It is obvious that what we really need is a hand-optimized in-kernel
>core LISP machine written in >i386 assembly, then we need to port the
>rest of the kernel to run as LISP bytecode on top of that in ring1 (in
>particular the security policies).
>
>Of course, important privileged user-space such as glibc should be
>ported to this highly efficient non-recursive LISP machine too for
>efficiency and run on ring 2 for speed and security.
>
>
What you are talking about is a LISP machine micro-kernel in Ring0 which
sort of defeats the whole point of Linux being monolithic kernel. Also
couldn't we just run HURD, or for that matter EMACS ;-), as a kernel. I,
personally have come around to Linus point of view on the whole
micro-kernel thing so I don't see much of a advantage to this, as there
are other micro kernel projects ( HURD, Darwin/*BSD?).
-Aaron
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 17:21 ` Redeeman
@ 2004-04-07 18:47 ` Paulo Marques
0 siblings, 0 replies; 37+ messages in thread
From: Paulo Marques @ 2004-04-07 18:47 UTC (permalink / raw)
To: LKML Mailinglist
It is getting really tough to distinguish sarcasm from real comments on this
thread :)
(if there is such a thing as "real comments" to a proposal like this)
--
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 13:58 ` Richard B. Johnson
2004-04-07 14:36 ` Nick Piggin
@ 2004-04-07 18:58 ` Valdis.Kletnieks
1 sibling, 0 replies; 37+ messages in thread
From: Valdis.Kletnieks @ 2004-04-07 18:58 UTC (permalink / raw)
To: root; +Cc: Sean Neakums, Mohamed Aslan, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On Wed, 07 Apr 2004 09:58:49 EDT, "Richard B. Johnson" said:
> It's called a compiler and we already have several versions, none
> optimum.
However, I do believe that all the currently supported compilers are able
to beat out any programmers over the long run - we can use asm tricks
to hand-tune very small sections of hot-spot code, but nobody can sustain
that level of hand-optimization for 10K or 20K lines of code.
Anybody thinking of this is almost surely better off spending their time
coming up with new and better algorithms.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 18:12 ` Aaron Smith
@ 2004-04-07 19:58 ` Måns Rullgård
2004-04-07 23:03 ` David B. Stevens
0 siblings, 1 reply; 37+ messages in thread
From: Måns Rullgård @ 2004-04-07 19:58 UTC (permalink / raw)
To: linux-kernel
Aaron Smith <aws4y@virginia.edu> writes:
> Lars Marowsky-Bree wrote:
>
>>Guys, gals,
>>
>>you are all missing the point.
>>
>>It is obvious that what we really need is a hand-optimized in-kernel
>>core LISP machine written in >i386 assembly, then we need to port the
>>rest of the kernel to run as LISP bytecode on top of that in ring1 (in
>>particular the security policies).
>>
>>Of course, important privileged user-space such as glibc should be
>>ported to this highly efficient non-recursive LISP machine too for
>>efficiency and run on ring 2 for speed and security.
>>
>>
> What you are talking about is a LISP machine micro-kernel in Ring0
> which sort of defeats the whole point of Linux being monolithic
> kernel. Also couldn't we just run HURD, or for that matter EMACS ;-),
Yes, I use Emacs as my operating system. It uses Linux as a device
driver.
--
Måns Rullgård
mru@kth.se
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 19:58 ` Måns Rullgård
@ 2004-04-07 23:03 ` David B. Stevens
2004-04-08 10:34 ` David Weinehall
0 siblings, 1 reply; 37+ messages in thread
From: David B. Stevens @ 2004-04-07 23:03 UTC (permalink / raw)
To: linux-kernel
Will you please use a more modern programming language such as Autocoder
or maybe COBOL.
There have already been several operating systems written in Assembly.
They are also rather large in terms of LOC.
Cheers,
Dave
PS:Sorry I couldn't resist ;) , late night little sleep :( , plenty of
beer:).
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 23:03 ` David B. Stevens
@ 2004-04-08 10:34 ` David Weinehall
0 siblings, 0 replies; 37+ messages in thread
From: David Weinehall @ 2004-04-08 10:34 UTC (permalink / raw)
To: David B. Stevens; +Cc: linux-kernel
On Wed, Apr 07, 2004 at 07:03:41PM -0400, David B. Stevens wrote:
> Will you please use a more modern programming language such as Autocoder
> or maybe COBOL.
>
> There have already been several operating systems written in Assembly.
>
> They are also rather large in terms of LOC.
>
> Cheers,
> Dave
>
> PS:Sorry I couldn't resist ;) , late night little sleep :( , plenty of
> beer:).
I suggest n*Funge.
Regards: David Weinehall
--
/) David Weinehall <tao@acc.umu.se> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
` (10 preceding siblings ...)
2004-04-07 16:00 ` Brian Pawlowski
@ 2004-04-10 16:59 ` J. Ryan Earl
2004-04-10 17:21 ` Denis Vlasenko
11 siblings, 1 reply; 37+ messages in thread
From: J. Ryan Earl @ 2004-04-10 16:59 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
Mohamed Aslan wrote:
>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
>
>
I doubt you would be capable of generating assembly that would be any
faster than gcc, and you would inherit all the accidental difficulties
that come with engineering software at a lower-level.
-ryan
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-10 16:59 ` J. Ryan Earl
@ 2004-04-10 17:21 ` Denis Vlasenko
2004-04-10 19:57 ` J. Ryan Earl
0 siblings, 1 reply; 37+ messages in thread
From: Denis Vlasenko @ 2004-04-10 17:21 UTC (permalink / raw)
To: J. Ryan Earl, Mohamed Aslan; +Cc: linux-kernel
On Saturday 10 April 2004 19:59, J. Ryan Earl wrote:
> Mohamed Aslan wrote:
> >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
>
> I doubt you would be capable of generating assembly that would be any
> faster than gcc, and you would inherit all the accidental difficulties
> that come with engineering software at a lower-level.
No, writing 'better than gcc' assembly is easy, gcc is far from stellar
in this regard. But it's painfully slow and non-portable.
--
vda
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-10 17:21 ` Denis Vlasenko
@ 2004-04-10 19:57 ` J. Ryan Earl
2004-04-11 16:58 ` Denis Vlasenko
0 siblings, 1 reply; 37+ messages in thread
From: J. Ryan Earl @ 2004-04-10 19:57 UTC (permalink / raw)
To: Denis Vlasenko; +Cc: Mohamed Aslan, linux-kernel
Denis Vlasenko wrote:
>>I doubt you would be capable of generating assembly that would be any
>>faster than gcc, and you would inherit all the accidental difficulties
>>that come with engineering software at a lower-level.
>>
>>
>
>No, writing 'better than gcc' assembly is easy, gcc is far from stellar
>in this regard. But it's painfully slow and non-portable.
>
>
How can "painfully slow and non-portable" be better? You mean faster?
Doesn't change the fact that I doubt he could write faster assembly. By
the time he got done doing it in assembly, gcc 5 would probably be out
generating much faster binaries, not to mention new major stable kernel
revisions.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-10 19:57 ` J. Ryan Earl
@ 2004-04-11 16:58 ` Denis Vlasenko
0 siblings, 0 replies; 37+ messages in thread
From: Denis Vlasenko @ 2004-04-11 16:58 UTC (permalink / raw)
To: J. Ryan Earl; +Cc: Mohamed Aslan, linux-kernel
On Saturday 10 April 2004 22:57, J. Ryan Earl wrote:
> Denis Vlasenko wrote:
> >>I doubt you would be capable of generating assembly that would be any
> >>faster than gcc, and you would inherit all the accidental difficulties
> >>that come with engineering software at a lower-level.
> >
> >No, writing 'better than gcc' assembly is easy, gcc is far from stellar
> >in this regard. But it's painfully slow and non-portable.
>
> How can "painfully slow and non-portable" be better? You mean faster?
*writing* asm code is painfully slow and code is not portable.
That's why no sane person will write kernel in asm.
--
vda
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-07 14:57 ` Rob Couto
@ 2004-04-13 14:03 ` Eric W. Biederman
0 siblings, 0 replies; 37+ messages in thread
From: Eric W. Biederman @ 2004-04-13 14:03 UTC (permalink / raw)
To: rpc; +Cc: linux-kernel
Rob Couto <rpc@cafe4111.org> writes:
> On Wednesday 07 April 2004 08:54 am, you wrote:
> > 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
>
> maybe you'd have fun with the LinuxBIOS crowd
> www.linuxbios.org
Likely just the opposite. We have written a C compiler that does not
implicitly use memory. Having had to reinvent the wheel a feel times
because of where we are working, it is clear that tools are your friend.
There is no shame in rewriting something when what exists does not work
for you and it matters. If your rewrite happens to be significantly faster
than the broken version that is just a plus. :)
Eric
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
@ 2004-04-24 13:24 Mohamed Aslan
2004-04-24 15:10 ` billy rose
2004-04-24 15:45 ` David B. Stevens
0 siblings, 2 replies; 37+ messages in thread
From: Mohamed Aslan @ 2004-04-24 13:24 UTC (permalink / raw)
To: linux-kernel
No I Could Create Assembly Code Faster Than Gcc
Gcc 2.95 was good but 3 isn't as 2,it's not my words linus recommended compiling kernel with 2.95
don't forget something assemblying requires less time than compiling
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-24 13:24 Mohamed Aslan
@ 2004-04-24 15:10 ` billy rose
2004-04-24 15:45 ` David B. Stevens
1 sibling, 0 replies; 37+ messages in thread
From: billy rose @ 2004-04-24 15:10 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
Have you ever written a complete program in assembler? I don't mean a
small utility, I mean a full application. If you started today
transcribing the kernel sources for 2.6.x, by the time you finished (not
including debugging) the standard would no doubt be kernel 4.x or
beyond. Your assembler version would be vastly outdated, lack features,
and the methodology would be far behind what will be common at that
time. - Just my opinion -
Mohamed Aslan wrote:
> No I Could Create Assembly Code Faster Than Gcc
> Gcc 2.95 was good but 3 isn't as 2,it's not my words linus recommended compiling kernel with 2.95
> don't forget something assemblying requires less time than compiling
=====
Billy
"There's some milk in the fridge that's about to go bad...
And there it goes..." --Bobby
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: Rewrite Kernel
2004-04-24 13:24 Mohamed Aslan
2004-04-24 15:10 ` billy rose
@ 2004-04-24 15:45 ` David B. Stevens
1 sibling, 0 replies; 37+ messages in thread
From: David B. Stevens @ 2004-04-24 15:45 UTC (permalink / raw)
To: Mohamed Aslan; +Cc: linux-kernel
Mohamed Aslan wrote:
> No I Could Create Assembly Code Faster Than Gcc
> Gcc 2.95 was good but 3 isn't as 2,it's not my words linus recommended compiling kernel with 2.95
> don't forget something assemblying requires less time than compiling
Well then do it and show us.
Cheers,
Dave
PS:The elitist said that about FORTRAN as well and were _WRONG_
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2004-04-24 15:45 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 12:54 Rewrite Kernel Mohamed Aslan
2004-04-07 12:57 ` viro
2004-04-07 12:59 ` Wichert Akkerman
2004-04-07 13:08 ` John Bradford
2004-04-07 13:13 ` Sean Neakums
2004-04-07 13:46 ` Dumitru Ciobarcianu
2004-04-07 13:58 ` Richard B. Johnson
2004-04-07 14:36 ` Nick Piggin
2004-04-07 18:58 ` Valdis.Kletnieks
2004-04-07 13:22 ` Zwane Mwaikambo
2004-04-07 13:56 ` Richard B. Johnson
2004-04-07 14:02 ` Erik Mouw
2004-04-07 14:04 ` Trent Lloyd
2004-04-07 14:27 ` Redeeman
2004-04-07 14:55 ` John Bradford
2004-04-07 15:05 ` Lars Marowsky-Bree
2004-04-07 15:17 ` John Bradford
2004-04-07 15:20 ` Emmanuel Fleury
2004-04-07 15:21 ` John Bradford
2004-04-07 17:21 ` Redeeman
2004-04-07 18:47 ` Paulo Marques
2004-04-07 18:12 ` Aaron Smith
2004-04-07 19:58 ` Måns Rullgård
2004-04-07 23:03 ` David B. Stevens
2004-04-08 10:34 ` David Weinehall
2004-04-07 14:57 ` Rob Couto
2004-04-13 14:03 ` Eric W. Biederman
2004-04-07 16:00 ` Brian Pawlowski
2004-04-10 16:59 ` J. Ryan Earl
2004-04-10 17:21 ` Denis Vlasenko
2004-04-10 19:57 ` J. Ryan Earl
2004-04-11 16:58 ` Denis Vlasenko
-- strict thread matches above, loose matches on Subject: below --
2004-04-07 13:05 Mohamed Aslan
2004-04-07 17:27 ` Robin Rosenberg
2004-04-24 13:24 Mohamed Aslan
2004-04-24 15:10 ` billy rose
2004-04-24 15:45 ` David B. Stevens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).