An unofficial, read-only Hacker News reader.

Marginalia Search, Money, C++, Rust, AI, Stuff (opens external site)

227 points by Curiositry 4 days ago | www.marginalia.nu | 84 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. “a bunch of duplicated implementations or reimplementations of stuff like sorting and searching algorithms that already exists for on-heap structures but not off” Seems modern .NET is better. Specifically, these sorting and searching algorithms can operate on spans of values. It’s easy to allocate unmanaged memory with NativeMemory.AlignedAlloc, construct spans over that memory, and use the standard library on these spans.
    Replies (1)
    1. The guy knows C++, not C#.