I know this is stepping a little bit aside from the original question, but I was wondering about the practicality of starting with Perl and gradually replacing Perl code with C code once the design is complete. It seems like the best of both worlds: rapid development of the script-based GUI, followed by efficient usage of compiled programs.

The only problem is that once I start with the script-based project, the design never seems to look "complete". There's always one more little adjustment, or one less buton.

Well, that's not the only problem. The other is that I've never tried a C interface to my Perl code. I hear a lot of horror stories, and I get scared easily.

I wandered a bit there, but the question was: how practical is it to prototype in Perl, then interface or replace with C code as the project progresses? Would that address the memory concerns that primus had?

I just realized that I was using the same sig for nearly three years.


In reply to Re: Re: talking about memory... by webfiend
in thread talking about memory... by primus

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.