Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COI really hope the format of TTypeInfo and TTypeData doesn't change, except to add new branches to the TTypeData union tree that fill in gaps in the existing RTTI. I've been doing a lot of theoretical work in the area of dynamic class and type generation in order to implement a scripting system that integrates seamlessly with compiled Delphi code through RTTI. I'm a week or two away from having a working POC compiler now, and it would be rather annoying to have to completely rework my type data generation code when a new version comes out.
      singulars
    2. CO@Mason It's less a case of completely changing, than having more data appended on the end. It's a real PITA to jam in extra data without breaking code. As it is, the RTTI format contributes a fairly substantial size penalty largely because its encoding can't be optimized much. It would be nice to consider something like e.g. .NET metadata tables, which use a conciser representation. Instead, Delphi RTTI is left with every xref taking up a minimum of 4 bytes, and frequently with redundant strings for names that could be pooled. But that can't happen within the current framework.
      singulars
    3. COFair enough. It's a real mess trying to write code to read RTTI structures because of all of the inline data arrays without a static size, meaning the compiler can't find the field that comes next and you need a bunch of pointer math. If your new format could get rid of *that* I'd be all for it, and I'd only need to rewrite my generation code once. The part that bugged me was when you said "from version to version," implying that there will (might) be format revamps with each new release, or a significant fraction of them. That would be a pain.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload