Writing Portable ARM64 Assembly
https://ariadne.space/2023/04/13/writing-portable-arm64-assembly/
https://ariadne.space/2023/04/13/writing-portable-arm64-assembly/
ariadne.space
Writing portable ARM64 assembly
An unfortunate side effect of the rising popularity of Apple’s ARM-based computers is an increase in unportable assembly code which targets the 64-bit ARM ISA. This is because developers are writing these bits of assembly code to speed up their programs when…
How to check if a pointer is in a range of memory (C)
https://devblogs.microsoft.com/oldnewthing/20170927-00/?p=97095
https://devblogs.microsoft.com/oldnewthing/20170927-00/?p=97095
Microsoft News
How to check if a pointer is in a range of memory
Thanks to the C language standard, it's trickier than it seems.
Deep Neural Networks from Scratch in Zig
https://monadmonkey.com/dnns-from-scratch-in-zig
https://monadmonkey.com/dnns-from-scratch-in-zig
Monadmonkey
DNNs from Scratch in Zig
Exploring the world of Zig and Deep Neural Networks
👍2
C++17: Polymorphic Allocators, Debug Resources and Custom Typeshttps://www.cppstories.com/2020/08/pmr-dbg.html/
C++ Stories
C++17: Polymorphic Allocators, Debug Resources and Custom Types
In my previous article on polymorphic allocators, we discussed some basic ideas. For example, you’ve seen a pmr::vector that holds pmr::string using a monotonic resource. How about using a custom type in such a container? How to enable it? Let’s see.
The…
The…
👍1
The Linux Kernel Module Programming Guide
https://sysprog21.github.io/lkmpg/
https://sysprog21.github.io/lkmpg/
👍6
How to Design Programs, Second Edition
https://htdp.org/2023-3-6/Book/index.html
https://htdp.org/2023-3-6/Book/index.html
🔥5👍3
💯2
Beautiful Branchless Binary Search (C++)
https://probablydance.com/2023/04/27/beautiful-branchless-binary-search/
https://probablydance.com/2023/04/27/beautiful-branchless-binary-search/
Probably Dance
Beautiful Branchless Binary Search
I read a blog post by Alex Muscar, “Beautiful Binary Search in D”. It describes a binary search called “Shar’s algorithm”. I’d never heard of it and it’s i…
Bootstrapping Uber’s Infrastructure on arm64 with Zig
https://www.uber.com/en-US/blog/bootstrapping-ubers-infrastructure-on-arm64-with-zig/
https://www.uber.com/en-US/blog/bootstrapping-ubers-infrastructure-on-arm64-with-zig/
⚡4
New C Features in GCC 13
https://developers.redhat.com/articles/2023/05/04/new-c-features-gcc-13
https://developers.redhat.com/articles/2023/05/04/new-c-features-gcc-13
Red Hat Developer
New C features in GCC 13 | Red Hat Developer
The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version will bring many
How the Raku Language (aka Perl 6) is implemented as multiple layers on a meta-object protocol (MoarVM)
https://gist.github.com/raiph/849a4a9d8875542fb86df2b2eda89296
https://gist.github.com/raiph/849a4a9d8875542fb86df2b2eda89296
Gist
Raku's "core"
Raku's "core". GitHub Gist: instantly share code, notes, and snippets.
🤯3
False Sharing (Lock-free C++)
https://en.m.wikipedia.org/wiki/False_sharing
https://en.m.wikipedia.org/wiki/False_sharing
Wikipedia
False sharing
performance-degrading usage pattern
Beating the L1 cache with value speculation
https://mazzo.li/posts/value-speculation.html?s=35
https://mazzo.li/posts/value-speculation.html?s=35
mazzo.li
Beating the L1 cache with value speculation
❤1
Programming Deadlock
Building the Fastest Lua Interpreter by using Deegen (Dynamic Language Execution Engine Generator) MetaCompiler https://sillycross.github.io/2022/11/22/2022-11-22/
Building a baseline JIT for Lua automatically by using
https://sillycross.github.io/2023/05/12/2023-05-12/
Deegen (Dynamic Language Execution Engine Generator) MetaCompilerhttps://sillycross.github.io/2023/05/12/2023-05-12/
sillycross.github.io
Building a baseline JIT for Lua automatically
This is the Part 2 of a series. Feel free to read the prequel for more context: Building the fastest Lua interpreter automatically Building a good VM for a dynamic language takes a ton of engineerin
Counterintuitive Properties of High Dimensional Space
https://marckhoury.github.io/blog/counterintuitive-properties-of-high-dimensional-space/
https://marckhoury.github.io/blog/counterintuitive-properties-of-high-dimensional-space/
👍1
👍1👎1
What is low latency C++ (using std::cpp 2023)
https://youtu.be/jjDolw1PIsM
https://youtu.be/jjDolw1PIsM
YouTube
What is Low Latency C++ Timur Doumler
It is often said that C++ is a great language for low latency systems, such as high-frequency trading, audio processing, and video games. But what exactly do we mean by "low latency"? How is that different from "high performance"? And what makes C++ a great…