Show HN: High-Performance .NET Bindings for the Vello Sparse Strips CPU Renderer

https://news.ycombinator.com/rss Hits: 3
Summary

Vello Sparse Strips .NET Bindings Status: Production Ready โœ… High-performance .NET 8.0 bindings for the Vello Sparse Strips CPU renderer with 100% API coverage. Project Structure SparseStrips/ โ”œโ”€โ”€ extern/vello/ # Git submodule - Vello upstream โ”‚ โ””โ”€โ”€ sparse_strips/ โ”‚ โ”œโ”€โ”€ vello_cpu/ # Core CPU renderer โ”‚ โ””โ”€โ”€ vello_common/ # Common utilities โ”‚ โ”œโ”€โ”€ vello_cpu_ffi/ # Rust C-ABI FFI wrapper โ”‚ โ”œโ”€โ”€ Cargo.toml โ”‚ โ”œโ”€โ”€ build.rs โ”‚ โ””โ”€โ”€ src/ โ”‚ โ””โ”€โ”€ lib.rs # FFI exports โ”‚ โ”œโ”€โ”€ dotnet/ # .NET bindings โ”‚ โ”œโ”€โ”€ src/ # Shipping packages โ”‚ โ”‚ โ”œโ”€โ”€ Vello.Native/ # P/Invoke layer (internal) โ”‚ โ”‚ โ”œโ”€โ”€ Vello/ # High-level C# API (public) โ”‚ โ”‚ โ””โ”€โ”€ Vello.Avalonia/ # Avalonia control + helpers (NuGet package) โ”‚ โ”œโ”€โ”€ samples/ # Demo applications โ”‚ โ”‚ โ”œโ”€โ”€ Vello.Samples/ # 15 example applications โ”‚ โ”‚ โ”œโ”€โ”€ Vello.Examples/ # CLI samples โ”‚ โ”‚ โ””โ”€โ”€ MTTest/ # Multithreading investigation harness โ”‚ โ””โ”€โ”€ tests/ # Automated + perf suites โ”‚ โ”œโ”€โ”€ Vello.Tests/ # 85 unit tests (95.3% passing) โ”‚ โ”œโ”€โ”€ Vello.DiagnosticTests/ # Deep diagnostics harness โ”‚ โ”œโ”€โ”€ Vello.Benchmarks/ # BenchmarkDotNet harness โ”‚ โ””โ”€โ”€ Vello.IntegrationTest/ # Package validation app โ”‚ โ”œโ”€โ”€ docs/ # Documentation โ”‚ โ”œโ”€โ”€ API_COVERAGE.md # Complete API coverage matrix โ”‚ โ”œโ”€โ”€ FFI_DESIGN.md # FFI architecture and design โ”‚ โ”œโ”€โ”€ IMPLEMENTATION_PLAN.md # Development phases โ”‚ โ””โ”€โ”€ STATUS.md # Project status โ”‚ โ””โ”€โ”€ README.md # This file Features โœ… 100% API Coverage - All 34 RenderContext methods implemented - All 34 RenderContext methods implemented โœ… Complete Feature Set - Images, gradients, blending, clipping, masking, glyphs - Images, gradients, blending, clipping, masking, glyphs โœ… Zero-Allocation Rendering - Span<T>/stackalloc for text, gradients, PNG I/O (Phase 1 & 2 complete) - for text, gradients, PNG I/O (Phase 1 & 2 complete) โœ… High Performance - Zero-copy pixel access via ReadOnlySpan<T> - Zero-copy pixel access via โœ… Modern .NET 8.0 - LibraryImport , blittable structs, Span<T> APIs - , blittable structs, APIs โœ… SIMD Support - SSE2, AVX, AVX2, AVX512, NEON - SSE2,...

First seen: 2025-11-16 01:56

Last seen: 2025-11-16 03:57