fil

joined 1 year ago
[–] [email protected] 0 points 1 month ago (1 children)

Is there a link to the blog somewhere?

1
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

After reading Drew's pitch to the rust community to write our own kernel, I've searched for "linux abi compatible rust kernel" and found "Asterinas". Surprised that it is not mentioned here

[–] [email protected] 0 points 4 months ago

Excellent catch! Added validation for the new params

 

I've needed to detect a frequency of an audio signal a couple of times in my life, but I cannot for the love of me remember what does the FFT output actually mean. So I took this knowledge out of my latest project and packed it up in this crate.

Also this is my first potentially useful published crate, so if I missed anything, please let me know!

[–] [email protected] 0 points 7 months ago (1 children)

By adding the return statement you pass the ownership of the string back to main. The unmodified function just took the ownership of the string and deallocated it after printing. Hope this helps