Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
zig
Explore topics
#zig
Global
Trending
Hot
New
Payout
Muted
Promoted
#zig
New
#zig
Follow to get notified about new posts with this tag
Get #zig by email
Follow
scipio
StemSocial
2M
Learn Zig Series (#142) - Regex: NFA to DFA
Learn Zig Series (#142) - Regex: NFA to DFA What will I learn? Why the set-of-states NFA simulation from last episode, though linear, still does quit some redundant work on every single character; What
$ 0.769
20
1
scipio
StemSocial
2M
Learn Zig Series (#141) - Regex: Thompson NFA
Learn Zig Series (#141) - Regex: Thompson NFA What will I learn? What a regular expression really is underneath the syntax -- a description of a tiny state machine, not a magic string; Why the fast, industrial
$ 0.729
25
1
1
scipio
StemSocial
2M
Learn Zig Series (#140) - JIT Compilation Basics
Learn Zig Series (#140) - JIT Compilation Basics What will I learn? What a JIT compiler really is -- and why it sits between an interpreter and an ahead-of-time compiler rather than replacing either; How
scipio
StemSocial
2M
Learn Zig Series (#139) - Garbage Collection: Generational
Learn Zig Series (#139) - Garbage Collection: Generational What will I learn? Why the mark-and-sweep collector from last episode does far too much work, and how the weak generational hypothesis -- "most
scipio
StemSocial
2M
Learn Zig Series (#138) - Garbage Collection: Mark and Sweep
Learn Zig Series (#138) - Garbage Collection: Mark and Sweep What will I learn? What a garbage collector actually is once you strip away the folklore -- a subsystem that answers one question, "which
scipio
StemSocial
2M
Learn Zig Series (#137) - Closures and Upvalues
Learn Zig Series (#137) - Closures and Upvalues What will I learn? What a closure really is once you strip away the mystique -- a function bundled together with the variables it captured -- and why that
scipio
StemSocial
2M
Learn Zig Series (#136) - Stack-Based Virtual Machine
Learn Zig Series (#136) - Stack-Based Virtual Machine What will I learn? What a virtual machine actually is once the mystique is stripped away -- a loop, an instruction pointer, and a stack -- and why
scipio
StemSocial
2M
Learn Zig Series (#135) - Bytecode Design
Learn Zig Series (#135) - Bytecode Design What will I learn? Why a tree-walking interpreter is slow by construction, and what a flat instruction stream buys you that a tree never can; What bytecode actually
scipio
StemSocial
2M
Learn Zig Series (#134) - Type Checking
Learn Zig Series (#134) - Type Checking What will I learn? Why a program that parses perfectly can still be complete nonsense, and what a type checker actually is -- the stage that asks "does this
scipio
StemSocial
2M
Learn Zig Series (#133) - AST Design and Traversal
Learn Zig Series (#133) - AST Design and Traversal What will I learn? Why the bare tree we hacked together last episode is not good enough the moment you want to do anything with a program, and what a
scipio
StemSocial
2M
Learn Zig Series (#132) - Recursive Descent Parsing
Learn Zig Series (#132) - Recursive Descent Parsing What will I learn? Why a recursive-descent parser is just one small function per grammar rule, and how that maps almost mechanically onto the language
scipio
StemSocial
3M
Learn Zig Series (#131) - Lexing a Simple Language
Learn Zig Series (#131) - Lexing a Simple Language What will I learn? Why the tokenizer we wrote for SQL last episode is the exact same tool we need to build a whole programming language, and what changes
scipio
StemSocial
3M
Learn Zig Series (#130) - Mini Project: Database Engine - SQL Parser
Learn Zig Series (#130) - Mini Project: Database Engine - SQL Parser What will I learn? Why an index you drive by calling insert and search from Zig is a library, not a database, and what the missing piece
scipio
StemSocial
3M
Learn Zig Series (#129) - Mini Project: Database Engine - B-Tree Index
Learn Zig Series (#129) - Mini Project: Database Engine - B-Tree Index What will I learn? Why a flat heap of records in pages is storage but not yet a database, and how an index turns "scan every
scipio
StemSocial
3M
Learn Zig Series (#128) - Mini Project: Database Engine - Page Storage
Learn Zig Series (#128) - Mini Project: Database Engine - Page Storage What will I learn? Why real databases store their data in fixed-size pages in stead of writing records at arbitrary offsets, and how
scipio
StemSocial
3M
Learn Zig Series (#127) - Mini Project: Search Engine - Query Parser
Learn Zig Series (#127) - Mini Project: Search Engine - Query Parser What will I learn? Why a search box that only takes a flat bag of words is missing the thing users actually type -- structure -- and
scipio
StemSocial
3M
Learn Zig Series (#126) - Mini Project: Search Engine - TF-IDF
Learn Zig Series (#126) - Mini Project: Search Engine - TF-IDF What will I learn? Why an engine that only finds matching documents is only half a search box, and what the missing half -- ranking -- actually
scipio
StemSocial
3M
Learn Zig Series (#125) - Mini Project: Search Engine - Inverted Index
Learn Zig Series (#125) - Mini Project: Search Engine - Inverted Index What will I learn? Why the obvious way to search -- scan every document for the word on every query -- is fine for a shoebox of files
scipio
StemSocial
3M
Learn Zig Series (#124) - Consistent Hashing
Learn Zig Series (#124) - Consistent Hashing What will I learn? Why the innocent-looking hash(key) % server_count -- the first thing everyone reaches for to spread keys across a cluster -- turns into a
scipio
StemSocial
3M
Learn Zig Series (#123) - LRU Cache
Learn Zig Series (#123) - LRU Cache What will I learn? Why a cache with a hard size limit needs to answer two questions at once -- "what is this key's value?" and "which entry have I not
← Latest
Older →
Discover communities
Explore communities
Create your community