Forwarded from Programming Deadlock
Memory is slow, Disk is fast (C)
https://www.bitflux.ai/blog/memory-is-slow-part2/
https://www.bitflux.ai/blog/memory-is-slow-part2/
Forwarded from Programming Deadlock
The Arena: Custom Memory Allocators in Chttps://www.bytesbeneath.com/p/the-arena-custom-memory-allocators
Bytesbeneath
The Arena - Custom Memory Allocators in C
Easy, Flexible Memory Management
Forwarded from Programming Deadlock
Writing Your Own Memory Allocators in C++
https://screwjankgames.github.io/engine%20programming/2020/09/24/writing-your-own-memory-allocators.html
https://screwjankgames.github.io/engine%20programming/2020/09/24/writing-your-own-memory-allocators.html
Screwjank Games
Writing Your Own Memory Allocators in C++
I’ve recently started working on a new game engine and, since I have no restraint, task zero was writing custom memory allocators. C++’s built in malloc() and new are great tools for getting a hold of raw memory, but they don’t leave any room for customization…
Forwarded from Programming Deadlock
Dependency Inversion in C
https://www.volatileint.dev/posts/dependency-inversion-c/
https://www.volatileint.dev/posts/dependency-inversion-c/
Volatile Int
Dependency Inversion in C: A Technique for Extensible Embedded Software
Learn how to implement dependency inversion in C using function pointer interfaces to decouple high-level logic from implementation details.
Forwarded from Programming Deadlock
The Cost Of a Closure in C
https://thephd.dev/the-cost-of-a-closure-in-c-c2y
https://thephd.dev/the-cost-of-a-closure-in-c-c2y
The Pasture
The Cost of a Closure in C
I had a vague idea that closures could have a variety of performance implications; I did not believe that so many of the chosen and potential designs for C a...
Forwarded from Programming Deadlock
A Comprehensive Guide on Game Hacking
#0 Runtime Function Patching: https://bananamafia.dev/post/cvar-hax
#1 Developing Hacks for idTech3 Based Games: https://bananamafia.dev/post/multihack
#2 Coding A CS:GO Hack: https://bananamafia.dev/post/bananabot
#3 Hooking Direct3D EndScene(): https://bananamafia.dev/post/d3dhook
#4 Cheating in Unity Games: https://bananamafia.dev/post/frida-unity
#5 Hacking Walls and Particles: https://bananamafia.dev/post/cs-aimbot-wallhax
#6 Cheating on Console with Lua: https://bananamafia.dev/post/ps2ps4
#0 Runtime Function Patching: https://bananamafia.dev/post/cvar-hax
#1 Developing Hacks for idTech3 Based Games: https://bananamafia.dev/post/multihack
#2 Coding A CS:GO Hack: https://bananamafia.dev/post/bananabot
#3 Hooking Direct3D EndScene(): https://bananamafia.dev/post/d3dhook
#4 Cheating in Unity Games: https://bananamafia.dev/post/frida-unity
#5 Hacking Walls and Particles: https://bananamafia.dev/post/cs-aimbot-wallhax
#6 Cheating on Console with Lua: https://bananamafia.dev/post/ps2ps4
Forwarded from Programming Deadlock
Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step (C++)
https://youtube.com/watch?v=ncHmEUmJZf4
https://youtube.com/watch?v=ncHmEUmJZf4
YouTube
CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
http://CppCon.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017
—
Hash tables consume a large volume of both compute resources and memory across Google's production system. The…
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017
—
Hash tables consume a large volume of both compute resources and memory across Google's production system. The…
Forwarded from Programming Deadlock
Dependable C: A subset of C for developers who want to develop, widely portable, and compilable, software in Classic Chttps://dependablec.org/
Forwarded from Programming Deadlock
p3100r5.pdf
862 KB
A framework for systematically addressing undefined behaviour in the C++ Standard
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3100r5.pdf
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3100r5.pdf
Forwarded from Programming Deadlock
Dive into Systems (Book)
https://diveintosystems.org/book/
https://diveintosystems.org/book/
Forwarded from Programming Deadlock
overflow12.pdf
238 KB
Understanding Integer Overflow in C/C++
https://users.cs.utah.edu/~regehr/papers/overflow12.pdf
https://users.cs.utah.edu/~regehr/papers/overflow12.pdf
Forwarded from Programming Deadlock
Introduction to System Programming in Linux
https://github.com/stewartweiss/intro-linux-sys-prog
https://github.com/stewartweiss/intro-linux-sys-prog
GitHub
GitHub - stewartweiss/intro-linux-sys-prog: A repository of all code from Introduction to System Programming in Linux, by Stewart…
A repository of all code from Introduction to System Programming in Linux, by Stewart Weiss - stewartweiss/intro-linux-sys-prog
Forwarded from Libreware
yt-fts - YouTube Full Text Search
https://github.com/NotJoeMartinez/yt-fts
yt-fts is a command line program that uses yt-dlp to scrape all of a #YouTube channels #subnoscripts and load them into a sqlite database that is searchable from the command line. It allows you to query a channel for specific key word or phrase and will generate time stamped YouTube urls to the video containing the keyword.
It also supports semantic search via the OpenAI embeddings API, Gemini embedding API and using chromadb.
Blog Post
LLM/RAG Chat Bot
Video Summaries
Semantic Search
CHANGELOG
Installation:
#yt
https://github.com/NotJoeMartinez/yt-fts
yt-fts is a command line program that uses yt-dlp to scrape all of a #YouTube channels #subnoscripts and load them into a sqlite database that is searchable from the command line. It allows you to query a channel for specific key word or phrase and will generate time stamped YouTube urls to the video containing the keyword.
It also supports semantic search via the OpenAI embeddings API, Gemini embedding API and using chromadb.
Blog Post
LLM/RAG Chat Bot
Video Summaries
Semantic Search
CHANGELOG
Installation:
pip install yt-fts#yt
GitHub
GitHub - NotJoeMartinez/yt-fts: YouTube Full Text Search - Search all of YouTube from the command line
YouTube Full Text Search - Search all of YouTube from the command line - NotJoeMartinez/yt-fts
Forwarded from Libreware
How to run #ADB and #fastboot in #Termux without root to unlock #bootloader, run ADB commands, remove #bloatware, flash ROM, or even root another #Android
https://www.mobile-hacker.com/2025/06/16/how-to-run-adb-and-fastboot-on-a-non-rooted-android-smartphone-using-termux/:
1. It supports debloating of various manufacturers and mobile carriers such as LG, Samsung, Xiaomi, Huawei, Oppo, Realme, Vivo, ZTE, OnePlus, Nokia, Sony, Asus, Google, Fairphone, Motorola, Tecno, Unihertz.
2. Full access to the app’s private storage — including databases, tokens, cached credentials, config files, or even offline user data.
3. Another common issue in AndroidManifest.xml is this flag: When enabled (which it is by default unless explicitly disabled), Android allows the app’s private data to be backed up via ADB — again, even on non-rooted devices.
Android, use termux-adb command instead of adb
https://github.com/nohajc/termux-adb
Android debloater for pc and debloat lists
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/blob/main/resources/assets/uad_lists.json
#debloat
https://www.mobile-hacker.com/2025/06/16/how-to-run-adb-and-fastboot-on-a-non-rooted-android-smartphone-using-termux/:
1. It supports debloating of various manufacturers and mobile carriers such as LG, Samsung, Xiaomi, Huawei, Oppo, Realme, Vivo, ZTE, OnePlus, Nokia, Sony, Asus, Google, Fairphone, Motorola, Tecno, Unihertz.
2. Full access to the app’s private storage — including databases, tokens, cached credentials, config files, or even offline user data.
3. Another common issue in AndroidManifest.xml is this flag: When enabled (which it is by default unless explicitly disabled), Android allows the app’s private data to be backed up via ADB — again, even on non-rooted devices.
Android, use termux-adb command instead of adb
https://github.com/nohajc/termux-adb
Android debloater for pc and debloat lists
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/blob/main/resources/assets/uad_lists.json
#debloat
Mobile Hacker
How to Run ADB and Fastboot on a Non-Rooted Android Smartphone Using Termux
Thanks to Termux and the clever termux-adb project, you can run ADB and Fastboot directly from your phone — no computer needed. This guide breaks down how to install it, how it works, and practical use cases.
❤1
Bare Metal programming in C
https://youtube.com/playlist?list=PLfmqEuMw4rP3NMBsl9IYPYWro1N4tYkzB&si=YIDqbTUADrppsc3U
https://youtube.com/playlist?list=PLfmqEuMw4rP3NMBsl9IYPYWro1N4tYkzB&si=YIDqbTUADrppsc3U
🔥1