One big problem with porting anything Unix-ish to the Palm is its segmented memory architecture. Memory lives in segments that can only be up to 64K (it was, I believe, 32K in earlier versions of the PalmOS). Because of this, anything that has big tables (like the yacc-based parser in Perl) would have to be re-written to accomodate the chunked memory.

Additionally, there are lots of Unix-isms in the Perl source code. Like assuming that you have files, for instance, or directories. Or, for that matter, that there are standard streams connected to a spawned program.

I looked at porting Perl to the Windows/CE OS and found that the Unix-isms would have taken some working around. The current port of Perl to WinCE provides its own console so it can simulate file redirection (which doesn't exist on PocketPC architecture).

You may be better off looking at one of the cross-compiler environments if you just want to write Palm apps (I'd recommend PocketSmalltalk, but that's just one of many).


In reply to Re: palm perl porting, problems? by bikeNomad
in thread palm perl porting, problems? by dr_lambado

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.