サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
mattwarren.org
Tools for Exploring .NET Internals 15 Jun 2018 - 1954 words Whether you want to look at what your code is doing ‘under-the-hood’ or you’re trying to see what the ‘internals’ of the CLR look like, there is a whole range of tools that can help you out. To give ‘credit where credit is due’, this post is based on a tweet, so thanks to everyone who contributed to the list and if I’ve missed out any too
Aside from the historical perspective, what I find most fascinating is just how much the addition of generics in .NET was due to the work done by Microsoft Research, from .NET/C# Generics History: It was only through the total dedication of Microsoft Research, Cambridge during 1998-2004, to doing a complete, high quality implementation in both the CLR (including NGEN, debugging, JIT, AppDomains, c
A DoS Attack against the C# Compiler 08 Nov 2017 - 2532 words Generics in C# are certainly very useful and I find it amazing that we almost didn’t get them: What would the cost of inaction have been? What would the cost of failure have been? No generics in C# 2.0? No LINQ in C# 3.0? No TPL in C# 4.0? No Async in C# 5.0? No F#? Ultimately, an erasure model of generics would have been adopted, as fo
A Hitchhikers Guide to the CoreCLR Source Code 23 Mar 2017 - 5109 words photo by Alan O’Rourke Just over 2 years ago Microsoft open-sourced the entire .NET framework, this posts attempts to provide a ‘Hitchhikers Guide’ to the source-code found in the CoreCLR GitHub repository. To make it easier for you to get to the information you’re interested in, this post is split into several parts Overall S
How do .NET delegates work? 25 Jan 2017 - 2205 words Delegates are a fundamental part of the .NET runtime and whilst you rarely create them directly, they are there under-the-hood every time you use a lambda in LINQ (=>) or a Func<T>/Action<T> to make your code more functional. But how do they actually work and what’s going in the CLR when you use them? IL of delegates and/or lambdas Let’s start w
Why is reflection slow? 14 Dec 2016 - 3347 words It’s common knowledge that reflection in .NET is slow, but why is that the case? This post aims to figure that out by looking at what reflection does under-the-hood. CLR Type System Design Goals But first it’s worth pointing out that part of the reason reflection isn’t fast is that it was never designed to have high-performance as one of its goals,
Visualising the .NET Garbage Collector 20 Jun 2016 - 985 words As part of an ongoing attempt to learn more about how a real-life Garbage Collector (GC) works (see part 1) and after being inspired by Julia Evans’ excellent post gzip + poetry = awesome I spent a some time writing a tool to enable a live visualisation of the .NET GC in action. The output from the tool is shown below, click to Play/St
このページを最初にブックマークしてみませんか?
『mattwarren.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く