cryptocode

joined 1 year ago
MODERATOR OF
 

MySQL driver written in pure zig

Features:

  • Native Zig code
  • TCP protocol
  • MySQL DateTime and Time support
  • comptime safety and type conversion as much as possible
 

Adds support for using the Zig programming language to Visual Studio 2022

Features:

  • Zig language syntax highlighting
  • Zig Language Server (ZLS) support (completions, tooltips, find references and more)
  • Tools path setup
  • Folder mode
    • Build and debug from VS 2022 using build.zig
  • Project mode
    • Build and debug from VS 2022 using project files
    • Application and library templates
    • Use project References node to link with other projects
  • Run code tests using Test Explorer
 

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

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

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.

view more: ‹ prev next ›