1. X
  2. Nikita Lisitsa
Log inSign up
Nikita Lisitsa
38.8K posts
Image
user avatar
Nikita Lisitsa
@lisyarus
I teach C++ & computer graphics and make games. Working on a village building game: t.ly/onQIw Check out my cozy traffic sim: t.ly/bu8Ib He/him
lisyarus.github.io/blog
Joined May 2012
543
Following
20.9K
Followers
RepliesRepliesMediaMedia
  • Pinned
    user avatar
    Nikita Lisitsa
    @lisyarus
    Mar 9
    I think I've finished the first version of this thing! 馃ぉ Meet 馃敺Polyhedria馃敺: a tiny in-browser sandbox that allows you to build funny stuff by joining together various (mostly-)uniform polyhedra! Link below 馃憞
    Image
    27K
  • user avatar
    Nikita Lisitsa
    @lisyarus
    15h
    I really need to add thousands of tests for this compiler, including testing the C FFI and ABI conformance and etc etc, but that's 1) a ton of work and 2) feels like committing to another not-just-for-fun project, and tbh I'm not sure if that's what I actually want rn
    user avatar
    Nikita Lisitsa
    @lisyarus
    17h
    Ohhhhh god I fixed it! The issue was that when comparing two registers I always compare them as 64-bit, sign/zero extending before that if needed. For unsigned 32-bit values I don't zero-extend as writing to low 32 bits of a register automatically clears the top 32 bits...
    Image
    2K
  • user avatar
    Nikita Lisitsa
    @lisyarus
    17h
    Aaand now a better image! 256x256, 8k samples, p=0.25 russian roulette (avg path depth=4), ran for 5m30s in 16 threads on a 3.6GHz i9-9900K, written in my own JIT-compiled programming language that now compiles to both aarch64 and x86_64!
    Image
    1.2K
  • user avatar
    Nikita Lisitsa
    @lisyarus
    17h
    Ohhhhh god I fixed it! The issue was that when comparing two registers I always compare them as 64-bit, sign/zero extending before that if needed. For unsigned 32-bit values I don't zero-extend as writing to low 32 bits of a register automatically clears the top 32 bits...
    Image
    5.5K
  • user avatar
    Nikita Lisitsa
    @lisyarus
    Aug 1
    So my raytracer + compiler bug is unbelievably subtle. The image should be all-white but for some reason it isn't. Removing some lines (typically dead code - unused values / uncreachable instructions) removes the bug. I've spent way too many hours in gdb by now...
    Image
    Image
    16K
  • See @lisyarus's full profile

    Sign up
    Log in

Log in or sign up for X

See what鈥檚 happening and join the conversation

Continue with phone
or
Log in with username or email
Terms路Privacy路Cookies路Accessibility路Ads Info路漏 2026 X Corp.
Advertisement
Advertisement