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
What's a Memory Allocator Anyway?
https://youtu.be/vHWiDx_l4V0
https://youtu.be/vHWiDx_l4V0
YouTube
What's a Memory Allocator Anyway? - Benjamin Feng
From Zig SHOWTIME #5
https://zig.show
0:00 Title
0:39 Talk
34:19 Interview
https://zig.show
0:00 Title
0:39 Talk
34:19 Interview
π4β€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/
LibJIT: a library that provides generic Just-In-Time compiler functionality independent of any particular bytecode, language, or runtimehttps://www.gnu.org/software/libjit/
www.gnu.org
LibJIT
Skip to main text
How to make sure no Dynamic Memory is used (C/C++)
https://mcuoneclipse.com/2022/11/06/how-to-make-sure-no-dynamic-memory-is-used/
https://mcuoneclipse.com/2022/11/06/how-to-make-sure-no-dynamic-memory-is-used/
MCU on Eclipse
How to make sure no Dynamic Memory is used
How to disable heap (dynamic memory allocation) in an embedded application? This article goes into the details of linker files and how to detect dynamic memory allocation.
π1
Language Mechanics On Escape Analysis (Go)
https://www.ardanlabs.com/blog/2017/05/language-mechanics-on-escape-analysis.html
https://www.ardanlabs.com/blog/2017/05/language-mechanics-on-escape-analysis.html
Ardan Labs
Language Mechanics On Escape Analysis
Ardan Labs is trusted by small startups and Fortune 500 companies to train their engineers and develop business software solutions and applications.