News for hackers. Stuff that matters.
Re:Audiophile forum debating which versions of memcpy had th... by bilekas on Monday March 13, 2023 @12:07PM (#35137662)
Wait till they get a handle on Rust.. There will be no stopping them.

By the by : I'm almost certain this has to be satire.

Re:Audiophile forum debating which versions of memcpy had th... by capableweb on Monday March 13, 2023 @12:17PM (#35137822)
Last time I used Rust to build a music player, the resulting audio quality was much worse than my C++ version. I'm sure these new kids on the block ("Rustaceans" or whatever they call themselves) know what they are doing when building web applications and CLIs, but when audio quality has to 120% of the original sound, nothing beats true and tested C++. I cannot explain how or why, but programs made with C++ just sounds better, fuller and more authentic than programs made with other languages.
Re:Audiophile forum debating which versions of memcpy had th... by trhr on Monday March 13, 2023 @12:28PM (#35138008)
C++ has a lower-latency linker.
Re:Audiophile forum debating which versions of memcpy had th... by KptMarchewa on Monday March 13, 2023 @12:39PM (#35138225)
But Rust's advanced type system will surely result in better instrument separation and wider scene.
Re:Audiophile forum debating which versions of memcpy had th... by professoretc on Monday March 13, 2023 @12:42PM (#35138264)
The borrow checker acts as a subtle low-pass filter, rolling off some of the high end and leading to less clarity.
Re:Audiophile forum debating which versions of memcpy had th... by cozzyd on Monday March 13, 2023 @12:44PM (#35138300)
This is because rust's borrow checker is incapable of representing some perfectly valid sounds.
Re:Audiophile forum debating which versions of memcpy had th... by c22 on Monday March 13, 2023 @01:00PM (#35138633)
Have you tried using an audio player written in hand-rolled assembly?
Re:Audiophile forum debating which versions of memcpy had th... by xdennis on Monday March 13, 2023 @02:42PM (#35140415)
It sounds like a good idea but it produces worse results on other CPUs. It's best to always compile on every install as it uses the best instruction set extensions available. AVX2 produces a nice musky sound. But only with AVX-512 do you get rich aftersounds.
Re:Audiophile forum debating which versions of memcpy had th... by c22 on Tuesday March 14, 2023 @01:29PM (#35155127)
Of course the solution is not portable. It works for me, though. Ever since I spent $500k on my gold-plated, custom-tuned 486dx in 1992 I haven't been able to justify an upgrade (many of the Pentium series chips produced terrible audio, even in the high-end market).
Re:Audiophile forum debating which versions of memcpy had th... by ohgodplsno on Monday March 13, 2023 @03:10PM (#35140864)
Due to Rust's fearless concurrency, every time I have to add a new instrument, I either have to make a copy of the entire track to add it, or temporarily borrow the bass from the guitar track, which leads to tiny jumps in the audio. Notwithstanding the need for unsafe when I want to put the amp to 11.