Advertisement · 728 × 90

Posts by

The tooling and ecosystem, such as how well opentelemetry is integrated into the standard library.

1 month ago 0 0 0 0

Have you faced any challenges with AOT that tempted you back to JIT?

2 months ago 1 0 1 0
Preview
Matching Speed vs. Matching Position: Visualising the Triple Lock's Mathematical Flaw An interactive visualization showing how the UK's pension triple lock contains a mathematical design flaw that has cost taxpayers over £85 billion since 2012.

richardcocks.github.io/pension-trip...

5 months ago 0 0 0 0
Preview
Automated test coverage and perf experiment · Issue #179 · fsprojects/FSharp.Control.AsyncSeq In my work at GitHub Next we are looking at partially automated test coverage and perf improvement for repository maintainers. The aim is to have AI help improve the quality of software. I will be ...

In which Don burns $200 to improve test coverage and improve performance in an F# community library.

#fsharp

github.com/fsprojects/F...

7 months ago 37 7 0 2
Preview
Performance Pitfalls in C# / .NET - List Contains Looking at the performance of a C# helper method for Contains

richardcocks.github.io/2025-08-09-P...

8 months ago 0 0 0 0

That sounds very useful!

9 months ago 0 0 0 0
Post image

Coming to an ASP.NET Core HTTPS development certificate near you soon...

9 months ago 42 7 5 2

It's true, although I'd note access modifiers aren't really about "security". Even in .NET they're still a "pretty please", you can still get at them via reflection.

9 months ago 0 0 0 0

I'm curious what problem "properties should not exist" solves for you, because that implies that "non static methods should not exist", else people will just write methods "T GetFoo()" and "void SetFoo(T value)" as happened long before auto properties.

1 year ago 0 0 0 0
Advertisement
Preview
What's faster than Memcmp What could be faster than memcmp? How to quickly compare arrays using Span

What's faster than using P/Invoke to call memcmp in .NET / C# ? SequenceEquals is! #csharp #dotnet

1 year ago 0 0 0 0

That use case makes sense. NB: I made a mistake in my code, the accumulator ought to be seeded by a different prime number than the multiplication, e.g. 23, not zero, to make the outcome appear more random.

1 year ago 1 0 0 0
C# Online Compiler | .NET Fiddle Test your C# code online with .NET Fiddle code editor.

Also, here's a fiddle with a stable string to int function: dotnetfiddle.net/NHCEHE

It's not optimised, there are faster & better ways to do this if it is a bottleneck in your application or key functionality.

1 year ago 1 0 1 0
C# Online Compiler | .NET Fiddle Test your C# code online with .NET Fiddle code editor.

Here's a fiddle to demonstrate: dotnetfiddle.net/zJMQ3D

Both "runs" have consistent randomisation because the same seed(s) are used.

1 year ago 0 0 1 0

Have you tried seeding a Random object with `var random = new Random(int seed)` and then calling `random.Shuffle()` to shuffle your items? I'm not clear on your need to convert your string to int, although Encoding.UTF8.GetBytes may be a path to what you're after there too.

1 year ago 0 0 1 0
Preview
GitHub - Cysharp/ZLinq: Zero allocation LINQ with Span and LINQ to SIMD, LINQ to Tree (FileSystem, Json, GameObject, etc.) for all .NET platforms and Unity. Zero allocation LINQ with Span and LINQ to SIMD, LINQ to Tree (FileSystem, Json, GameObject, etc.) for all .NET platforms and Unity. - Cysharp/ZLinq

The moment "allows ref struct" was introduced, my first thought was "we can improve LINQ and also make it available for Span".

And someone has done it. Great work, kudos to the author.

#dotnet #csharp

github.com/Cysharp/ZLinq

1 year ago 29 8 1 0

A post about using BenchmarkDotNET and modern C#/.NET features to fix some co-pilot output. #dotnet #csharp #benchmarkdotnet #performance #copilot

1 year ago 0 0 0 0
Preview
From the factorio community on Reddit: Where's that rocket going? ( Factorio + Rimworld modded to trigger via MQTT ) Explore this post and more from the factorio community

I got my rimworld mod working and sent it events from factorio. #mqtt #dotnet

1 year ago 0 0 0 0

Just finished setting up #homeassistant , I'm starting to understand why #iot is popular.

1 year ago 1 0 0 0

Designing Data-Intensive Applicaitons (DDIA) is by far the most important and insightful systems design book I've ever read. #ddia

1 year ago 0 0 0 0
Advertisement