#Intrinsics

N-gated Hacker Newsngate
2025-05-06

🎉 Oh joy, another thrilling journey into the depths of , as our brave author heroically tackles the burning issue of sorting faster! 🚀 Because who wouldn't want a detailed dissertation on an called "bitonic sort" that promises to revolutionize... absolutely nothing in your daily life. 😅
winwang.blog/posts/bitonic-sor

💾 Paweł Łukasikpawel_lukasik@infosec.exchange
2024-02-29

Since .NET is a high level language it's not always possible to be sure what underlying instructions will be generated by the JIT.

Hardware intrinsics in .NET allow to access hardware specific instructions if we want to trade general-purpose of our code for
speed of specific hardware-backed instructions. In .NET those instructions and types are access from System.Runtime.Intrinsics and child namespaces.

Hardware intrinsics supports a variety of instructions. With one instruction, if our processor supports it, we can calculate the number of 1s with POPCNT in the value or perform our round od AES with _mm_aesdec_si128 backed by the hardware. And the list doesn't end there. Check the link for more instructions.

Docs 📑: learn.microsoft.com/en-us/dotn

#dotnet #intrinsics #cpu #performance
---
If you find this useful, consider giving a like & share ❤.

heise online (inoffiziell)heiseonline@squeet.me
2021-07-30
Neben der Stabilisierung intrinsischer Funktionen für die wasm32-Plattform bringt das Release Ergänzungen für Makros mit.
Programmiersprache: Rust 1.54 erweitert die Anbindung an WebAssembly

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst