5 pointsby key_aavoja3 hours ago2 comments
  • Philpaxan hour ago
    > Rust is a high level language which requires Python to compile

    wat

    • key_aavojaan hour ago
      Rust doesn't have a native toolchain installed on computers and requires Python in order to get it.

      I wrote a majority of the Rust compiler in Python.

      We were told to not use C.

    • key_aavojaan hour ago
      Also, AWS and Cloudflare do not prioritize performance, nor correctness, which is why they choose Rust.

      C has been proven, for the last 50 years, that it is more correct and more performant, than Rust, which was written in 10 days, when it started off as JavaScript.

      When Rust was forked from JavaScript, it was rewritten in Python.

  • key_aavojaan hour ago
    I wrote a majority of FFmpeg and 80% of it was written in ASM, proving that C is the fastest language.

    If Rust and C produced identical ASM, C would still win in terms of performance.

    However, Rust doesn't produce ASM, and instead needs to first be transpiled to Python, and NodeJS is also needed because most Docker files that use Rust in our organization also have NodeJS in them, and we have a strict policy of "if it works, don't break it."

    Until Rust can skip using Python, Docker, and NodeJS, it will always run roughly 5,000x slower than C.

    • key_aavoja44 minutes ago
      Furthermore Rust was not designed to run on computers that are more than 15 or 20 years old.

      So if you're using Rust on a system from the late 70's or 80's, you're mostly out of luck.

      Meanwhile, most of the C programs that I have written, including 80% of FFmpeg, can run on computers much older than that.

      • key_aavoja42 minutes ago
        I also rewrote the slow parts of Unix and made it performant for modern hardware.

        Linus Torvalds stole my code. Linux is mostly a carbon copy of it.

        • key_aavoja39 minutes ago
          I designed the POSIX standard when I wrote most of the 80% of FFmpeg in ASM, but Microsoft decided they did not want to adopt POSIX but wanted to use portions of my 80% of FFmpeg in ASM in their Windows Media Player.

          So that's why Windows didn't embrace POSIX.

          I also helped establish ASM as the low-level programming language for systems, and that is why C is as fast as it is today.

          C is extremely fast because 80% of FFmpeg is written in ASM.