Not many remember but 5 years ago I started working on my FAST video rendering framework. I have never released it but when I've seen that people wait 12 hours I realized that I have to do it now
Introducing fframes. This video was vibed in 48 minutes and rendered in 36 seconds
When preparing 0.12 release of fff I went over every core dependency that we use and improved it.
One of them is notify-rs. It’s a file watcher abstraction that is used by zed, rust-analyzer and deno.
I identified an inefficiency in syscalls emitted and was able to cut ~300k fs metadata calls in one of our testing loop. THIS IS A LOT OF TIME SAVED. Made update files from a watcher 4x faster on Mac, and made adding new path to the watcher faster by changing algo from n^2 to n log n
Enjoy. fff for the win
If you experience this pls tell me what useless directories codex is leaving around. Anything you think like you’d be fine to delete.
Has been fighting this left and right wanna fix it once and forever
btw here is the amount of easter eggs I put there
- group of geese called flock
- flock is my fav linux syscall
- ff. if you know you know
- 0x is just a way to bypass freaking x handles politics cause I was waiting a year for them to review my request for @fflock and they still rejected it
@Nekrolm I usually store all the required infromation in a struct and then keep cleaning logic in the drop itself e.g.
if self.needs_to_drop() {
free_something(self.ptr)
}
@Nekrolm I wouldn't mix this with a dynamically dispatched generics honestly, those functions for callbacks should be strictly dumb
I wouldn't it to execute some function that I didn't meant it to call cause the function pointer is mutated somehwo
@capello_javier haha no you don't need that to clean any memory on the exit it is
a) for custom logic like on the screenshot
b) useful for manually working w/ external C libraries that are not managing memory for your
I thought it's a little cute idea to put a date of a first commit to @fframes_rust as birthdate (sep 21, 2021)
and suddenly the account got locked, who thought it is a good idea idk to do this without any notice omg 😭