harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [general] platform support
Date Wed, 09 Aug 2006 16:52:30 GMT

Oleg Khaschansky wrote:
> BTW what are the real advantages of having one binary?
> I'd say that having separate binaries is more flexible solution in general:
> 1. Don't care about performance degradation due to runtime checks.
> 2. Easy to port to new platforms by expanding #define's.
> 3. Possibility to link statically against platform-specific libraries.
> 4. Easy to code platform-specific calls without additional code for
> dynamic invocations (calling by name, etc.).
> 5. Possibility of implementing functionality for one particular
> platform (e.g., we have something on XP for free and need to do a hard
> work enabling it on 2K), easy platform specific performance tuning.
> 6. Usage of platform-specific definitions won't break the build on
> other platforms.
> And the cost of having one binary rises with the number of differences
> in the API used. IMO, the best solution is to switch to the separate
> binary when the amount of platform-specific code becomes not neglible,
> say 1% :) Or the workload of this code (is it the right word?) becomes
> reasonably high, resulting in significant performance degradation due
> to runtime checks.

Right - so the key for me here is figuring out these details.  What is
XP specific?  Are there alternatives that are more general, and what is
the penalty.

We have project goals of several dimensions at play here - such as broad
platform support, performance and stability.

So - lets start with this -

what are the aspects of the DRLVM codebase that make it not work on
Win2k, what are the alternatives, and what are the costs to those


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message