Better HN
topnewbestaskshowjobs
Log inSign up

cwood-sdf

22 karma · joined Aug 25, 2024 (2y ago) · 6 submissions

Submissions

comment 8mo ago · link · parent

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

comment 9mo ago · link · parent

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

comment 1y ago · link · parent

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)

comment 1y ago · link · parent

"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

comment 1y ago · link · parent

It seems like he wants zig to be more like rust. personally, i like that zig is so simple

comment 2y ago · link · parent

im making an html renderer for neovim plugins called [banana](http://github.com/CWood-sdf/banana)