User:AlexVinS/Packages

From Free Pascal wiki
< User:AlexVinS
Revision as of 12:52, 10 January 2011 by AlexVinS (talk | contribs) (+questions)
Jump to navigationJump to search

Some ideas on library packages design

  • New system lib.
    • os independent, but depends on CPU. Example targets i386-lib ia640-linux
  • OOP interface (ojpas interfaces based) between host executable and package RTL, extensible to communicate with concrete packages.
  • Host executable memory manager shared with package libs.
  • Package binary file format.
    • Require to be fully portable (not depends of target system and cpu)

Questions

  • How exceptions objects should be transfered between executable and packages?
  • The package binary format (ELF, FatELF based?)
  • The package main source file format (lpk?)
  • Can RTTI help to access objects from exe by package and vice versa? Use only interfaces or macpas external objects?