~/talk

Boosting memory management in interoperability scenarios

Talkat DotNext 2018 Moscow · 2018-11-22..11-23· [dotnet]
slides:none on file

Shows that replacing copies with Span<T> and Memory<T> and ref struct/ref returns cuts allocations and keeps safe access; benchmarks (run over about 1,001,000,000 iterations) put P/Invoke marshaling around ~12µs while raw IntPtr marshals are much slower. Demonstrates building a WAV-file processing pipeline using the new Pipelines API, chaining file readers, FFT transform blocks and writers, and streaming data without extra copies; the demo runs and produces correct output, with clear limits noted for stack-only types and async scenarios.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:57Interoperability challenges with WAV files
  3. 11:31Value types vs reference types in .NET
  4. 16:31Introducing ref struct and Span<T>
  5. 25:15Performance benchmarks for memory access
  6. 37:41Pipelines in ASP.NET Core
  7. 48:11Inter-process communication with pipes
  8. 53:14Chaining pipelines for transformations
  9. 59:53Demo and conclusion
~/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.