Ralph Caraveo (@deckarep) header
Ralph Caraveo (@deckarep) profile picture

Software Engineer - likes Go, Rust, C#, C, Javascript, Python and love Zig! Tic-tacs are my fav mints!

Los Angeles, CA
Joined June 2008
Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)Photo by Ralph Caraveo (@deckarep)
King's Quest 6 inspired Match 3 game - built in #zig, #ziglang #sdl2 using a fork of the Freegemas engine. #sierraonline #match3 #adventuregame github.com/deckarep/freegema…
3
454
Replying to @AnthropicAI
@AnthropicAI - is this a bug? Why does a banner show up on iOS? For every query? Seems redundant…and unnecessary. Can you ask one of you devs to ask Claude Code to remove it plz or make it configurable. Pretty plz?
36
Replying to @aloncarmel
@aloncarmel - I see we have similar interests. Been working on this off and on for a while with the goal of getting Sbaitso’s precise synthesized voice working - without any cloud or DosBox usage. I don’t use X much these days: bsky.app/profile/deckarep.bs… drsbaitso.fly.dev
1
1
31
Replying to @AnthropicAI
@AnthropicAI your app on iOS is extremely slow when Claude is generating a response and the user is also trying to type into the input box. Seems like the UI thread is getting tied up too much. Someone on your iOS team should optimize the code so as not to tie up the UI thread.
26
Show me an image of an image of the #Zig #Ziglang iguana.
1
2
141
#spacequest #sierraonline Here's a low-res rough-draft preview of a fully recreated vectorized merchandise patch that Sierra Online released years ago. This is a non-final preview. Original patch is here: sierrachest.com/index.php?a=…
1
4
168
Here’s a tip: another way to detect memory leaks on MacOS in #ziglang #zig is to use the C-based allocator with the “leaks” command line tool. This is a nice alternative to Valgrind.
1
3
173
Fun holiday project: Dr. Sbaitso: Reborn - the #ai #chatbot from the early 90's lives again on Desktop! Built with #raylib and #ziglang. #retrogaming #crt #shader #retrocomputing github.com/deckarep/DrSbaits…
1
3
371
Replying to @shiffman
@shiffman Hot off the press and in hand. A masterpiece of a book. I own the original and now this beauty. #programming #natureofcode
1
27
Replying to @LaMiradaBlog
@LaMiradaBlog - some massive box is being moved on Valley View near Imperial with tons of police escorting it…and Edison workers to move the traffic lights. Probably housing some sort of alien. 😉
2
1
1
3,456
Replying to @LaMiradaBlog
@LaMiradaBlog massive tree fallen on the sidewalk and street across from Shubuya restaurant on Rosecrans police have road blocked off.
16
Silly @OpenAI #ai #chatgpt - everyone knows you can't return a pointer to a stack allocated variable. I feel bad for n00b coders.
118
Gee I wonder: Can #ziglang compile regular #zig code to interop with #objective-c and interop with raw C code hooking into #raylib? Yes, yes it all works! Here's a demo running Raylib in a #cocoa app manually bootstrapping #opengl. Zig is nuts.
1
3
7
1,293
Hello, #zig #ziglang community, the popular #golang Set that I maintain gets a sibling project: github.com/deckarep/ziglang-… Ziglang-Set: a generic and general-purpose Set implementation for Zig as a module. Built on top of the Zig stdlib and offering an idiomatic API for Zig 0.12.
1
187
Replying to @tidwall
@tidwall - I thought you might be delighted to that #Zig/#ziglang's flavor of the defer keyword is truly scoped based rather than function based like #golang. Nevertheless, it seems despite the coro context switching; it still works wonderfully and all my defers are firing.
1
1
1
243
Improved Bunnymark benchmark - the coroutine spawn logic is moved at the start of the app with each coro in suspended state. User clicks; coros are resumed *eventually*. This now scales linearly == buttery smooth barfing of bunnies! #zig #raylib #coroutine #gamedev
5
1
14
1,124
Here's a fun alignment bug that I got tripped on when compiling a #C library with #zig #ziglang. Zig was kind enough to throw a runtime error on some undefined behavior! github.com/tidwall/neco/issu… #programming #clang #alignment #tableflip
159