urbeker

joined 1 year ago
[–] urbeker@programming.dev 12 points 1 month ago (1 children)

You can criticise rust for a lot of things but bad learning materials I don't think can be one of them. The sheer amount of high quality learning materials is one of the selling points for the language. It was one of the areas targeted strongly to get an easy on-ramp to drive adoption.

I haven't looked for this kind of resource before but I found one that looks very high quality and up to date in less than a minute. https://github.com/nrc/r4cppp

[–] urbeker@programming.dev 1 points 1 year ago (1 children)

OK so looking at that PR the reason you aren't getting any errors is because it looks like one of the dependencies is trying to load python and thats where the error occurs. Rust would normally give you a pretty good stack trace but because this is happening in external code it can't and you won't fix it in the av1an codebase. vscode likely has its path setup differently allowing it to find python. I would double check the paths inside the vscode terminal and wherever you are running it.

[–] urbeker@programming.dev 8 points 1 year ago (3 children)

Dynamic libs in rust are supported but only through a c abi and it's a bit complicated.

Looking at av1an I couldn't see anything showing it is dynamicly loading anything, it looks to statically link to ffmpeg according to the build instructions.