HonkPerf.NET
CliWrap
HonkPerf.NET | CliWrap | |
---|---|---|
3 | 16 | |
151 | 4,135 | |
1.3% | - | |
0.0 | 8.0 | |
over 1 year ago | 6 days ago | |
C# | C# | |
- | 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.
HonkPerf.NET
-
Zero allocation Linq with Source generator
Good luck with that, I knew somebody's gonna make it lol. I also made a zero alloc Linq, but without SG (in the readme you can see comparative tables)
-
.NET Myths Dispelled
- Unfortunately LINQ is no match to Rust iterators which get easily vectorized. However, there are low-allocations and simd-ified implementations which might help with your goals. See https://github.com/asc-community/HonkPerf.NET
After all, DDD requires special care when describing its domain definitions in code but you really don't have to go OOP route nowadays for the core logic of your applications. Also records and record structs make it very easy to define contracts and state on the go without having to go with tons of boilerplate I keep seeing in a very much DDD-oriented project my team is responsible for.
-
Yet Another Better Linq Library
I intentionally did not implement any API from Linq which would imply allocations - such as SkipLast (which needs to store a temporary buffer), ToArray, etc. Here's the list of all implemented methods.
CliWrap
-
Referencing external Docker containers in .NET Aspire using the new custom resources API
We will use the command docker logs --follow CONTAINER-NAME-OR-ID to retrieve the logs of the external container. To facilitate the execution of the external docker process, we will use CliWrap instead of the primitive Process.
-
ModularPipelines - Strong-Typed, Parallel, C# Pipelines - Would appreciate feedback and thoughts
That being said, keep up the good work. I see a lot of potential in combo with libs like https://github.com/Tyrrrz/CliWrap
-
Process Ids on C#
Check out CliWrap. https://github.com/Tyrrrz/CliWrap
-
A History of the FFmpeg Project
I am using CliWrap to create my own wrapper for the functionality I need from FFmpeg. Works pretty well!
https://github.com/Tyrrrz/CliWrap
-
Creating a service that runs other executables (Windows Server)
Take a look at https://github.com/Tyrrrz/CliWrap for calling another process from one process.
- Calling PowerShell Azure module and creating resource group from C#
-
Why do Task.Wait and Task.Result even exist?
For example, using the great Cli.Wrap library:
-
Add persisted parameters to CLI applications in .NET
We can use Verify to perform snapshot testing and check for the correct output of the program. In order to make things easier and simplify working with process output capturing and invocation, I used CliWrap.
- GUI for a command line program
-
I Want Off Mr. Golang's Wild Ride
> You can take a look at System.Diagnostics.Process for one of the worst offenders.
Yeah, this is one of my least favourite APIs in all of .NET. My understanding is that the .NET team is planning to redo it in the next few years, but if you want something better right now I highly recommend the excellent CliWrap library: https://github.com/Tyrrrz/CliWrap
What are some alternatives?
atldotnet - Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
Sieve - ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Command Line Parser - The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
sdk - Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
Fluent Command Line Parser - A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
spectre.console - A .NET library that makes it easier to create beautiful console applications.
OperationResult - Rust-style error handling for C#
CsConsoleFormat - .NET C# library for advanced formatting of console output [Apache]
core - .NET news, announcements, release notes, and more!
SharpNetSH - A simple netsh library for C#