cryptocode

joined 2 years ago
MODERATOR OF
 

Based on Neotest and uses Treesitter

This enables Zig tests to be executed from within Neovim

 

Command line wireguard configuration manager for complex VPN setups.

Written in Zig with a dependency on sqlite3.

 

A Zig port of Stream VByte encoding

StreamVByte is a new integer compression technique that applies SIMD instructions (vectorization) to Google's Group Varint approach. The net result is faster than other byte-oriented compression techniques.

 

zigTensor is a fast, flexible machine learning library written entirely in Zig; the design is heavily inspired by the Flashlight library.

Tracks Zig mainline.

Currently target macOS.

 

This presentation was recorded at GOTO Chicago 2023

ORIGINAL TALK TITLE How to Build Software From Source

PRESENTER Andrew Kelley

Download slides and read the full abstract here

 

sekao gives his thoughts about Zig after using it for a few months. Touches on memory management, C integration and comptime.

 

Excerpt:

To me, one of the biggest motivators for efficient enum arrays has been compilers. One problem that keeps coming up when designing an AST is figuring out how to reduce its memory footprint. Big ASTs can incur a hefty performance penalty during compilation, because memory bandwidth and latency are a frequent bottleneck in compiler frontends. Chandler Carruth's video on the Carbon compiler has been making the rounds on language forums. In it he describes how a parsed clang AST regularly consumes 50x more memory than the original source code!

 

Cases supported:

  • camelCase
  • PascalCase
  • snake_case
  • CONSTANT_CASE
  • kebab-case
  • Header-Case
  • lower case
  • UPPER CASE
  • Capital Case
 

zig-color is a library to switch between colorspaces

MIT license

1
[Tutorial] Learning Zig (www.openmymind.net)
 

From the introduction:

Welcome to Learning Zig, an introduction to the Zig programming language. This guide aims to make you comfortable with Zig. It assumes prior programming experience, though not in any particular language.

Table of contents:

 

Ziggy Pydust is a framework for writing and packaging native Python extension modules written in Zig.

Package Python extension modules written in Zig. Pytest plugin to discover and run Zig tests. Comptime argument wrapping / unwrapping for interop with native Zig types.

Documentation

API

Source Code

 

Bun is a fast JavaScript package manager written in Zig

Develop, test, run, and bundle JavaScript & TypeScript projects—all with Bun. Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.

Website: https://bun.sh/

view more: ‹ prev next ›