[lkml]   [2003]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: inventing the wheel?
    Richard B. Johnson wrote:
    > The problem with 'correctness" is in the definition
    > of 'correct'. In many cases there are hundreds of
    > methods that can be used to implement a particular
    > software algorithm.

    Of course. Your example would probably be too low-level for
    most such checkers, and might better be handled by run-time
    checks (e.g. through something like valgrind).

    Also, a template check wouldn't have to cover all equivalent
    coding variants. E.g. if the template just allows one kind
    of loop, it's probably always acceptable to change code that
    uses an equivalent alternative.

    Furthermore, if someone figures out a way for doing things
    more efficiently, it should be easier to update drivers that
    conform to a well-known status quo ante.

    > One can, however, create an analysis engine that determines
    > compliance with certain rules and, or, certain templates.

    Yes, that's exactly what I mean.

    - Werner

    / Werner Almesberger, Buenos Aires, Argentina /
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:35    [W:0.032 / U:32.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site