cryptocode

joined 2 years ago
MODERATOR OF
 

From the README:

A Proof of Concept (PoC) for a versatile standard for driving USB and Bluetooth peripherals via the HID protocol.

 

From the README:

This is a Zig implementation of a fast, discrete, bounded, Zipf-distributed random number generator. Our implementation offers a robust and efficient solution for generating Zipf-distributed numbers, ideal for various applications ranging from statistical modeling, natural language processing, database benchmarking and load testing.


Here's a great video about Zipf from Vsauce: https://www.youtube.com/watch?v=fCn8zs912OE

 

By Brook Jeynes

Length: 8:32

Description:

Inter-process communication is a way to share information between different processes. In this video, I'll dive into what IPC is and how to create shared memory with Zig.

Disclaimer: This code is not production safe and just for educational purposes.

You can find the code written in this video here: https://github.com/BrookJeynes/zig-shared-memory

 

From the README:

zig-gpio is a Zig library for controlling GPIO lines on Linux systems

This library can be used to access GPIO on devices such as Raspberry Pis or the Milk-V Duo

 

Cyber is a programming language for fast and concurrent scripting. Implemented mostly in Zig.

Release notes: https://cyberscript.dev/0.3/

Github: https://github.com/fubark/cyber

 

From the README:

A tiny library to allow writing to and reading from stream (a Reader and a Writer in Zig) in bits.

The original credits go to MichaelDipperstein for their implementation of bitfile.

 

From the README:

Libui-ng is a C library for creating cross-platform applications using the native widget toolkits for each platform. These bindings are a manual cleanup of the cimport of ui.h.

Each control type has been made an opaque with the extern functions embedded within in them. Additionally, functions using boolean values have been converted to use bool. Some helper functions have been made for writing event handlers.

 

From the README:

This library helps to interact with NVIDIA GPUs from Zig.

Features:

  • Memory Allocation in GPU with defined size.
  • Copying data from host to gpu and viceversa.
  • Compiling (.cu) and loading kernels (.ptx) both from file and text.
  • Running kernels with grid/blocks/threads configuration.
 

An implementation of face-hh 's Bussin esoteric language written in Zig with a custom bytecode virtual machine and component-based mark and sweep garbage collector.

 

From the README:

*Zvisor is an open-source hypervisor written in the Zig programming language, which provides a modern and efficient approach to systems programming. Zvisor leverages the KVM (Kernel-based Virtual Machine) virtualization technology, which is built into the Linux kernel, to provide a lightweight and flexible virtualization solution.

One of the key benefits of Zvisor is its use of the Zig programming language. Zig provides a modern and efficient approach to systems programming, with features like memory safety, error handling, and compile-time optimization.

 

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

view more: ‹ prev next ›