Apparatus.AOT.Reflection
Reflectionless reflection (by byme8)
generator-start
template repository for a roslyn source generator (by jmarolf)
Apparatus.AOT.Reflection | generator-start | |
---|---|---|
5 | 2 | |
48 | 21 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Apparatus.AOT.Reflection
Posts with mentions or reviews of Apparatus.AOT.Reflection.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-03.
- Reflection -> Source Generated
-
How to Get Enum Member Name with the Related Int Value
If you dig deeper you will find out that it is a really slow way to do it. Right now, there is no easy and fast way to get a name, value, or enum value attributes in dotnet. You can't do it efficiently only with 3-party libraries. For example, the AOT.Reflection(to be clear I am the author of the library) does what you want and does it efficiently.
-
Improving C# with TypeScript. KeyOf<T>
From the article: https://github.com/byme8/Apparatus.AOT.Reflection
-
Improving C# with TypeScript. KeyOf<T>
Github, Nuget
-
AOT.Reflection
The complete source code of benchmarks you can find here.
generator-start
Posts with mentions or reviews of generator-start.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-07.
-
Does anyone know how to write a source generator completely from scratch?
I've tried following this MS article about source generators to a tee, but it just doesn't work. I then got linked this template, but it contains a ton of stuff I have no idea what it does and why it may or may not be required for the generator to function. Does anyone actually know the minimum amount of stuff that is required for a source generator to work and how to write one completely from scratch without any templates? I would really like to avoid cluttering up my solution with unnecessary files.
-
The pain points of C# source generators
Testing and therefore debugging source generators manually is quite simple, see: https://github.com/jmarolf/generator-start/blob/main/tests/AutoNotifyGeneratorTests.cs as a template.
What are some alternatives?
When comparing Apparatus.AOT.Reflection and generator-start you can also consider the following projects:
roslyn-sdk - Roslyn-SDK templates and Syntax Visualizer
PrimaryParameter - Using a Field or Property attribute on parameters. Automaticaly generate private readonly fields or private properties. Forbid the use of primary constructor's parameters.
safe-routing - A C# source generator for ASP.NET Core razor pages and MVC controllers which produces strongly-typed identifiers for routes.
HttpClientCodeGenerator - HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.