A single .md file with tips & tricks for high-performance .NET/C# code, mostly meant for AI, and mostly aimed at benchmarks against the crustaceans π https://t.co/Z6UB7q8eip (no unsafe!)
Contributions welcome if anything's missing, cc @axeng200@ben_a_adams
Opened a small PR to make LLVM use SIMD for fixed-length memcmp calls on arm64. Current codegen is a bit suboptimal: https://t.co/uC3Kwwa20b (up to 2x slower than SIMD)
Not sure it'll get reviewed amid the flood of contributions, though π PR: https://t.co/eompMNgO70
@4osp3l@JB_Hannibal Right, although, nowadays an average bug-hunter is just "hey glm, go find bugs", then "here are the 10 slop bugs I found, give me my 10000$"
Added a bonus prompt to check a library for safety issues before adding it as a dependency: https://t.co/tXqr7dfvR8
If it flags lots of issues in yet another blazing-fast lib full of unsafe code, consider a safer alternative π
@_neonsunset@neuecc@James_M_South It kind of makes sense, doesn't it? PGO allows jit to spend extra efforts in hot blocks and inline a lot less in cold ones. In NAOT without a profile (note: AOT fully supports PGO) there are no cold regions - we can't inline less to inline more π€·
@buybackoff@axeng200@ben_a_adams You can make a helper that Slices a span to the point data is aligned (GC can move it & change the alignment, but it's a rare event and shouldn't be a correctness issue). But we might get the API eventually too. It's just that GC overall doesn't support custom alignment.
A single .md file with tips & tricks for high-performance .NET/C# code, mostly meant for AI, and mostly aimed at benchmarks against the crustaceans π https://t.co/Z6UB7q8eip (no unsafe!)
Contributions welcome if anything's missing, cc @axeng200@ben_a_adams
@haefeledev I think the frontier model/harnesses are that good enough. The question is only the budget you're willing to spend (sometimes you can explicitly tell it how many and of what model subagents it should use)