My mental model of Span, Memory and ReadOnlySequence in .NET

3 lut 2021 | Blog | programowanie | .net | IT
Saying that I disagree with the documentation of the new memory abstractions in .NET would be an overstatement. After working a bit with Span, Memory, ReadOnlySequence and IBufferWriter I model it in my head in a bit different way. Each of these terms has a one line definition that one could reason from. I hope that newcomers to this memory friendly world will think of it a good primer. At the same time, I hope it delivers a refreshing view for more experienced engineers. It does not aim to deliver the whole description. It aims to be a useful model as all models are wrong but some of them are useful.

POSTY TEGO AUTORA

The advent of a lazy software engineer26 sty 2026

Blog | programowanie | IT

It’s beginning to look a lot like vectors31 gru 2025

Blog | programowanie | performance | IT

AI Agents Need Guardrails, Not God-Mode MCP Access1 gru 2025

Blog | programowanie | artificial intelligence | IT

Pass the State8 paź 2025

Blog | programowanie | .net | IT

Scooletz

scooletz