cryptocode

joined 1 year ago
MODERATOR OF
 

A benchmarking library for zig.

  • Uses built in monotonic, high performance timer.
  • Warms up to remove function call overhead time.
  • Supports lifecycle hooks like beforeAll, afterEach, etc.
  • Can export raw benchmark data to JSON.
  • Vibrant terminal output with easy to read data.
  • Highly customizable
 

Written in 2019, but re-announced with fixed today on Discord

https://fabioarnold.itch.io/snake

 

Lurk is a Vulkan or OpenGL overlay (similar to mangohud, or the steam overlay) that uses ImGui to draw into the render pipeline of 3D applications the participants in your current Discord voice/video chat. It can tell who is talking and when, and if they are deafened/muted. The code is still a mess at the moment in some parts, but that can be iterated on.

 

From the post:


Yes you heard that right, this game is written entirely in Typescript type annotations, which—if you didn’t know—are Turing complete.

So how the hell am I runnning it in the browser and rendering the game in Typescript types?

The basic rundown is that I created a type-level Typescript runtime, allowing Typescript types to be run outside of the Typescript compiler/language server.

This “runtime” is a custom VM implemented in Zig, which executes a custom bytecode format I compile Typescript code into.

 

A library that lets you parse TOML files into Zig structs

Currently targets Zig v.0.11.x

 

From the README:

3D Perlin Noise in Zig

This is a port of https://github.com/alterebro/perlin-noise-3d from JS into Zig which was adapted from P5.js https://github.com/processing/p5.js/blob/main/src/math/noise.js This Perlin noise's output should visually equivelant to p5.js but it has been optimized to be twice as fast

 

Proof of concept serialization library for zig, with built in versioning and backwards compatibility (can open previous version of serialized data), with support for custom upgrade functions, serializable inside a serializable struct and slices.

 

Early development of a new native psql driver written in Zig.

MPL-2.0 licensed.

5
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

From the README:

One neovim plugin for zig

now, supported features:

  • zls manager(install update uninstall) and automatic configuration
  • zig fmt
  • zig build
  • zig version
 

A fast json-rpc implementation in Zig based on simdjzon

Also includes a very competitive std-json-rpc implementation.

 

Features:

  • Simple config
  • Groups and Users allowed to use it
  • Timeout support
view more: ‹ prev next ›