GNU Indirect Function
https://maskray.me/blog/2021-01-18-gnu-indirect-function
https://maskray.me/blog/2021-01-18-gnu-indirect-function
MaskRay
GNU indirect function
Updated in 2024-04. GNU indirect function (ifunc) is a mechanism making a direct function call resolve to an implementation picked by a resolver. It is mainly used in glibc but has adoption in FreeBSD
Cosmopolitan Libc: makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable.https://github.com/jart/cosmopolitan
GitHub
GitHub - jart/cosmopolitan: build-once run-anywhere c library
build-once run-anywhere c library. Contribute to jart/cosmopolitan development by creating an account on GitHub.
👍1🤔1
The Sandboxed API project (SAPI) makes sandboxing of C/C++ libraries less burdensome: after initial setup of security policies and generation of library interfaces, a stub API is generated, transparently forwarding calls using a custom RPC layer to the real library running inside a sandboxed environment.
https://github.com/google/sandboxed-api
https://github.com/google/sandboxed-api
GitHub
GitHub - google/sandboxed-api: Generate sandboxes for C/C++ libraries automatically
Generate sandboxes for C/C++ libraries automatically - google/sandboxed-api
Zig Compiler Internals: Zig Sema (ZIR => AIR)
https://mitchellh.com/zig/sema
https://mitchellh.com/zig/sema
LMAX Disruptor:
High Performance Inter-Thread Messaging Library
https://lmax-exchange.github.io/disruptor/
High Performance Inter-Thread Messaging Library
https://lmax-exchange.github.io/disruptor/
lmax-exchange.github.io
LMAX Disruptor
Announcing the FreeBSD/Firecracker platform
https://www.daemonology.net/blog/2022-10-18-FreeBSD-Firecracker.html
https://www.daemonology.net/blog/2022-10-18-FreeBSD-Firecracker.html
Using WebAssembly threads from C, C++ and Rust
https://web.dev/webassembly-threads/
https://web.dev/webassembly-threads/
Bit Twiddling Hacks
https://graphics.stanford.edu/~seander/bithacks.html
https://graphics.stanford.edu/~seander/bithacks.html
euro2022.pdf
2.8 MB
The “other” FreeBSD optimizations used
by Netflix to serve video at 800Gb/s from
a single server
by Netflix to serve video at 800Gb/s from
a single server
Where does Python 3.11 get its ~25% Speedup?
https://log.beshr.com/python-311-speedup-part-1/
https://log.beshr.com/python-311-speedup-part-1/
Zig's I/O and Concurrency Story
https://youtu.be/Ul8OO4vQMTw
https://youtu.be/Ul8OO4vQMTw
YouTube
Zig's I/O and Concurrency Story - King Protty - Software You Can Love 2022
0:00 Talk
30:13 Q&A
30:13 Q&A
❤1
Your next C compiler is a D compiler: Introducing DMD's ImportC
https://briancallahan.net/blog/20220704.html
https://briancallahan.net/blog/20220704.html
A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
https://github.com/samber/lo
https://github.com/samber/lo
GitHub
GitHub - samber/lo: 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...) - samber/lo
[RFC] MDL: A Micro-Architecture Description Language for LLVM
https://discourse.llvm.org/t/rfc-mdl-a-micro-architecture-description-language-for-llvm/66409
https://discourse.llvm.org/t/rfc-mdl-a-micro-architecture-description-language-for-llvm/66409
LLVM Discussion Forums
[RFC] MDL: A Micro-Architecture Description Language for LLVM
TL;DR: We’ve created a DSL and compiler for modeling micro-architecture that handles a very broad class of architectures - CPU, GPUs, VLIWs, DSPs, ML accelerators, and embedded devices. This effort grew out of a need to quickly develop and experiment with…
libgccjit: an API for embedding GCC inside programs and librarieshttps://gcc.gnu.org/onlinedocs/jit/