📦
Nob Utils
No description available
0 installs
Trust: 30 — Low
Other
Ask AI about Nob Utils
Powered by Claude · Grounded in docs
I know everything about Nob Utils. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
nob_utils.h - Utility plugin libraries for nob.h
This repository contains libraries build on top of or in style of nob.h
Usage
#include "nob.h"
#define NOB_HASH_IMPLEMENTATION // For hash function implementations
#include "nob_utils.h"
int main(void) {
return 0;
}
See test_ files in tests directory to see few example usage of this library.
Thirdparty
| Library | Reference |
|---|---|
nob.h | https://github.com/tsoding/nob.h |
jim.h | https://github.com/tsoding/jim |
jimp.h | https://github.com/tsoding/jim |
Note that I have modified jimp.h for my liking
Current Implementations
| Library | Description | Dependencies |
|---|---|---|
nob_fa.h | It provided nob's dynamic array ops like da_append and da_pop on a fixed length array | No Dependecies |
nob_heapq.h | It is a library that provides Python's heapq | nob.h and/or nob_fa.h Heapq supports both dynamic and fixed arrays |
nob_deque.h | It is a library that provides Double ended queue using Circular Buffer | No Dependencies |
nob_fixed_deque.h | It is a library that provides Fixed size Double ended queue using Circular Buffer | No Dependencies |
nob_hash.h | It is a library that provides many hash functions that can be used with hash tables | No Dependencies |
nob_ht.h | It is a library that provides hash table implementation using Open Addressing | nob_hash.h for the hash functions |
nob_ilist.h | It is a library that provides an implementation of "Intrusive" list that was discussed in Wookash Podcast: Avoiding Modern C++ | Anton Mikhailov (https://youtu.be/ShSGHb65f3M?si=EBeDwAQ3FkwtzqBv) | No Dependencies |
nob_profiler.h | It is a basic profiler which was discussed by Casey Muratori on his Computer Enhance Course | nob.h for nob_log and nob_fa.h for the anchors and blocks |
nob_graph.h | Simple graph library | Built on top of nob.h, nob_deque.h and nob_ht.h |
nob_rc.h | A Simple Ref. Counting Allocator inspired from Tsoding Daily - Reference Counting in C | No Dependencies |
nob_huge_page_alloc.h | A simple Huge Page Allocator using MMAP (in Linux and Macos), and VirtualAlloc for Windows | No Dependencies |
nob_br.h | A simple Buffered Reader implementation | Depends on nob.h for String_Builder, and nob_log |
nob_channels.h | A simple Channel implementation in C based on Rich Hickey's "Inside core.async Channels" by Rich Hickey (2014) talk. Note that this is mostly for POSIX system and is mostly vibe coded using Gemini and Claude Code | Depends in nob_fixed_deque.h for the Fixed deque impl. |
nob_jsonrpc.h | A simple jsonrpc implementation | Depends on nob.h, jimp.h, jim.h and nob_br.h |
nob_mcp.h | A simple MCP Server which implements tools/list and tools/call to be useful for creating MCP servers | Depends on nob.h, jimp.h, jim.h, nob_br.h and nob_jsonrpc.h |
Note No Dependencies except libc :)
Copyrights
Licensed under @MIT
