Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Prototyping C programs using Perl

Reply
Thread Tools

Prototyping C programs using Perl

 
 
Sandy
Guest
Posts: n/a
 
      07-09-2003
I would like to write a perl program as a prototype for a program which will
eventually be written in C, would this alter how I write the Perl prototype?
In what ways? What features of Perl should I use to ease the process?


 
Reply With Quote
 
 
 
 
Sandy
Guest
Posts: n/a
 
      07-09-2003
Thanks a lot

Actually, I plan to write the program in pure C eventually.

BTW, is there any feature of Perl that can effectively be employed for the
purpose of prototyping a pure C program in particular?

Thanks in advance.


"Abigail" <> ¼¶¼g©ó¶l¥ó
news:.. .
> Sandy () wrote on MMMDXCIX September MCMXCIII in
> <URL:news:beh56r$206g$ >:
> .. I would like to write a perl program as a prototype for a program

which will
> .. eventually be written in C, would this alter how I write the Perl

prototype?
> .. In what ways? What features of Perl should I use to ease the process?
>
>
> It depends on the purpose of your prototype. It's a bad idea to prototype
> in Perl if you want to get an impression of the speed or memory usage of
> the program. If you want to prototype a user interface, the implementation
> hardly matters. What also matter is whether the resulting program will
> be written entirely in pure C, C calling Perl, or Perl calling C.
>
>
>
> Abigail
> --
> :;$:=~s:
> -:;another Perl Hacker
> :;chop
> $:;$:=~y
> :;::d;print+Just.
> $:;



 
Reply With Quote
 
 
 
 
Charlton Wilbur
Guest
Posts: n/a
 
      07-10-2003

"Sandy" <> writes:

> Thanks a lot
>
> Actually, I plan to write the program in pure C eventually.
>
> BTW, is there any feature of Perl that can effectively be employed for the
> purpose of prototyping a pure C program in particular?


What do you hope to accomplish by building a prototype in Perl?

This is a serious question; if the goal is to deal with complex data
structures without having to worry about memory management, we'll give
different advice than if the goal is to make a perl fan in upper
management happy.

Charlton

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating instantatable objects using pure JSON?? -- no prototyping!! ChrisO Javascript 2 04-24-2007 08:03 PM
Rapid Prototyping Perl In Ruby? thoran@thoran.com Ruby 4 03-18-2006 03:55 PM
Book: Higher-Order Perl: Transforming Programs with Programs Casey Hawthorne Perl Misc 14 07-14-2005 06:43 PM
Announcing new scripting/prototyping language Dave Allison C++ 37 03-04-2004 05:45 PM
Re: No call for Ada (was Re: Announcing new scripting/prototyping language) Ludovic Brenta C++ 86 02-19-2004 09:19 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57