nhuck.bsky.social
bit shuffler and theorem prover
👤 Joined on 19 May 2023
Followers
Following
Total Posts
@nhuck.bsky.socialThanks. I heard other people advocate your approach. I don't think that I have patience for that. Maybe it is fine that my LLM is a drag racer that can get me from 0 to 60 mph in 1 second. 🏎️ Starting a new project often takes a while, especially if you program in a lot of languages.
Show PostThis Rust style Result Monad is very convenient, for delivering results by value. C's macros are fine for small tasks. #define RESULT_MONAD(T) \ typedef struct { \ T res; \ const char *error; \ } T##Result #define CREATE_RESULT_MONAD(T) (type##RESULT) {}
Show Post