Skip to content

Long term aim: Remove duplicated binary reader  #298

@dsyme

Description

@dsyme

The TPSDK contains 2000 lines of an IL binary reader to allow it to properly generate code (both reflection-emit and quotations) for the target set of reference assemblies.

This is problematic for two reasons

  1. There is resource duplication of IL binary readers with the host tool (devenv.exe, fsc.exe, fsi.exe etc), which are known to be hard to cache/share well. This is the cause of some recent resource usage issues with TPs in host tooling.

  2. There is code duplication ("yet another binary reader") - we would much prefer to use a standard binary reader and remove a few thousand lines from ProvidedTypes.fs

This is being discussed here Krzysztof-Cieslak/notes#1 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions