Skip to content
View kassyi's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report kassyi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
kassyi/README.md

Hi, I'm kassyi

Working on G# (GSharp), a C# → CUDA C++ AOT transpiler built on Roslyn source generators (private while in development).
C# / .NET · CUDA · compilers · multi-precision arithmetic

Featured

Kassyi.Generators.DependencyProperty NuGet Stars

The predecessor of G# and the first of my zero-allocation series: a Roslyn incremental source generator for dependency properties, routed events and weak events (WPF / UWP / WinUI / Uno / Avalonia / MAUI).

  • Zero Gen2 GC and up to 30% faster generation than upstream, so the IDE does not lag while typing
  • Streams formatted code through ref struct scopes instead of building and normalizing syntax trees
  • Reports invalid callbacks as compile-time errors instead of failing silently

ThumbHash Optimized

A rewrite of the ThumbHash image placeholder encoder and decoder in TypeScript, benchmarked against the original in the browser.

  • Encode about 6.3x and decode about 13.6x faster than the original (Chrome, Ryzen 9 7900X)
  • Folds the DCT by symmetry, processes color channels separately, packs channels into one register (SWAR) and uses lookup tables
  • Generates the unrolled hot loops from TypeScript generators and EJS templates, so the source stays readable

N3-PDF (open the app)

A web app that lays out addresses for Nagagata 3 (長形3号, the standard Japanese business envelope, 120 × 235 mm) and outputs a print-ready PDF in the browser.

  • Live PDF preview while typing (React 19, TypeScript, @react-pdf/renderer)
  • Fills in the address from the postal code
  • Converts numbers and hyphens for vertical Japanese writing

C#   .NET   C++   TypeScript   React   Node.js   Git

Contribution streak Top languages by commit

Productive time (JST)

Contribution chart

Setup

Part Spec
CPU AMD Ryzen 9 9900X (12 cores)
GPU NVIDIA GeForce RTX 3070 Ti (8 GB), the CUDA target for G#
Memory 64 GB DDR5-5600
Storage 3 × 1 TB SSD + 2 TB HDD
Displays 2 × 4K + 2 × Full HD
OS Windows 11 Pro, with WSL for Linux builds

The benchmarks in the projects above were measured on a Ryzen 9 7900X, which this CPU replaced.

Pinned Loading

  1. DependencyPropertyGenerator DependencyPropertyGenerator Public

    Forked from HavenDV/DependencyPropertyGenerator

    Dependency property, routed event and weak event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.

    C# 5

  2. ThumbHashOptimized ThumbHashOptimized Public

    TypeScript 1

  3. n3-pdf n3-pdf Public

    TypeScript