Chris #Wellons is going all in on #AI coding. “There were multiple factors, but it’s not mere chance it coincides with these early months of the automation of software engineering. I left an employer that is years behind adopting AI to one actively supporting and encouraging it. As of March, in my professional capacity I no longer write code myself. My current situation was unimaginable to me only a year ago. Like it or not, this is the future of software engineering. (...) Most people only use limited, free services, so there’s a broad unawareness of just how far AI has advanced. AI is now highly skilled at programming, and better than me at almost every programming task, with inhumanly-low defect rates. (...) Also like a manager, I have not read most of the code, and instead focused on results, so you might say this was “vibe-coded.””
on 02026-04-29Chris #Wellons explores how to do interactive programming in #C, following Casey #Muratori’s “Handmade Hero”, by reloading a shared library. #toread
on 02025-07-23On how to do custom #allocators support right in #C, by Chris #Wellons.
on 02025-03-19#Wellons explains why the #C library is bad and he avoids using it whenever possible.
on 02023-12-06how to implement setjmp and longjmp using inline #asm in a naked function on amd64 and i386. Describes the #Microsoft-Windows #calling-convention. #Wellons
Chris #Wellons explains hash #trie #algorithms in C, recommending a 4-way branching factor with arena allocation. Not the same as #HAMT. #performance
on 02023-12-06how to build #Microsoft-Windows programs without CRT (libc) using MSVC or GCC, using your own mainCRTStartup or WinMainCRTStartup function, which you shouldn’t declare with __stdcall, and which should exit with TerminateProcess. Compile with cc -nostdlib example.c -lkernel32 with GCC. Also you have to deal with stack probing to commit stack pages unless you preallocate a big stack with -Xlinker --stack=0x200000,0x200000 or something, or avoid stack frames over 4K. #Wellons
custom hash tables can have #performance an order of magnitude better than generic ones, as Chris #Wellons demonstrates here #hashing in Golang
on 02023-07-05