Forwarded from Programming Deadlock
Barebones RISC-V OS written in Zig
https://timmy.moe/blog/barebones-os-zig/
https://timmy.moe/blog/barebones-os-zig/
Forwarded from Programming Deadlock
The Green Tea Garbage Collector (Go)
https://go.dev/blog/greenteagc
https://go.dev/blog/greenteagc
go.dev
The Green Tea Garbage Collector - The Go Programming Language
Go 1.25 includes a new experimental garbage collector, Green Tea.
Forwarded from Programming Deadlock
Porting Lean to the ESP32-C3 RISC-V microcontroller
https://kuruczgy.com/blog/2024/07/31/lean-esp32/
https://kuruczgy.com/blog/2024/07/31/lean-esp32/
Forwarded from Programming Deadlock
Practical Security in Production: Hardening the C++ Standard Library at massive scalehttps://queue.acm.org/detail.cfm?id=3773097
Forwarded from Programming Deadlock
Compiler Options Hardening Guide for C and C++
https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
OpenSSF Best Practices Working Group
Compiler Options Hardening Guide for C and C++
The Best Practices for OSS Developers working group is dedicated to raising awareness and education of secure code best practices for open source developers.
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