cpp-lazy
ComputeSharp
cpp-lazy | ComputeSharp | |
---|---|---|
8 | 38 | |
325 | 2,543 | |
- | - | |
8.6 | 9.8 | |
18 days ago | 17 days ago | |
C++ | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cpp-lazy
- cpp-lazy 5.0.0, an iterator library with lazy evaluation
-
How do I change the jump on an iterator?
example
- cpp-lazy 4 released! A readable and easy iterator/lazy evaluation library for C++11/14/17/20.
-
What's up with C++ ranges?
I don’t want to come over as a show off but I’m pretty sure my own library is more readable. It also hasn’t any of the lifetime issues (AFAIK) because everything is stored in the iterator itself, giving more readability at the expense of a tiny tiny bit more overhead.
- Cpp-lazy: an easy C++ iterator/lazy evaluation library inspired on Python/C# enumerables/iterables
-
cpp-lazy 3.0.0 released. An easy lazy evaluation/iterator library for C++11/14/17/20, including support for concepts, std::format and execution.
Thanks! That really means alot! In tests I have /W4, that’s what you mean right?
-
Timur Doumler - How C++20 changes the way we write code - Meeting C++ 2020
I also found it frustrating to work with. That’s why I implemented my own too https://github.com/MarcDirven/cpp-lazy
- C++ 11/14/17/20 lazy evaluation/iterator library version 2.2.2 released. A simple iterator/lazy evaluation library made easy for end users.
ComputeSharp
-
ILGPU VS ComputeSharp - a user suggested alternative
2 projects | 27 Oct 2023
-
Is there a real time graphics llibrary in c#
A couple other options than what has been suggested so far: - TerraFX.Interop.Windows. Raw, blittable, 1:1 bindings for all Win32, D2D/D3D11/D3D12 APIs (there's also a version with Vulkan bindings). As close to doing #include as you can get in C#. This is my personal favorite, I use it in my own ComputeSharp library, and transitively we use it in the Microsoft Store too 🙂 - Silk.NET another version of high-performance bindings, more opinionated than TerraFX and with some additional helpers to make it a bit easier to use.
-
What can Go do that C# can't?
A hello world .NET console app with NativeAOT is 1.08 MB. Goes down to 1.08 MB with some tweaking. Goes below 1MB with more tweaking. I have a fully self-contained NativeAOT sample app that renders some fancy animated shaders with DX12 that's about 2MB in size.
-
C# and GPU programming
I dont think it's exactly what you're looking for, but I've found ComputeSharp to be a great C# GPU tool
-
Source Generator Debug always NulLReferecneException
Here's some: - MVVM Toolkit - PolySharp - ComputeSharp
- Rust bindings for Avalonia UI Framework
- [WinUI] High level 2D rendering library
-
What library should I use to make basic 2D graphics which is simple to use and that is able to quickly draw a bunch of particles (circles) on the screen with updating positions every frame? (Not the best description ever. I explain it better in the post's text)
If you don't mind being Windows only, I would also recommend trying out (shameless plug) ComputeSharp. You can find it on NuGet and it's available for UWP and WinUI 3 as well with ready to use XAML controls. The point is that it would allow you do your entire rendering via pixel/compute shaders, so it could basically run entirely on the GPU. That'd allow you to render even millions of particles with pretty good performance 🙂
-
What library to code a Screensaver?
Create a UWP or WinUI 3 applicaation and use the AnimatedComputeShaderPanel from ComputeSharp. The library lets you write shaders (ie. code to run on the GPU) entirely in C#, and handles all the logic to setup a DX12 animated swapchain, similar to Win2D. If you look at the repo you can also see a whole bunch of examples, which you can also try out for yourself. There's also several wiki pages with lots of info.
- GitHub - ComputeSharp: A .NET library to run C# code on the GPU through DX12 (Not Godot)
What are some alternatives?
swift - The Swift Programming Language
ShaderGen - Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
raylib - A simple and easy-to-use library to enjoy videogames programming
K_means-clustering - K_means clustering implementation in C++20 and range-v3
CSharp-Unity-Compute-Shader - Create compute shaders for Unity with C#.
BrimsonFX - Image and video processing shaders for ReShade (convolutions, GPU Horn-Schunk/Lucas-Kanade, etc.)
SharpDX
dotnet - .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
VL.Fuse - A library for visually programming on the GPU, built to enable rapid workflows and modular approaches to accelerated graphics, logic and computation.
SimpleSIMD - Easy to use SIMD accelerated Array and Span methods
DirectN - Direct interop Code for .NET Framework, .NET Core and .NET 5+ : DXGI, WIC, DirectX 9 to 12, Direct2D, Direct Write, Direct Composition, Media Foundation, WASAPI, CodecAPI, GDI, Spatial Audio, DVD, Windows Media Player, UWP DXInterop, WinUI3, etc.