Kuri is a Zig-based alternative to agent-browser frameworks. The project provides a lightweight, efficient browser automation tool built with the Zig programming language for modern web scraping and automation tasks.
#zig
16 items
MerJS is a Zig-native web framework that operates without Node.js. It leverages Zig's native capabilities to provide a streamlined web development experience outside the JavaScript ecosystem.
Zig 0.16.0 introduces "Juicy Main," a dependency injection feature for the main() function that provides access to useful properties like allocators, I/O, environment variables, and CLI arguments through a process.Init parameter.
The article presents a tokenizer implementation in Zig programming language, demonstrating how to parse source code into tokens. It explains the tokenizer's design and provides practical code examples for lexical analysis.
Zig Parser
2.0The article discusses Zig's parser implementation, highlighting its design choices and technical approach to parsing the Zig programming language. It explains how the parser handles syntax and language features.
Zig AstGen is a compiler component that transforms Abstract Syntax Trees (AST) into Zig Intermediate Representation (ZIR). This intermediate representation serves as a lower-level format for further compilation stages in the Zig programming language.
Zig Sema is a compiler component that transforms ZIR (Zig Intermediate Representation) into AIR (Analysis Intermediate Representation). This process is part of Zig's compilation pipeline for semantic analysis and optimization.
The article explores integrating the Zig programming language with SwiftUI for iOS development. It discusses using Zig to write performance-critical components while leveraging SwiftUI for the user interface. The approach aims to combine Zig's low-level control with SwiftUI's modern declarative UI framework.
The article introduces Ghostty, a new terminal emulator built with Zig, and discusses useful Zig programming patterns used in its development. It explores how Zig's features enable building efficient, modern terminal applications with clean architecture.
Zig's comptime feature allows developers to conditionally disable code at compile time using compile-time boolean expressions. This enables creating different program configurations without runtime overhead by excluding unused code paths during compilation.
Zig's comptime feature enables creating tagged union subsets by filtering types at compile time. This approach allows developers to generate specialized union types from larger unions while maintaining type safety. The technique demonstrates Zig's powerful compile-time metaprogramming capabilities.
Mitchell Hashimoto has pledged $300,000 to the Zig Software Foundation to support the development of the Zig programming language. The donation aims to help fund the foundation's work and ensure the language's continued growth.
Zig's build system is becoming faster with improvements to the compiler and build runner. Recent changes have reduced build times by optimizing dependency tracking and parallel execution. These enhancements make development workflows more efficient for Zig programmers.
The article discusses the importance of testing error recovery in Zig programming, using Tripwire as an example. It explains how to properly test error paths and recovery mechanisms to ensure robust software behavior during failures.
The author describes their personal default approach to error reporting, focusing on showing users useful error messages. This follows their previous discussion about Zig's strongly-typed error codes solving error handling.
The gzip file format contains metadata including the operating system used for compression, modification time, original filename, and other fields. A new tool called gzpeek allows users to inspect this metadata from gzip streams, revealing information that many implementations handle differently.