[Swift-devel] Swift Performance Data

Ben Clifford benc at hawaga.org.uk
Mon Jun 25 09:07:22 CDT 2007



On Mon, 25 Jun 2007, Mihael Hategan wrote:

> This is similar to code generation vs. abstraction (or interpretation
> vs. compilation). There can be:

its also an issue with where the abstractions happen:

> 1. An api to access the logs in structured ways

needs the API to exist in the language that you want to write analysers 
in.

> 2. A log translator

makes the API into a posix filesystem with text files. still needs a 
per-language parser to parse that format, but that is 'simple' and works 
in a variety of languages. so I'd favour this.

> 3. An adaptor plugged in at the log4j (or whatever logging library)
> level that does the translation dynamically (at the expense of
> performance).

Possibly some components can output stuff into a common format using log4j 
- that wouldn't necessarily be any more dynamic than the existing log4j 
output.

-- 



More information about the Swift-devel mailing list