Reddit Programming – Telegram
Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
A smart way to get C++ speed for voice AI in Python: a look at the TEN framework
https://www.reddit.com/r/programming/comments/1nq11of/a_smart_way_to_get_c_speed_for_voice_ai_in_python/

<!-- SC_OFF -->We all know that getting real-time performance in Python can be tricky, especially with I/O-heavy tasks like audio streaming. I've been looking for a good way to tackle this without having to rewrite everything in C++. I recently stumbled upon the TEN framework, and its architecture is clever. It uses a high-performance C++ core for the heavy lifting but has a clean, first-class Python API. Their new v0.10 release really refines this, so you can write all your main logic in Python and let the C++ backend handle the speed-critical parts. It’s the same hybrid approach that makes libraries like NumPy so powerful. They've also built out a whole suite of tools for things like voice activity and turn detection, so you're not starting from scratch. If you're building any application where responsiveness is critical, this project is definitely worth a look. It seems like it's built by engineers who've actually faced these problems before. <!-- SC_ON --> submitted by /u/Global-Biscotti-8449 (https://www.reddit.com/user/Global-Biscotti-8449)
[link] (https://github.com/TEN-framework) [comments] (https://www.reddit.com/r/programming/comments/1nq11of/a_smart_way_to_get_c_speed_for_voice_ai_in_python/)
Tired of messy SQL queries? I wrote a guide that helped me clean up mine
https://www.reddit.com/r/programming/comments/1nqupgj/tired_of_messy_sql_queries_i_wrote_a_guide_that/

<!-- SC_OFF -->Here’s the link: https://medium.com/@tanmay.bansal20/inside-the-life-of-an-sql-query-from-parsing-to-execution-and-everything-i-learned-the-hard-way-cdfc31193b7b?sk=59793bff8146f824cd6eb7f5ab4f5d7c I recently dove deep into SQL mistakes we all make — from subtle performance killers to common logic errors — and wrote a practical guide on how to spot and fix them. I also included tips for optimization and some tricks I wish I’d known earlier. Some things you’ll find in the guide: How simple mistakes can slow down your queries Common pitfalls with joins, groupings, and subqueries Optimization strategies that actually make a difference If you’ve ever wondered why your SQL feels slower than it should, or just want to write cleaner, more efficient queries, this might help. Would love to hear your thoughts or any tips you’d add. What’s the worst SQL bug you’ve run into recently? <!-- SC_ON --> submitted by /u/Tanmay__13 (https://www.reddit.com/user/Tanmay__13)
[link] (https://medium.com/@tanmay.bansal20/inside-the-life-of-an-sql-query-from-parsing-to-execution-and-everything-i-learned-the-hard-way-cdfc31193b7b?sk=59793bff8146f824cd6eb7f5ab4f5d7c) [comments] (https://www.reddit.com/r/programming/comments/1nqupgj/tired_of_messy_sql_queries_i_wrote_a_guide_that/)