Discussion:
[9fans] Source Code.
(too old to reply)
Isaac Cortés
2012-04-27 20:15:25 UTC
Permalink
How do I download the full source code of the kernel of Plan 9? I hope you
forgiveme this kind of ask, but I'm just a noob^999.
--
*“But JavaSchools also fail to train the brains of kids to be adept, agile,
and flexible enough to do good software design (and I don’t mean OO
“design”, where you spend countless hours rewriting your code to rejiggle
your object hierarchy, or you fret about faux “problems” like has-a vs.
is-a). You need training to think of things at multiple levels of
abstraction simultaneously, and that kind of thinking is exactly what you
need to design great software architecture.”



*
Lyndon Nerenberg
2012-04-27 20:25:03 UTC
Permalink
Download the installation image from the website, gunzip, mount the resulting ISO image, then look in <mountpoint>/sys/src.
John Floren
2012-04-27 20:28:47 UTC
Permalink
Post by Lyndon Nerenberg
Download the installation image from the website, gunzip, mount the resulting ISO image, then look in <mountpoint>/sys/src.
Easier option: grab
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2, untar it, look
under plan9/sys/src/9 for the kernel source.

john
John Floren
2012-04-27 20:45:47 UTC
Permalink
Good luck! The kernel is pretty readable and small enough to really
sit down and know what all the files are doing. Be warned that some of
the C is going to be in Plan 9's particular idiom, but in general you
can learn good practices from it. If you want to learn about writing
Plan 9 programs in general, check out the stuff under /sys/src/cmd.

John
Thanks a lot  to everyone, I'm planing (my english sucks too) to learn about
O.S. and C with this project, 'cause I'm kind of Hipster Student
Informatic's
Post by John Floren
Post by Lyndon Nerenberg
Download the installation image from the website, gunzip, mount the
resulting ISO image, then look in <mountpoint>/sys/src.
Easier option: grab
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2, untar it, look
under plan9/sys/src/9 for the kernel source.
john
--
“But JavaSchools also fail to train the brains of kids to be adept, agile,
and flexible enough to do good software design (and I don’t mean OO
“design”, where you spend countless hours rewriting your code to rejiggle
your object hierarchy, or you fret about faux “problems” like has-a vs.
is-a). You need training to think of things at multiple levels of
abstraction simultaneously, and that kind of thinking is exactly what you
need to design great software architecture.”
Isaac Cortés
2012-04-27 20:52:33 UTC
Permalink
Thanks again, I'm not very smart but a persistent person, so maybe I'll last
thousand years trying until I'll master C and the source code but I will.
Post by John Floren
Good luck! The kernel is pretty readable and small enough to really
sit down and know what all the files are doing. Be warned that some of
the C is going to be in Plan 9's particular idiom, but in general you
can learn good practices from it. If you want to learn about writing
Plan 9 programs in general, check out the stuff under /sys/src/cmd.
John
Post by Isaac Cortés
Thanks a lot to everyone, I'm planing (my english sucks too) to learn
about
Post by Isaac Cortés
O.S. and C with this project, 'cause I'm kind of Hipster Student
Informatic's
Post by John Floren
Post by Lyndon Nerenberg
Download the installation image from the website, gunzip, mount the
resulting ISO image, then look in <mountpoint>/sys/src.
Easier option: grab
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2, untar it, look
under plan9/sys/src/9 for the kernel source.
john
--
“But JavaSchools also fail to train the brains of kids to be adept,
agile,
Post by Isaac Cortés
and flexible enough to do good software design (and I don’t mean OO
“design”, where you spend countless hours rewriting your code to rejiggle
your object hierarchy, or you fret about faux “problems” like has-a vs.
is-a). You need training to think of things at multiple levels of
abstraction simultaneously, and that kind of thinking is exactly what you
need to design great software architecture.”
--
*“But JavaSchools also fail to train the brains of kids to be adept, agile,
and flexible enough to do good software design (and I don’t mean OO
“design”, where you spend countless hours rewriting your code to rejiggle
your object hierarchy, or you fret about faux “problems” like has-a vs.
is-a). You need training to think of things at multiple levels of
abstraction simultaneously, and that kind of thinking is exactly what you
need to design great software architecture.”



*
Jon Dugan
2012-04-28 01:20:21 UTC
Permalink
Post by Isaac Cortés
Thanks again, I'm not very smart but a persistent person, so maybe I'll last
thousand years trying until I'll master C and the source code but I will.
You may find Nemo's books about Plan 9 useful as well.

http://lsub.org/who/nemo/papers.html

Specifically:

Notes on the Plan 9 3rd edition Kernel source
Introduction to Operating Systems Abstractions Using Plan 9 from Bell Labs

Have fun!

Jon

Isaac Cortés
2012-04-27 20:42:12 UTC
Permalink
Thanks a lot to everyone, I'm planing (my english sucks too) to learn
about O.S. and C with this project, 'cause I'm kind of Hipster Student
Informatic's
Post by Lyndon Nerenberg
Post by Lyndon Nerenberg
Download the installation image from the website, gunzip, mount the
resulting ISO image, then look in <mountpoint>/sys/src.
Easier option: grab
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2, untar it, look
under plan9/sys/src/9 for the kernel source.
john
--
*“But JavaSchools also fail to train the brains of kids to be adept, agile,
and flexible enough to do good software design (and I don’t mean OO
“design”, where you spend countless hours rewriting your code to rejiggle
your object hierarchy, or you fret about faux “problems” like has-a vs.
is-a). You need training to think of things at multiple levels of
abstraction simultaneously, and that kind of thinking is exactly what you
need to design great software architecture.”



*
andrey mirtchovski
2012-04-27 20:28:22 UTC
Permalink
http://plan9.bell-labs.com/sources/plan9/sys/src/
Loading...