LWN.net Logo

Cross

Cross

Posted Nov 11, 2005 10:44 UTC (Fri) by khim (subscriber, #9252)
In reply to: Cross by ncm
Parent article: Cell Broadband Engine Software Development Kit Version 1.0

Haven't you ever heard of cross-compilation?

Yes, of course.

Why in the world would you ever want to run Eclipse on your target hardware?

To save money, time and workspace ?

Anyway if you're dependent on Eclipse, you won't be programming a Cell in this decade!

Why not ? AFAIK main programming language for Cell is C and Eclipse have decent C support. I only chose Eclipse since this IBM's software BTW - I'm not big fan of Eclipse myself. If you are talking about JDK availability for Cell - this should not be big deal: IBM is publishing JDK for PPC64 and Cell's PPE is PPC64 with some extensions.

You must already have a nice development machine and environment, and there's no need to give that up. Just take your new PS3 out of the box, plug it into the network, netboot it, and off you go. What, graphics? OK, plug in another monitor, if you insist.

In onther words: keep both your workstation and PS3, spend time and money (office space is not cheap) for two sets of hardware. And so on. Loosers position: that's what Microsoft's rivals said back in 1980th: PC is too underpowered so better to base development on UNIX stations (your developers already own them anyway!) and use cross-compilation. Microsoft was right then and it's true today as well: if your platform is not self-sustained and your rivals platfrom is then you lose by default. Rival to Cell platforum is PC! Both IBM and AMD do plan to implement Cell-like architecture by 2010-2012. For Cell to succeed it needs full self-sutainability by 2007-2008 and some cool applications by 2009-2010. Or else the only result of all this activity will be small footnote in history. I can not see how this self-sustainability can be achieved if the main platform is PC+Cell-based PS3, not just PS3 variant by itself. It's okay to use PC to bootstrap development process (DOS and Windows were developed on UNIX workstations at first) but if you want a lot of developers (especially poor students and other free software public) then better make you platform self-sustained or watch how it becomes irrelevant.


(Log in to post comments)

Cross

Posted Nov 11, 2005 20:31 UTC (Fri) by ncm (subscriber, #165) [Link]

To be precise, if you're dependent on Eclipse or on Java, you're probably not smart enough to make effective use of a Cell, at least in this decade. Eventually somebody will come up with ways to make its oddities less visible, and access to them more portable.

The main CPU in the Cell is not a heavy lifter when it comes to (e.g.) running compilers. Most Cells will be in embedded gadgets for the next couple of years, so cross-compilation is the natural way to develop for the environments the code must run in. Here's a hint: Cell and its brethren certainly will be just a footnote in history, just as is practically everything in the computing world.

How much space does a PS3 take, anyway? You might as well use it as an X station (besides a development target), and unplug the monitor from your development box. That way you can put your noisy development machine in the basement (presuming you're not already there!) and enjoy the peace and quiet.

Finally, as drag and I both noted, 256MB is lots of RAM by any rational measure. If it's not enough, you're probably either running appallingly fat software, or processing NASA images.

Cross

Posted Nov 12, 2005 1:38 UTC (Sat) by yashi (guest, #4289) [Link]

> Loosers position: that's what Microsoft's rivals said back in 1980th: PC is too underpowered so better to base development on UNIX stations (your developers already own them anyway!) and use cross-compilation. Microsoft was right then and it's true today as well: if your platform is not self-sustained and your rivals platfrom is then you lose by default.

you just don't see cpu market as a whole. what you see, as it seems to me, is just PC and related hardware.

there is more cpu, including cell-like arch, than PC's. sure MS was right that PC is good enogh to host compiler, but you wouldn't want to run your compiler on your tomtom, iPod, or N770 for serious development. time _costs_ more than hardware or real estate.

it'd be nice to have power to self-compile, but the world isn't like that, at least not yet.

> Rival to Cell platforum is PC!

is it?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds