Hacker News new | ask | show | jobs
by outworlder 2249 days ago
> The only downside I see to emulation is latency

There shouldn't be significant latency issues, unless there is large amounts of (CPU) work that's required to make large data structures compatible(for a silly example, imagine that the texture formats are different and you need to convert between them). Or if you need to simulate a single function call in a tight loop with several calls.

But the overhead is usually not much more significant than what you get when you import a library to call OS functions on your behalf, versus calling them yourself.