develooper Front page | perl.perl6.internals | Postings from April 2008

[perl #52436] Flush examples/pasm/queens.pasm?

Thread Next
From:
Bob Rogers
Date:
April 4, 2008 03:04
Subject:
[perl #52436] Flush examples/pasm/queens.pasm?
# New Ticket Created by  Bob Rogers 
# Please include the string:  [perl #52436]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52436 >


   While looking at removing the C<saveall> and C<restoreall> ops, I
found this old queens.pasm example which uses stack calling.  Because it
is just the output of the Jako compiler (from mid-2004), it has no
comments and is difficult to follow, which is poor for an example.
Furthermore, the current Jako compiler emits PIR that is somewhat more
readable (but still uncommented), and runs almost 5x faster.

   So queens.pasm is now a good example of how *not* to write PASM, and
I think it should be deleted.  Any objections?

					-- Bob Rogers
					   http://rgrjr.dyndns.org/

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About