deckarep Profile Banner
Ralph Caraveo Profile
Ralph Caraveo

@deckarep

Followers
350
Following
2K
Media
95
Statuses
1K

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

Los Angeles, CA
Joined June 2008
Don't wanna be here? Send us removal request.
@deckarep
Ralph Caraveo
1 year
King's Quest 6 inspired Match 3 game - built in #zig, #ziglang #sdl2 using a fork of the Freegemas engine. #sierraonline #match3 #adventuregame https://t.co/KYDUM60H31
0
0
3
@deckarep
Ralph Caraveo
10 months
Show me an image of an image of the #Zig #Ziglang iguana.
1
0
2
@deckarep
Ralph Caraveo
11 months
#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: https://t.co/mmI3Kca428
0
1
4
@deckarep
Ralph Caraveo
11 months
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.
0
1
3
@deckarep
Ralph Caraveo
1 year
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 https://t.co/5QZ7uHyoSl
0
0
3
@deckarep
Ralph Caraveo
1 year
Unfortunately, no one can be told what the #matrix New theme in the words for the Zigualizer project: https://t.co/Fa9OisNsyo #zig #ziglang #raylib Raylib 5.5
0
0
2
@deckarep
Ralph Caraveo
1 year
The GeneralPurposeAllocator in the #zig #ziglang stdlib makes it fun to find and fix memory leaks. I was able to find and fix at least 7 big leaks in my port of DungeonRush to the Zig language:
github.com
👾🐍 A zig port of Dungeon Rush. An open-source game inspired by snake, written in pure Zig with SDL2. - deckarep/dungeon-rush
0
0
4
@deckarep
Ralph Caraveo
1 year
I rewrote DungeonRush in #zig #ziglang and it clocks in loosely at 5k lines of code. Ported from the original C-based version. Get it while it’s hot: https://t.co/aNfr9NEnET - will write a blog about the experience. #sdl #retro #gameprogramming
github.com
👾🐍 A zig port of Dungeon Rush. An open-source game inspired by snake, written in pure Zig with SDL2. - deckarep/dungeon-rush
0
1
5
@pikuma
pikuma.com
1 year
This month's book *giveaway* is @DavidCrookes' "Code the Classics." (Vol.1) The book tells not only stories of some of the classic video games of the 70s & 80s but also shows you how to code your own Python games inspired by them. [Simply retweet this post to enter the draw] 🙂
12
218
275
@deckarep
Ralph Caraveo
2 years
Silly @OpenAI #ai #chatgpt - everyone knows you can't return a pointer to a stack allocated variable. I feel bad for n00b coders.
0
0
0
@deckarep
Ralph Caraveo
2 years
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.
2
3
7
@deckarep
Ralph Caraveo
2 years
Hello, #zig #ziglang community, the popular #golang Set that I maintain gets a sibling project: https://t.co/IK6xivpC9H 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.
Tweet card summary image
github.com
A generic and general purpose Set implementation for the Zig language - deckarep/ziglang-set
0
0
1
@deckarep
Ralph Caraveo
2 years
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
@deckarep
Ralph Caraveo
2 years
Can you do true #coroutines in #raylib and #zig? Yes, yes you can...a demo showing 10's of thousands running at 60fps with not a native OS thread in sight using the neco project! Bunnymark code: https://t.co/mqPjby9744 #ziglang #gamedevelopment /cc @tidwall, @raysan5
8
6
21
@deckarep
Ralph Caraveo
2 years
Listening to an older @joeroganhq podcast and @ID_AA_Carmack at one point says: “popping a couple off the stack there…back to Blue Origin”. I thought that was a clever metaphor to return to the previous conversation. Brilliant.
0
0
0
@deckarep
Ralph Caraveo
2 years
Github =>
0
0
0
@deckarep
Ralph Caraveo
2 years
#ziglang #zig + #raylib = match made in heaven. Built a simple #synthwave style music visualizer after porting an implementation over to Zig by @tsoding! #glsl #shaders #fft
5
1
13
@deckarep
Ralph Caraveo
2 years
Just bought it, thanks for posting the source as well!
0
0
0