-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
Description
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
-
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.
-
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)