Version 1 (modified by jhorwitz, 6 years ago)

--

Terminology

  • HLL: high level language (e.g. Rakudo Perl 6, PHP)
  • NCI: Parrot's native call interface, used to call C functions from Parrot
  • HLL layer: code that implements a particular HLL Apache module
  • Metahandler: code that implements a single Apache phase for a particular HLL
  • PMC: Parrot Magic Cookie
  • Context:

Design Goals

  • Provide an interface to the Apache API and data structures to the Parrot VM
  • HLL modules require no C code
  • Remain invisible to the end user

mod_parrot Module

Apache Interface

NCI Functions

Parrot Objects

HLL Modules

Module Registration

Metahandlers

Multiprocessing Module Support

Prefork MPM

Threaded MPM (e.g. worker)