News for hackers. Stuff that matters.
Re:Facebook is the first to jump into ARM servers by alecco on Monday August 23, 2010 @07:58PM (#1628474)
Why? [I don't know much about it] Facebook's HipHop JIT transforms PHP to C++ and then they compile it with g++ (or at least that's what they say.) GCC supports ARM already.
Re:Facebook is the first to jump into ARM servers by viraptor on Monday August 23, 2010 @08:28PM (#1628530)
For some reason HipHop messed with direct memory locations enough to work only on 64b to start with. If they couldn't make it work cleanly on 32b, ARM is probably also going to be affected.
Re:Facebook is the first to jump into ARM servers by Aegean on Tuesday August 24, 2010 @08:12AM (#1629534)
Who says ARM is going to be 32 bits? Rumors say they're going for 64 bits especially for servers. They will need to surpass 4GB limit on >=8 cores per chip.
Re:Facebook is the first to jump into ARM servers by viraptor on Tuesday August 24, 2010 @09:08AM (#1629639)
I didn't mean the 32/64 as the only difference. They targeted an architecture - it was i86_64/amd64. That affects memory layouts, pointer lengths, available instruction sets, etc. Changing from amd64 -> armel for example will also affect some of those properties.

If you write clean ANSI C code, you're basically compatible by default. If they failed to run on i386, that means they did something special that assumed a different architecture. In that case you're likely to hit the same problem whether they use arm, alpha, infineons, intels, or whatever else.

Re:Facebook is the first to jump into ARM servers by vetinari on Tuesday August 24, 2010 @10:09AM (#1629807)
ARM is going for 40-bit extension, to allow addressing 1 TB of RAM.

Source: http://www.eetimes.com/electronics-news/4206387/ARM7-40bit-v...

Re:Facebook is the first to jump into ARM servers by kingkilr on Monday August 23, 2010 @08:36PM (#1628543)
HipHop is not a JIT, it is an AOT compiler.
Re:Facebook is the first to jump into ARM servers by coderdude on Tuesday August 24, 2010 @12:20AM (#1628942)
While we're correcting people, HipHop isn't an AOT compiler, it is a source code transformer[1].

[1] http://developers.facebook.com/blog/post/358

Re:Facebook is the first to jump into ARM servers by wlievens on Tuesday August 24, 2010 @07:55AM (#1629519)
If your definition of Compiler is broad enough, there's no difference.
Re:Facebook is the first to jump into ARM servers by kingkilr on Wednesday August 25, 2010 @02:32AM (#1632183)
That doesn't even require a broad definition. From Aho, Sethi, and Ullman: "a compiler is a program that reads a program written in one language - the source language - and translates it into an equivalent program in another language - the target language."
Re:Facebook is the first to jump into ARM servers by wlievens on Wednesday August 25, 2010 @03:54AM (#1632281)
Except that if you interpret that literally, pretty much any program is a compiler. I can translate a text file in the "ASCII language" to the "UTF-8 language" with Notepad++, for instance.
Re:Facebook is the first to jump into ARM servers by kingkilr on Thursday August 26, 2010 @12:53AM (#1635109)
I don't remember my models of computation class so well, but wouldn't ASCII and UTF-8 be alphabets, not languages?