mediasoup icon indicating copy to clipboard operation
mediasoup copied to clipboard

🦀 Similarities and differences between Rust port and original TypeScript version

Open nazar-pc opened this issue 4 years ago • 2 comments

For comprehensive answer refer to https://docs.rs/mediasoup

TL;DR:

  • similarities:
    • also a library, identically low level
    • uses the same unmodified C++ worker codebase
    • similar structure and API to TypeScript
  • differences:
    • API leverages idiomatic Rust concepts around ownership, borrowing and concurrency
    • workers run in threads instead of processes
    • currently Rust version uses different versioning than TypeScript
    • Linux and macOS are supported, Windows is WIP

nazar-pc avatar Feb 28 '21 00:02 nazar-pc

So the idea behind this issue is to document future/temporal differences between the TypeScript and Rust layers, right?

ibc avatar Mar 01 '21 08:03 ibc

Yes, I will update it as things change.

nazar-pc avatar Mar 01 '21 09:03 nazar-pc

Should we keep this issue open? I don't see much value on it.

ibc avatar Dec 10 '22 10:12 ibc

Let's close this already :slightly_smiling_face:

nazar-pc avatar Dec 10 '22 10:12 nazar-pc