Re:“Land initial Rust MP4 parser and unit tests”
by pjmlp on Friday June 19, 2015 @02:41AM
(#9743319)
There is also Ada. :)
Re:“Land initial Rust MP4 parser and unit tests”
by pjc50 on Friday June 19, 2015 @05:39AM
(#9743770)
How easy is it to inter-link C and ADA?
Re:“Land initial Rust MP4 parser and unit tests”
by pjmlp on Friday June 19, 2015 @06:07AM
(#9743845)
Like this with GNAT
https://gcc.gnu.org/onlinedocs/gnat_ugn/Interfacing-to-C.htm...
Actually, there is quite a clear right answer for a hardware codec.
You have 3 choices: C, C++, or Rust.
While C or C++ probably is better for the core of the codec, that's not where your security and concurrency issues probably are.
Most of your issues are in unpacking headers, validating packets, getting decode parameters correct, etc. Rust is WAY better for this task than C/C++ from a security or concurrency point of view.