PMC Review

chromatic chromatic at wgz.org
Sat Jan 17 21:39:15 UTC 2009


I've just gone through the default PMCs built with the system, and here's what 
I've found.  The following PMCs are unused:

	delegate - unused, appears to be the previous version of PMCProxy
	deleg_pmc - unused, appears to be the previous version of PMCProxy
	Enumerate - unused, specialization of Iterator
	Intlist - unused
	MultiArray - (unused) a multidimensional array
	Pair - key/value mapping (unused)
	Pointer - represents a pointer (unused)

The following PMCs could also be removed, with a bit of cleverness:

	Closure - unused?
	Random - access to random numbers (Cardinal; use Math/Random.pir instead?)
	Ref - reference to a PMC (mostly unused, though look at default and undef)
	Sarray - a subroutine parameter array (mostly unused -- see global_setup.c)
	TQueue - only used in Cardinal

I only looked through the languages currently in the repository, so anything 
that's left recently may not reflect reality here.  I recommend deprecating 
them all before the next release.

-- c


More information about the parrot-dev mailing list