Hacker News new | ask | show | jobs
by lucozade 2199 days ago
Multimedia is tricky but, from the way you describe it, you've come across the more general problem that writing concurrent software in general, and parallel software in particular, can be a real sod.

What you're likely to be experiencing are bugs due to race conditions. These are notoriously hard to debug.

It's one of the reasons why there's so much fuss around languages like Rust and Go. They have builtin features that try to make these types of issue less prevalent. I appreciate this doesn't help you directly but should make you feel a bit better; there are whole engineering teams working to avoid the types of issues that you're experiencing.

In terms of how to help you move forward, that's quite hard in this format. Sorry.

1 comments

I appreciate your comment. You have described Rust and Go, it never fails to amaze me how languages differ in their power as Paul Graham would have put it.

As a sidenote, I wanted to use Python/Electron.js for it but my client wouldn't allow it. I had to convince him to use Media Foundation, else he would have asked me to write an H264 encoder from scratch!

>In terms of how to help you move forward, that's quite hard in this format. Sorry.

Didn't get it, do you mean the way I formatted my question? I'm sorry but I'm not a native English speaker.

Your formatting and English are fine; parent poster meant that it's hard to give good advice over hacker news comments.