rad's Avatar


14 Mar, 2012 06:37 PM

Seeing as recent WebKit revisions have made their way to PPC binary, has anyone attempted to compile V8 on Leopard or Tiger using gcc-4.7?

I can't think of a bigger boost in the arm for PowerPC.

  1. Support Staff 1 Posted by Cameron Kaiser on 14 Mar, 2012 07:43 PM

    Cameron Kaiser's Avatar

    The problem with V8 isn't the compiler (that is, gcc), it's the backend required to make V8 work. Unlike SpiderMonkey or JavaScriptCore, both of which have an interpreter fallback for situations when the JIT is non-productive or unavailable, V8 is strictly a compiler and has no interpreter mode at all. To get V8 working on PowerPC requires someone to write a PowerPC backend essentially from scratch, which is possible, but non-trivial. There have been aborted efforts before but none that I am aware came to any fruition.

    It won't be me that does the porting; I have philosophical objections to both Chromium and WebKit. There is a later WebKit port for Leopard PPC only, but it uses JavaScriptCore, not V8 (although it uses some components of the TenFourFox JIT for regular expression compilation, which helps):

    If someone actually gets such a thing off the ground, I would be happy to publicize it, but it won't happen unless someone actually does the work and the work is considerable.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac