Chococo 🍫

65 Followers
301 Following
243 Posts

indie game developer | generative art | functional programming

see my other account @chococo for more technical stuff related to functional programming

I like Rust's "{:?}" for quick debug prints, and my Mallow preprocessor is powerful enough to allow me adding a similar feature to C

`debug!("%d %v", a, b);` expands into `log_debug("%d %s", a, show(b));` plus some memory management code, and then the polymorphic `show` function is implemented with C11 _Generic

Just had fun with SIMD. I wonder whether at this point it's faster to simply use a scalar loop..

Still working on my game editor, and now rudimentary curve editing is in place 😁

#screenshotsaturday