[haiku-development] Re: R1/a4 initial planning

  • From: Sean Collins <smc.collins@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 21 Feb 2012 20:25:12 +0000

Stephan Aßmus wrote:
On 20.02.2012 02:00, Ingo Weinhold wrote:
To sum that up: 1. The 8 byte alignment currently used in Haiku is fine, but the heuristics will break for x86_64. 2. It is probably worth looking into the __alignof__() behavior of our gccs (i.e. why gcc 2 returns 4 for long long and why gcc 4 for Haiku and Linux 32 bit differ for double).

It may be worth checking this out in relation with enabling JIT compilation in JavaScriptCore. To turn it on is a simple define in the platform header (forgot the name maybe Platform.h ... it's the one that everything includes). JavaScriptCore employs some really weird trickery that breaks if alignment doesn't meet certain asumptions. But in any case, the improved POSIX signal stuff may also suddenly make the JIT compilation stuff work in JavaScriptCore. Unfortunately, I have no time to explore this.

Best regards,
-Stephan


Would this allow for porting the google v8 javascript engine ? becuase that could bring a very real performance improvement to webpositive.

Sean

Other related posts: