@Facebook_Twitter_Metadata@
Matthew Ellis

Writing Allocation Free Code in C#

Monday, 17:10

Performance is a feature. We all want our code to run faster, and there are plenty of ways to do this - caching, using a smarter algorithm or simply doing less stuff. In this session, we’re not going to look at any of that. Instead, we’re going to focus on a recent trend in the C# world - improving performance by reducing memory allocations. We’ll see how recent versions of C# allow using structs without creating lots of copies, and we’ll have a timely reminder on exactly what is the difference between a class and a struct. We’ll also spend some time with the new Span<T> runtime type and find out how that can help work with slices of existing memory, and how it’s already into the types we know and love in the framework. And of course, we’ll take a look at when you should and (more importantly) shouldn’t use these new techniques.

add Add to scheduleremove Remove from schedule

Partners

Best companies

This website is using cookies.
We use them to give you the best experience. If you continue using our website, we'll assume that you are happy to receive all cookies on this website.
Continue
x