This site is no longer active and is available for archival purposes only. Registration and login is disabled.

PALMWARE VAG2


PALMWARE VAG2

Postby John Mao » Aug 15, 2001 @ 9:28am

Does anyone knows this software? How it works? <br>Pls forward your experence over here,thank you!<br><br>You can download this development kit free form below address,<br><br>http://www.palmware.fr/
John Mao
 


Re: PALMWARE VAG2

Postby TBone » Aug 15, 2001 @ 11:44am

I haven't tried it, but it looked kind of like a Java VM made just for PDAs and cell-phones to me. I don't see the point. There are very few things I would write for both a Palm and a PocketPC, so why would I want to use a VM to do just that? The requirements are totally different. Assuming I did want to write a program for both platforms, it's probably easier just to code the bastard in C and port it over to PalmOS from the PocketPC.
3V1L L337 H3150
User avatar
TBone
pm Member
 
Posts: 434
Joined: Jul 25, 2001 @ 10:12pm
Location: Fairfax, VA


Re: PALMWARE VAG2

Postby Digby » Aug 15, 2001 @ 11:49am

This is sort of on-topic so I'll bring it up.  There seems to be a big push in the electronic mobile devices industry to make Java the defacto standard development language.  Everyone except MS (big surprise) wants you to use Java to program their devices.  I don't know if it's to get you to write something that will run on multiple devices, but that rarely works.  You have to write your code and test it on every platform you expect it to run on.  Write once - test everywhere, is the current mantra.  They don't tell you though that if your test fails, it becomes "Write once - test everywhere - rewrite - repeat."<br><br>What do you guys think about coding in Java vs. say C++ for mobile devices?<br><br>
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: PALMWARE VAG2

Postby TBone » Aug 15, 2001 @ 11:57am

I'd do it in C/C++ every time. Not only because as you said, Java is buggy and inconsistent as hell across platforms, but also because I can't stand Java as a language. Objects are a wonderful thing, but I really don't care for basing everything in the entire language on them. Sometimes it's just not a good idea. I also hate being FORCED to catch exceptions. Note to Sun: Sometimes I want to write sloppy code. I want to ignore the possibility that what I'm doing will not work the way it should. Maybe I'm doing it for speed, maybe I'm doing it because what I'm working with is relatively foolproof, maybe I just couldn't care less and I want to get the job done, but it's a pain in the ass to have to try/catch everything. If I want to use them, it's nice to know they're there. If not, don't f cking make me. Bastards.<br><br>And the Palm doesn't support a decent VM anyway, not even the PersonalJava standard. If you code for PalmOS using Java, you're pretty much either writing using Waba or you're compiling it to native code using Jump. Either way, it's a stupid idea.<br><br>I'm ranting already, so I think you get the point. Java has pretty much failed to live up to its cross-platform hype, and I'm sick of hearing about it personally. It's just me, but I DON'T think it's a bad idea that we have to recompile sometimes. I don't mind having a million processor types out there, and I understand that in order to fit all of them you end up making a language that's just a bit too "safe" to really be useful.<br><br>I guess if you're writing programs for servers or networking, Java is a blessing. It has great network support, and it's supposed to be easy to maintain. But personally? I've got enough trouble with my own bugs, and with Java I've got to deal with a VM's bugs too? To hell with that.<br><br>Too much ranting. Someone get me a root beer.
3V1L L337 H3150
User avatar
TBone
pm Member
 
Posts: 434
Joined: Jul 25, 2001 @ 10:12pm
Location: Fairfax, VA


Re: PALMWARE VAG2

Postby Dan East » Aug 15, 2001 @ 2:13pm

In 1997 I started my first Windows CE project in Java. Java was the big new thing at the time, and MS had promised a virtual machine with Windows CE 2.0 when it was released. Well, when we got our first CE 2.0 device in early 98 (actually when we upgraded our 1.0 device) there was no indication of Java support. I searched all over MS, and found only the original document stating that CE 2.0 would support it. That was right around the time of Sun's lawsuit against MS. So I had to rewrite everything in C++. Since then I have vowed that I will only go with what is tried and true, and is the lowest common denominator (assembly not being a common denominator among device models). I wouldn't touch C# with a 100 foot pole for the same reason (not being tried and true). I don't think MS has discovered that software is written for operating systems besides Windows XP. Heck, I can't even use C# with MS's other products (Windows CE), so I wouldn't begin to bother wasting my time learning the first thing about C#? Besides, the thought of the whole .NET thing sends shivers down my spine.<br><br>Other reasons why not to use Java with portable devices:<br><br>* The JVM is large (several megs), portable devices have little storage, so unless Java is in ROM you will waste a HUGE amount of space with the VM.<br><br>* Portable devices are relatively slow (compared to their desktop counterparts). The JVM adds in a great deal of overhead. Most programmers can't afford to waste precious processing power, especially with palms, cell phones, etc. Same thing with RAM. <br><br>* Very, very few mobile applications are daemons / services (ie, they have a GUI). The display metrics and depths vary tremendously between devices. One of the greatest areas of work a programmer faces porting a GUI-intensive app is how to fit the GUI  into the display. Java provides automatic control layout, but that doesn't come close to being able to adapt to such varied displays, and usually a programmer needs more explicit control over layout in the first place. This problem is amplified with devices that have terribly crippled displays, like palms and cell-phones. Many times an app will have to have its GUI reinvented and implemented in a totally different way to fit the display (ie, breaking up a single dialog into tabbed pages, using different types of controls to display information differently, etc). No programming language / library can save a programmer that type of work.<br><br>* As has already been said, the consistency between VMs is poor. Parts of my app worked perfectly under MS's VM but not Sun's and vice versa. Even simple examples included in the JDK exhibited such inconsistencies. That was even running on the exact same hardware. I can't imagine how poorly apps would look / behave / run on completely different hardware.<br><br>* To my knowledge, the promised CPU whose instruction set is that of Java has never been produced. The Java-enabled toaster falls in the same mythical category as Bluetooth actually working and being "cheap". What a laugh. A CF Bluetooth card costs $200+, and probably can't communicate with 80%+ of the other Bluetooth hardware.<br><br>* My personal "code of programming" is that a piece of software is written once, and executed millions of times. Time spent writing optimized, low-level, efficient code is time saved millions of times over in its execution. Long after you have written you code and gone on to other things people will still be using your software, and paying the price you took in taking shortcuts or using inferior programming languages. That is why I initially shun languages whose purpose it is to make programming simpler, or make it more accessible to non-programmers, or require less work for a program to run on other platforms. I would rather create software that runs very well on a few platforms than software that runs mediocre on many.<br><br>* Most importantly, Quake was not written in Java.<br><br>That pretty much sums it up in 3,234 characters or less. :)<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron