News for hackers. Stuff that matters.
Re:How to write cross-platform code by JoeAltmaier on Friday October 22, 2010 @10:06AM (#1819720)
Probably embedded - many more constraints than desktop environments. ANd their C++ support is usually problematic.
Re:How to write cross-platform code by TheNewAndy on Friday October 22, 2010 @10:13AM (#1819743)
Yes. But I suppose the thing about embedded stuff is that if you write good "embedded" code (whatever that means), then it works well everywhere. If you write good "desktop" code, then it probably won't work well on an embedded system. So, when I'm doing my own hobby projects which are never going to go onto hardware, I still write it as if it might end up on a whacky chip one day, because when you do it this way, C seems to smile on you, and have exactly all the tools needed to express what you mean without saying more than you mean.