TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust for real time audio analysis

72 pointsby blacksmytheover 7 years ago

4 comments

dljsjrover 7 years ago
How do you handle real-time thread priorities and CPU affinity? I work in soft real-time software as well (feedback control for humanoid robots) and I&#x27;ve been wanting to play around with Rust for real-time programming for a while. Given that your workload is parallel I would imagine CPU pinning is pretty important for making your deadlines. Since my current job involves maintaining a bunch of natively bridged code to add real-time scheduling to a non-realtime environment (Java) I don&#x27;t wanna muck around with it until the language itself adds the stuff needed to the native API.<p>I&#x27;ve been watching this RFC[1] for years waiting for some notion of progress of support for this in the language itself. Doesn&#x27;t seem to be a lot of focus on it right now.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rfcs&#x2F;issues&#x2F;819" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rfcs&#x2F;issues&#x2F;819</a>
评论 #15518451 未加载
jsd1982over 7 years ago
Strange that you dismiss Java due to its JVM dependency, yet pause at C# disregarding its CLR dependency. C# does not strictly require you to write your code with OOP principles in mind. Yes there are classes, properties, inheritance, etc. but you can treat those as purely organizational and write in a more functional style.<p>Regardless, Rust seems like a solid choice here, but I wouldn&#x27;t discount Go (golang). It&#x27;s incredibly simple to write and read code in and its runtime is incredibly rock solid. I have web services written in Go that have literally never crashed of their own accord.
评论 #15519081 未加载
nkgover 7 years ago
Is there a state-of-the-art library for audio analysis ? (genuinely asking)
评论 #15518537 未加载
mediocreguyover 7 years ago
Just curious, why was GO not looked at as an option?
评论 #15518331 未加载