On Tuesday 05 December 2006 08:58, Gunawan Wibisono wrote:
>
> tulisan bagus..
> thx infonya...
>
> maaf agak OOT, alasan linux dibuat dengan c lalu apa? apakah jawaban sama
> seperti anda?

daripada ngalor ngidul
use google sedikit ya

http://www.tux.org/lkml/#s15-1

Why is the Linux kernel written in C/assembly? 
(ADB) For many reasons, some practical, others theoretical. The practical 
reasons first: when Linus began writing Linux, what he had available was a 
386, Minix (a minimal OS designed by Andrew Tanenbaum for OS design teaching 
purposes) and gcc. The theoretical reasons: some small parts of any OS kernel 
will always be written in assembly language, because they are too dependent 
on the hardware to be coded in C; for example, CPU and virtual memory setup. 
Or because we are dealing with very short routines that must be implemented 
in the fastest possible code e.g. the stubs for the "top half" interrupt 
handlers. WRT C, OS designers (since Thompson and Ritchie first wrote UNIX) 
have traditionally used C to implement as many OS kernel routines as 
possible. In this sense C can be considered the "canonical" language for OS 
kernel implementation, and particularly for UNIX variants.




-- 
I am human and I need to be loved
Just like everybody else does

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke