Slashdot Mirror


A 3D Animation of Kernel Source Development

fixit! writes "Have a look at this cool 3D animation of the Linux kernel source. This is how a source browser should look like!"

10 of 191 comments (clear)

  1. Errors by BenjaminHall · · Score: 3, Interesting

    It would be nice to see major errors identified and then fixed in the movies as well.

  2. Re:Rather Interesting Concept by njdj · · Score: 4, Interesting

    I think that since Linux is very clean, streamlined code

    Perhaps you didn't actually read the page referred to in the story?:
    ---start quote---
    The following code demonstrates exciting
    features of GNU C used in Linux:

    int a, b;
    typedef int t, u;
    void f1() { a * b; }
    void f2() { t * u; }
    void f3() { t * b; }
    void f4() { int t; t * b; }
    void f5(t u, unsigned t) {
    switch ( t ) {
    case 0: if ( u )
    default: return;
    }
    }
    ---end quote---

    This kind of code is CRAP. I don't know who wrote it, I don't care if he/she is a genius kernel guru. Hard to read, hard to maintain.

  3. Uses? by shivianzealot · · Score: 3, Interesting

    A very specific niche comment/query...

    I'm not a programmer (BASIC doesn't count, right? :p ), but I have observed the development of a few open source projects and have seen the effects of code being introduced by programmers who have valuable contributions, but interact poorly with the rest of the source (usually novices). So, veterens, could this type of map, applied to the project in question, drive home the point and help mold the newbie into better practices, or are we better off oohing and ahhhing now and moving on to the next article?

    --

    Bored with karma, be a fan/freak

  4. Re:Sorry, OT by Anonymous Coward · · Score: 1, Interesting

    Here you go:

    Exactly what you need on the GNU website

    A good rule of thumb for finding information with GNU software is:
    1. Check the man page
    2. Check the info page (ESPECIALLY with GNU software... tar doesn't even have an official manpage)
    3. Check gnu.org
    4. Check the source.
    5. IRC? (especially the freenode IRC network channels, such as #debian.

    Please don't ask Slashdot!

    --3141

  5. visualizing complex data by fiiz · · Score: 5, Interesting

    Yes, that is interesting indeed.

    I think in general there may be interesting research to be done in the area of mapping/visualization of complex data: for instance this project of mapping the internet.

    Does this really help in general? Are there many cases where such visual maps would help understanding of complex data?
    Think for example, it may be interesting to produce such a map of everything2, which is a sort of hyperlinked online encyclopedia, to see where the clustering is.

    In astrophysics, 3D maps of the universe have been produced for some time, and the human-eye understanding of large-scale structure was at first more direct than statistical analysis--for instance, people would see the famous filaments, but stats wouldn't.

    A post above quoted the possible use in spotting "usefulness" of code contributions, by looking at their interdependencies for example.

    --

    yours ever, fz.
  6. Screensaver by krishy · · Score: 2, Interesting

    Can someone make a screensaver outta that?. That looks cool though it doesnt make anmy sense to me

  7. watching the bits on an Atari ST by Anonymous Coward · · Score: 4, Interesting

    My first computer was an Atari ST. The MWC (Mark Williams C) compiler that I bought with it came with an amazing little C demo program. It must have been 15 lines of C code tops. The Atari ST has an 680x0 cpu chip, and a linear memory model. A chunk of that memory was set aside for video, and a separate chip pumped that video memory out to the monitor. With the C demo program, you could change the base video memory pointer to point anywhere in memory, including low memory, where the operating system (TOS/GEM) resided. By doing this, you could actually WATCH the operating system in action, because each pixel on the video monitor represented one bit! You could see counters counting up, flag bits flip-flopping on and off, chunks of bits being read in from the floppy disk, etc. It is, by far, the coolest thing I've ever seen done with a computer. =) Wish I could figure out how to do it on my linux box.

  8. Use GCC? by hughk · · Score: 3, Interesting
    GCC is a compiler. It shoulldn't be a probllem to construct a local cross reference from the symbol information that it produces, especially if debugging is enabled. The advantage is that GCC would be used in the same way that it is to compile the kernel.

    I can't remember if GCC assigns attributes to symbols so it is possible to keep track of code references but to forget the data references, but that would mean chasing through the debug symbol format.

    --
    See my journal, I write things there
  9. 3D Programming by garyebickford · · Score: 2, Interesting

    I have whined for a long time that programming is the last engineering discipline that isn't automated. We still essentially write prose.

    Back at CMU in the late 1980's I played around with SPICE (an electrical CAD package), attempting to build a graphical programming environment for Pascal. Eventually I hypothesized a 3D model, with axes for data & types, control flow and I/O. Using SPICE I defined software IC's and was able to connect them together. Then the output could be parsed into Pascal source. I never took it to the point of anything working, although I did get some pretty nice looking graphical 'programs' that woulda worked - for sure!!

    IMHO there is still a strong potential for something like this - perhaps the advent of the "Web Services" model (which separates applications from interfaces) will encourage design of at least large scale systems using methods similar to those used for designing chemical plants (for example).

    --
    It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
  10. Interesting project... by Ahotasu · · Score: 2, Interesting

    This is really a neat project. Makes me think of all the times when our managers are breathing fire down our necks and demanding to know what we've been doing all the time.

    Take this project, make it generic for any (C, for now, then extending to other languages) code, add in CVS/RCS/[insert your CM tool here] hooks, then slap a 20-30 MB MPEG on the boss' desktop when he goes off. ::)

    Seriously, though, I think this could be a useful tool in evaluating complexity (risk) in a large project or just for managment of the software development in general. "Geez--looks like this corner is really dynamic. What's going on there?" or "Wow. This group over here hasn't been touched in ages. Are we falling behind here?" The CM tool hooks are the most blazingly obvious needs in my mind for such a project to work--it's the best way to get a time history of the development.

    --
    --- Standard disclaimer applies.