Portfolio  ·  2026

Saswat Jung Khadka

Aspiring graphics researcher

I'm a CS graduate who loves graphics and compilers. I love reading CS theory, and I like *trying* to apply that theory in my projects, which is why I have too many to count, and also why I've abandoned a number of them. I just love learning new stuff, and I'm constantly wondering what to learn next, and how it'll help me become a proud expert when I'm old. Someone who can treat CS as a science and art with respect.

Toolbox

C
C
C++
C++
Go
Go
OCaml
OCaml
OpenGL
OpenGL
DirectX 12
DirectX 12
Haskell
Haskell
HTMX
HTMX

Projects

  1. 01

    SG_API

    Graphics API in C++ for the VMWGFX DRM/KMS driver

    Implementation of my own simple graphics API. It talks to the VMWGFX driver through IOCTLs.

    → github.com/saswatjk/sg_api
    Ongoing
  2. 02

    PBRT

    Physically based path tracer in C and HIPRT

    Ongoing physically based path tracer in C. Firstly done in CPU, integrating with HIP-RT.

    → gitlab.com/saswatjungkhadka/pbrt
    Ongoing
  3. 03

    DXR Renderer

    Renderer in D3D12 and C++ that uses DXR

    Ongoing project to learn renderer architecture and D3D12.

    → github.com/SaswatJK/directx-practice
    Ongoing
  4. 04

    HIP-NN

    A neural network abstraction library in HIP, C style C++

    Started this project to learn neural networks from scratch while also learning HIP programming. Nearly finished — just tying up the last few loose ends.

    → gitlab.com/saswatjungkhadka/AMDGPULearn
    Ongoing
  5. 05

    Music Torrent

    A torrent client that can download and play music

    Torrent client that focuses on music, so it can download and play at the same time. High usage of concurrency.

    → github.com/SaswatJK/MusicTorrent
    On hold
  6. 06

    Minimal Compiler

    Simple compiler made in C

    A simple compiler built from scratch using compiler theory. Each stage of compiler theory can be traced throughout.

    → github.com/SaswatJK/MinimalCompiler
    Done
  7. 07

    Injected

    Video game made with SFML in C++

    C++ and SFML to make a topdown game engine. Extended the 'from scratch' philosophy to art and music, which are also original. Group project — I did game physics and art.

    → github.com/kripesh101/injected
    Done

Articles

Microfacet BRDFs from Scratch

I derive the famous Specular and Diffuse BRDFs from scratch, from first principles.

Hobbies & Interests

Philosophy Economics Literature Graphics Programming Programming Language Theory Functional Programming Game Development Artsy Indie Games