3 ms·
I had very similar experiences with Rust and C++ lately. In Rust, all I wanted is to play an audio file... failed. In C++ all I wanted is to play an MP3 file.
by tiborsaas 6y ago
I had very similar experiences with Rust and C++ lately.
In Rust, all I wanted is to play an audio file... failed.
In C++ all I wanted is to play an MP3 file... failed. With an hours of work I figured out how resources worked in Visual Studio and got a WAV file playing.
In Rust I installed a creative coding crate, it had 314 dependencies and the deps folder was 540MB. My openframeworks C++ project is 1.6GB after a bit of playing around in it :) But yeah, node_modules is heavy.
Bottom line is, when you are new to an environment and you aren't prepared to fight a battle, you will bleed out quite fast.
- canada_dry 6y agoPython... subprocess.Popen(['cvlc','--play-and-exit','{filename_here}']) (just being cheeky)