using c, some preprocessor #ifdefs and abstracted functions i managed to port my first big project to ppc... hehe. writing in c and not in c++ for ppc seems not to be very common. i did it using the ms embedded tools/ms vc because i didn't find any working port of gcc for ppc. actually my application also works in windows (in a little window of course).
markus dresch (www.palmside.com) "David Beers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Jose, for those of us who know nothing about Lua, can you summarize what is > special about the language for writing cross-platform Palm/PPC code? (Aaron > Ardiri is fond of mentioning how he and his company have managed this using > just C. I guess I would be too if I'd done it!) > > When you write about creating a version of Lua with common "features" of > Palm and PPC, I'm not sure what you mean, mostly because I'm thinking in > terms of C which is so general-purpose. I know that there are some papers > out there that probably would explain this, but it would be nice to have the > "condensed" version. > > Maybe a small code snippet that compiles to either target to give us an idea > of what this might look like? > > David > > ************************************* > Jose Machado escreveu: (how's my Portuguese?) > > Well David, we do it here in Hands, at Brazil. :) That's the reason why i > suggested it. > > I can't open the technology to the list (since it's private from my company) > but I can surely say to you: It works and works fine. > > There's a port from Lua to PalmOS, named PLua, but it's not open source. > Although Lua is completely free, and IMHO the version 4.01 (the latest is > 5.0) is the best to port. Small, fast, easy and powerful. Oh, yes, did I > mean it's free ? :) > > The version 5.0 of Lua does have some interesting ideas like coroutines, > multi-thread support (4.01 has this to), and so on, but it's very new, and > not completely stable, I guess. > > I'd like to create an open source, free version of Lua with some common > features to the PalmOS and PPC, but I do not have much spare time right now. > If anyone is interested, please feel free to email me: machado [at] palmcon > [dot] com [dot] br > > Cheers ! > > PS: I don't want to start a flamewar about what's the best language, and so. > It's just my humble opinion. > > -- J. Machado > Please visit us at http://www.hands.com.br > (Lua rulez !! :) ) > > David Beers escreveu: > > > Has anyone tried Jose's suggestion of using Lua for cross-platform > Palm/PPC > > development? It's an intriguing idea. > > > > David > > > > Jose Machado wrote > >> Or you could move to Lua (there are ports to PalmOS and PPC) and keep all > >> your business logic, and also don't worry with the sintatics of > > Java/C/C++. > >> > >> PLua is available to PalmOS (the latest version is entirely free), and > >> there's a port for PPC (I really don't know where, but a little googling > > may > >> answer the question). > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
