Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmpv is not written in Rust #7724
Comments
|
Can you make a PR to fix this issue? |
|
should totally be swift instead. |
|
PR is welcome. |
|
|
Hey troll, consider doing the same in your own project first. |
|
While I’m not a mpv maintainer, I believe it is their intention to reduce the amount of undefined behavior in the codebase. C meets those goals nicely. |
|
Seems like reddit founds this. |
|
Also to the idiots in the reddit thread: we talked about this on an IRC channel, and Akaricchi opened this issue as a joke. |
Important Information
Provide following Information:
Reproduction steps
In the mpv source directory, run
find -name '*.c', followed byfind -name '*.rs'.Expected behavior
The first command (
find -name '*.c') should produce no output. The second command (find -name '*.rs') should print a list of mpv's Rust source files.Actual behavior
The first command lists an alarming amount of
*.cfiles. These are source code written in C, an obsolete and dangerous programming language. The second command produces no output at all, which suggests that mpv is, in fact, not written in Rust. Rust is a modern, safe programming language, featuring fearless abstractions and zero-cost concurrency. It's objectively superior to C and every other language in every way, therefore mpv should be rewritten in Rust as soon as possible.Log file
N/A
Sample files
N/A