Ticket #1867 (new RFC)

Opened 11 years ago

Last modified 11 years ago

RFC: optional fakecutable preamble

Reported by: plobsing Owned by:
Priority: normal Milestone: 2.11
Component: none Version: 2.10.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:


Executables created by pbc_to_exe, better known as "fakecutables", don't have full access to parrot VM settings. We currently work around some of these problems with magic environment variables and flags on pbc_to_exe.

These solutions are crufty and inflexible.

I propose the option to add a second pbc which will be loaded *before* the main pbc and run. The results of this will be used as the settings with which to run the main pbc.

The intent of this secondary, preamble, pbc is to parse commandline arguments, environment variables, and config files to obtain parrot VM settings in a manner appropriate for the HLL.

Change History

Changed 11 years ago by cotto

This sounds like a much more elegant and flexible solution. I am concerned about the potential increase in startup time that loading/running an extra chunk of pbc could cause, especially since fakecutables (and Parrot in general) are already pretty slow. That said, let's start experimenting with this and at least see what trade-offs are available.

Note: See TracTickets for help on using tickets.