~/talk

So you want to create your own .NET runtime?

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [dotnet, compilers-and-language-design]
links:none on file
slides:none on file

Creates an interpreted .NET runtime in plain C from a tiny starter file, based on DotNetAnywhere, by parsing PE headers, the CLR header, metadata streams and ~# tables, mapping RVAs into allocated memory and loading table rows; implements an IL interpreter that supports at least the ret opcode and successfully runs a simple HelloWorld DLL (methoddef count = 2, CLR version 4.0.30319). Uses fopen/malloc/memcpy, manual pointer arithmetic and hard‑coded table widths, claims the core can be prototyped in about one hour.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00The project
  3. 4:20The document
  4. 5:30C Coding
  5. 12:00PE headers
  6. 15:00Section headers
  7. 21:00CLI headers
  8. 27:00Entry point token
  9. 28:10Metadata
  10. 31:32Variable Length Strings
  11. 34:19Streams
  12. 37:45Metadata Tables
  13. 42:05If Valid
  14. 47:05Method Death
  15. 52:45Method State
~/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.