~/talk

ILPack: saving assemblies to disk

Talkat Dotnetos Conference 2022 · 2022-10-10..10-12· [developer-experience]
links:none on file
slides:none on file

ILPack claims to restore the missing AssemblyBuilder.Save on .NET Core by taking in-memory assemblies and emitting valid DLLs that reload unchanged, implemented by walking runtime objects via System.Reflection and emitting metadata with System.Reflection.Metadata to rebuild all tables, blobs and method bodies. It debugs invalid IL with real files using ILVerify, ILSpy/dotPeek, and is used in production at Lokad generating about 1 GB of CIL per day. Source is at https://github.com/Lokad/ILPack and the project actively handles generics, complex types and method bodies.

AI-written summary · about

  1. 0:00ILPack introduction
  2. 1:25What is an assembly
  3. 3:10Why ILPack reverses loading
  4. 9:12Runtime code with Reflection.Emit
  5. 13:25LINQ Expressions limits
  6. 15:58Source generators impact
  7. 17:43Locat supply chain use
  8. 23:44Debugging assemblies need
  9. 29:16.NET Core gap solution
  10. 31:27Reflection meets Metadata APIs
  11. 33:35Metadata tables and IL
  12. 36:43Encoding method bodies
  13. 39:35ILPack open-source model
  14. 40:21Testing edge cases
  15. 42:10Generics metadata issues
  16. 43:58Backward compatibility
  17. 45:42Junior dev learning advice
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.