Slashdot Mirror


PowerBook Performance for Java Development?

brasten wants to get to the core of this issue: "I'm in the market for a new development notebook. I would like to jump into the Apple world and pick up a PowerBook. However, compiling very large Java applications of course takes some time, and so raw processing speed is a factor. I have been unable to find solid data on how fast a 1.33GHz PowerBook runs against the modern x86-based notebooks. Does anybody have any information that could help me compare?"

7 of 255 comments (clear)

  1. Java and misc. development on Mac by Anonymous Coward · · Score: 5, Interesting

    Once you Mac, you'll never go back.

    Neither my PowerBook G4 17", nor 12" offer break-neck speeds. My tests from mid last year concluded it can't out perform a generic PC laptop at the same price point. However it's a platform developed by smart developers for smart developers. Coming from either UN*X or Windoze, after a play, you're gonna oh-so-want one.

    PS... You'll want all the RAM you can afford.

  2. More than speed to consider by NSObject · · Score: 5, Interesting

    We developed a fairly large (~80,000 lines of executable code) WebObjects application. Our dev machines are all 15" PowerBooks in the 800 to 1GHz range.

    Compile performance is fine, but more importantly, it's always improving. It's 50% faster that it was a year ago on the same machine. Xcode's predictive compiling only works with GCC for now, but if there's a way to stick it on javac or jikes, Apple will do it.

    Apple likes Java. They have a vested interest in it via WebObjects - which is the back end for iTunes and the whole Apple online store. 100% Java. They're also getting into JBoss and other Java related open source projects.

    The development tools are really nice, and you *will* get hooked on the PowerBook. We've got two 2.8 GHz Windows boxen available. Nobody uses 'em... except SETI.

  3. My Experience by MarkX · · Score: 4, Interesting

    I did a similar transition two years ago. I went from a 1GHz PIII Dell Laptop running Red Hat something or other, probably 7.X, to a 450 MHz G4 PowerMac. The Power Mac was slower there is no question, but being able to have a Unix box with a native version of MS Office, and a complete Java environment was the clincher for me.

    My development environment at the time:

    • Terminal.app with Vim
    • JBoss 2.4
    • Ant
    • Enhydra 3.1
    • MySQL w/ InnoDB

    I did extensive testing at the Apple store near me to make sure everything would work before making the move. They let me use a machine for two weekends solid. I would show up Saturday morning with my Dell laptop. I would take their top machine off the network and cross over cable it to the Dell, then copy all of my stuff over to the Power Mac. What I found after extensive testing is that the G4 running Java is basically MHz for MHz equivalent to a PIII.

    Now, I was very happy switching to the Power Mac. Since then I have acquired a new Power Mac DP 1GHz, and an iBook 700, and both of them handle my environment very well. Of course the Power Mac is faster, but the iBook is acceptable. I would never go back to an Intel based laptop for Java development. Apple laptops are simply first rate, OS X stays out of the way, and the JVM is rock solid. I would guess that my next Apple laptop will be a PowerBook simply for the ability to pack it full of RAM.

    So, get the PowerBook and come on in the waters fine,

    Mark

  4. Forget about the speed by splattertrousers · · Score: 4, Interesting
    Nobody buys a Mac because it is faster or cheaper than a PC. Apple says that Macs are faster. Others dispute that. Others dispute the disputers.

    It doesn't matter. You buy a Mac if you like Macs. I personally enjoy using Mac OS X far more than using Windows. Everyone I know who uses Macs love Macs. Nobody I know who uses PCs love PCs, they just tolerate them. But you need to decide for yourself.

    Now, you asked about Java performance on the Mac. It's fine. I recently switched from doing Java development on a PC to a Mac, and the Mac was faster. It was a faster machine (a dual 1.25 GHz G4 vs a single 1.6 GHz Athlon), so what this proves is that the Java performance on the Mac isn't totally horrible (otherwise the faster machine would have been slower at Java).

    One thing to consider is that Apple, not Sun, is in charge of making the JVM. Apple is always a bit behind. They just recently released 1.4.2, for example.

    And I would disagree with the people who recommend XCode. It's a nice IDE, but if you're doing pure Java, then you're better off using a smart IDE like IDEA or Eclipse that can do refactoring and smart code completion. IDEA and Eclipse both run fine on the Mac, though they look and feel a bit weird (IDEA has been getting much better recently; check out the version 4.0 release candidate instead of the currently-shipping 3.0 release).

    Finally, if you do decide to get the Mac, and you've never bought a Mac before, here are some tips: Apple (like all manufacturers) charges a lot for extras so you might want to consider buying extra RAM elsewhere, and fixing a Mac can be expensive so I would recommend Apple's extended warranty, especially on a laptop.

  5. Re: My Impressions.. by BitGeek · · Score: 4, Interesting


    Its important to remember whether you're talking about compiling on the run, or doing so while plugged in.

    Any PC Laptop drops processors speed (And performance) dramatically when unplugged... but Apple laptops continue to operate at full speed when you're running off of battery.

    So, if oyu really need a laptop to do compilations while travelling, then you definately want to go powerbook.

    Also, the superiority of the Mac development environment cuts down on the need to compile as often (for objective-C at least, not sure about java-- you can make changes and incorporates them without recompiling and re-linking) so this is a big benefit.

    Sounds like you've never had a powerbook before- either borrow or rent one and try it out if you can. But if not, I think you'll find that the mac may not be significantly faster than the PC for java compilations, but in most other ways they are much faster.

    And I wouldn't be surprised to see them faster in java as well. When I Was last doing Java development I did it all on a 400MHz powerbook, and the rather large app compiled very quickly... never had to wait. You know, that nice pause while you think about what you're going to test-- and before it occurs to you to get up and get a soda or something, the compilation is already done.

    --
    Yeah, and you guys panned the ipod too: http://apple.slashdot.org/article.pl?sid=01/10/23/ 1816257
  6. Re: My Impressions.. by BitGeek · · Score: 4, Interesting


    I love how that is moderated "insightful" but the dissenting view is moderated "troll".

    For a long time I thought Visual Studio was the best development environment-- the Mac side of things, including Codewarrior was not nearly as good.

    Project builder did what it did well, but wasn't spectacular.

    But XCode is really good. I have no incentive to try codewarrior (ok, I did try it again in late 2002) because XCode is totally excellent.

    And its much better than the Visual Studio version I was using.

    Integrated help, great compilation speed, ease of development and a short develop-compile-debuge-change-debug(without recompile) loop makes it a killer environemnt to work in.

    I can see where Eclipse can be great, but the mac port isn't quite there yet.... so XCode, in my opinion, is the best development environment I've ever used, on any platform.

    --
    Yeah, and you guys panned the ipod too: http://apple.slashdot.org/article.pl?sid=01/10/23/ 1816257
  7. Sexiest Laptop Ever by valmont · · Score: 5, Interesting

    i work for a large ISP in a team that builds a comprehensive portal that receives over 6 million unique page views in any 24 hour period. it's written in Java and runs in a Java Servlet Container (open-source)). Since Apple came out with the TiBook in 2001 and OS 10.1, my boss and i were the first ones to switch to powerbooks and OS X in the department.

    Jump forward in late 2003, i now have a 1.25Ghz 15" powerbook with 1Gig of RAM and 80GB HD, and let me tell you, there is no end to what this thing can do. it will complete this mechanism that goes thru our whole JSP web application tree, converts each .jsp into .java then compiles into java byte code in about the same amount of time the fastest x86 laptops do. tho i dont have precise numbers. might be faster, might be slower.

    while i understand your main focus is on raw power, i would urge you to consider productivity as a factor, based on your operating system's stability, security, and features. XP has greatly evolved in many aspects, and any good engineer can deal with just about any OS. With that said, OSX goes the extra mile to make your overall computing experience much more powerful, especially with Panther.

    Expose, Fast User switching, XCode, Apple's own implementation of X11 (comes on the panther CD, it's *F A S T*, GIMP loads litteraly in under 5 seconds) so u can run any open-source app you want. Terminal.app for crying out loud. forget cygwin under windows, here you have a true UNIX bash shell. or tcsh. or ksh. it's all there. all the command-line utilities from the Unix and Linux world are all there. the cmd-line can also trigger things to happen in the finder/aqua-world: "open" could open a directory in a find window, or a file in which ever application created it.

    let's talk about address book, calendar and mail. You may import all your Yahoo, Mozilla, Netscape contacts into AddressBook.app. Calendar.app lets you subscribe to calendars, accept .ics invitations, publish your own calendar, define multiple coexisting calendars. Safari's bookmarks interface will show u URLs defined in your AddressBook. Mail.app will read information from AddressBook to show email addresses as clickable "People Objects" and add new email addresses to your address book directly from an email you're reading. You can drag any picture from the web or iPhoto, or your desktop to an AddressBook entry, where it lets you zoom the pic in or out, crop, position, pictures associated with contacts show-up in Mail.app when u receive email from them. They also show-up in iChat.app. All those applications are very simple yet VERY powerful and are also well-defined open APIs any software developer can interact with. For example EarthLink lets you sync your Mac OS X AddressBook with their own online address book, which greatly facilitates email whitelisting to work with their highest-level CR-based spam-blocking feature (lower-level spam-blocking is Bayesian-ish filtering based on email content). Mail.app comes with its own adaptive Bayesian spam filtering that becomes smarter and smarter overtime as you "train it". Mine has become *extremely* effective at blocking spam, and i can tell you this is a definite productivity enhancer. Then there is iSync. A true marvel. iSync is also an open API to sync multiple devices over just about any port or conduit. Most PDA-ish devices and Phone manufacturers have made their devices compatible with iSync, and more are coming on the market every day. Your Calendars, Contacts, Bookmarks can all be sync'ed via iSync to any number of devices WITHOUT installing a single piece of software that may have shipped with such devices. this is HUGE. Currently i'm using iSync to sync an iPod (bookmarks, address book, calendar, over FireWire), a Sony Ericsson t610 (over bluetooth, built-in all the Aluminum powerbooks, including mine), my .MAC account (calendar, address book, bookmarks, over HTTP/webdav i think). I could buy a Palm Pilot and just sy