Making foreach on an IEnumerable allocation-free using reflection and dynamic methods
Explains a technique using reflection and dynamic methods to eliminate allocations when using foreach on an IEnumerable<T> in C#.
Explains a technique using reflection and dynamic methods to eliminate allocations when using foreach on an IEnumerable<T> in C#.
Java 26 introduces warnings and restrictions on using reflection to mutate final fields, a significant change for developers.
Explores the new [UnsafeAccessorType] feature in .NET 10, which improves access to private members in code compared to earlier .NET versions.
An exploration of reflectively accessing built-in ColdFusion functions, showing limitations and differences between Adobe ColdFusion and Lucee CFML.
A guide to creating generic C# helper methods with enum constraints for reading Description attributes in .NET.
A personal reflection on the end of the JS Party podcast, its community impact, and lessons learned over seven years.
Explores how .NET library authors can use source generators and generic programming to avoid complex runtime reflection, especially for Native AOT support.
Explores .NET 8's new UnsafeAccessorAttribute for faster, AOT-friendly reflection, comparing it to traditional methods with benchmarks.
A technical guide on using Zig's metaprogramming features, specifically reflection, to parse CSS into typed structs and pretty-print the results.
A guide to building a simple, reflection-based object mapper in C#, explaining the core concepts behind libraries like AutoMapper.
A guide on how to find all Spring beans with a specific method-level annotation, using custom event listeners as an example.
Explains why function pointers fail with instance methods and large structs in C#, detailing a stack corruption issue.
A developer's status update on FOSS projects: chat.sr.ht beta, a secret programming language, visurf browser, and antiweb CSS toolkit.
Explains how reflection is implemented in a new systems programming language, including type introspection and runtime type manipulation.
A developer reflects on public drama with Tailwind CSS, apologizes, and shares lessons learned about communication in open source.
A guide to writing unit tests that ensure ASP.NET MVC action methods have the ValidateAntiForgeryToken attribute, with tips for the ReSharper/Rider test runner.
A talk exploring three advanced techniques for understanding Swift's internals: SIL, debug toolchains, and reflection.
Explores the conflict between Java's reflection API and the strong encapsulation introduced by Project Jigsaw's module system in Java 9.
Explores why reflection in .NET is slow, examining CLR design goals, internal data structures, and the multi-step invocation process.
Explains how to modify Java final fields using reflection, discusses compile-time constants, and warns about unexpected behavior.