HNHacker News
TopNewBestAskShowJobs

cwood-sdf

22 karma · joined August 25, 2024

submissionscomments
cwood-sdf··on Understanding the Kalman filter with a simple radar example
i haven't seen much from other kalman filter resources, but i can say that this book is incredibly detailed and i would highly recommend it

if you dont want to buy the book, most of the linear kalman filter stuff is available for free: https://kalmanfilter.net/kalman-filter-tutorial.html

cwood-sdf··on Rust is just a tool
Batching/arenas can get you very far. If you adopt the zig/c object model as “things that have data” most destructors become useless. Resource management also can be accomplished at the batch level (eg you can free a bunch of fd’s all at once with a management layer rather than having each File object implicitly manage its own fd). For memory management, i believe proper use of arenas and batching tends to be faster than each object managing its own memory but idrk tbh. What the author is saying is that you dont have to have raii, you can use approaches like the one i described and they can still be pretty safe if you know what youre doing, but rust’s model basically prevents this if youre using rust idiomatically
cwood-sdf··on Introducing tmux-rs
zig is trying its best to also be memory safe (at runtime, if you want it) whereas c is stuck in the past (you can add on sanitizers, but they arent built into the language)
cwood-sdf··on What the hell is a target triple?
"And no, a “target quadruple” is not a thing and if I catch you saying that I’m gonna bonk you with an Intel optimization manual. "

https://github.com/ziglang/zig/issues/20690

cwood-sdf··on Zig; what I think after months of using it
It seems like he wants zig to be more like rust. personally, i like that zig is so simple
cwood-sdf··on Ask HN: What are you working on (August 2024)?
im making an html renderer for neovim plugins called [banana](http://github.com/CWood-sdf/banana)