Hacker News new | comments | show | ask | jobs | submit login
68 things the CLR does before executing a single line of your code (mattwarren.org)
132 points by matthewwarren 309 days ago | hide | past | web | favorite | 12 comments



The article could benefit by having a single sentence explaining what CLR is:

"The Common Language Runtime (CLR), the virtual machine component of Microsoft's .NET framework, manages the execution of .NET programs [that runs primarily on Microsoft Windows].

-- https://en.wikipedia.org/wiki/Common_Language_Runtime


good point, I'll update the post (although I think that most people who read my blog are .NET devs)


Matt Warren's blog is great to learn about the internal mechanism of .Net. I wonder if there is any similar blog for JVM world, so far I have only know Mechanical Sympathy[1] but it doesn't seem as comprehensive.

[1] https://mechanical-sympathy.blogspot.com/


> Matt Warren's blog is great to learn about the internal mechanism of .Net

Yeah I do seem to write alot about .NET internals, but I just seem to keep finding cool stuff in there!!

> I wonder if there is any similar blog for JVM world,

Another Java-based blog I like reading is http://psy-lob-saw.blogspot.co.uk/, I've definitely taken some inspiration from there and written .NET equivalents of his posts.



Cool, thanks for the links, they look like interesting books (even for a .NET dev)


The title could be read to mean that 68 things are done before every line of code is executed. Got me to read it.


yeah you're right, I guess you can read it like that, I never noticed that before

(I was just so please that I managed to get a 'BuzzFeed' style headline into one of my blog posts!!)


That was exactly what I thought as well... I was wondering how it could be performant


Is there a way to embed multiple, independent DLLs into one host application with the possibility to reload/unload DLLs in .NET Core? I didn't find a way yet because .NET Core does not seem to support the AppDomain concept.


Nice read, makes it a lot easier to understand how it works and a must read for people who want to contribute to CoreClr!


Thanks, yeah that's the aim of writing posts like this (plus I find it fun to figure it all out!)




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: