Announcement

Collapse
No announcement yet.

Facebook Is Aiming To Make Compilers Faster Using Machine Learning With CompilerGym

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    The best way to optimize code is to stop using shit like electron… and come back a reasonable use of low level coding.

    Comment


    • #12
      Pretty cool. I once read a blog post about GitHub Copilot that hypothesized that AI being incorporated into whatever the next big language is will be like safety being the main feature of Rust. I think there's some credence to that.

      Originally posted by bregma View Post
      This seems very confusing. Their goal is to have compiler produce more "optimized" (for what?) programs by calling out to some Python programs that will iterate over combinatoric solutions using inscrutable and unknown heuristics and that will speed up the compiler. It strikes me that (1) adding a whole lot of out-of-process processing is unlikely to make the compilation faster, (2) how it is possible to prove the correctness of the output of a ML-generated algorithm laden with intellectual debt, and (3) how faster compilers equate with faster programs is beyond my understanding.

      I guess the proof will be in the pudding. Or at least, the results will be in the pudding. I wouldn't trust my life or my liability to ML-generated software. Azimov's laws are fiction.
      Sadly yes, before any real work in AI can be done we have to get out of what I call the "AI Zombie Apocalypse", first had the AI Winter where everyone was uninterested, now we have a hoard of cargo cultists mindlessly using the same tooling and algorithms and never trying or pursuing anything else. I very rarely ever see papers that think "hmm, maybe we could try symbolics instead of bashing our heads against the wall of connectionist purism"
      At least a lot of the AI world is using embedding now which is probably as close to symbolics as you can get in a connectionist algorithm.

      Comment


      • #13
        >Our goal is to be a catalyst for using ML to make compilers faster, which is important as poorly optimized programs are slow and consume too many computing resources as well as too much energy, limiting applications of energy-efficient edge devices and making data centers less environmentally friendly

        are they going to work on deleting Electron?

        Comment


        • #14
          Originally posted by bregma View Post
          (3) how faster compilers equate with faster programs is beyond my understanding.
          This is just speculation, but if stronger optimization transforms are found faster then you can apply them in reasonable time. Say, if you have some phase that takes O(n^2) or O(n^3) then that optimization is unusable for large programs. If you can make something equivalent in O(n) somehow, then you can further optimize the output with it.

          Comment


          • #15
            Neural networks are revolutionary, but overrated. But the idea looks promising as long there's Natural Language Processing piped into it to document it's methods and can turn it into a hand crafted algorithm and write a scientific paper. Otherwise, when you trust magic that you don't know how it works, you get results like this.

            Comment


            • #16
              this post speaks in terms of making the compiler faster but the context sounds like they mean making the compiled code faster?

              Comment


              • #17
                Originally posted by lamka02sk View Post

                React is a whole different story and the performance is quite similar to other frameworks like Vue or Angular so I wouldn't criticise it too much. The problem of these frameworks is the overhead/glue code and you can't really do anything about that. Just a short time ago, everyone thought that virtual DOM is the only way to go forward, but now, Svelte is the proof, that you don't need virtual DOM to make dynamic web apps fast. I think the compiler based approach is a much better solution.
                Well, it is like 20 times slower than vanilla web, and the workflow is a tad moronic, but who am I to judge.

                I guess the reason they don't care that much about it is it is front end, and it is the end user's system that has to suffer. Whereas if it is their server fleet they might have a different set of priorities. zstd is ok anyway, IIRC the ML-ed this one as well.

                If you ask me, every joule of energy farcebook uses is worse than wasted - it is put into something stupid and toxic to humanity.
                Last edited by ddriver; 02 October 2021, 02:09 PM.

                Comment


                • #18
                  Originally posted by ddriver View Post
                  Great, maybe they can use AI to figure how to not be such a sh1tty company.
                  While one can certainly have issues with the company itself and its business practices, the engineers working on their infrastructure are very good. This is no different than the engineers at Microsoft/Apple contributing good work to the larger open source ecosystem (sure, these companies are funding this work because they see potential benefits to themselves, but a rising tide lifts all boats, so you get some benefits too).

                  Comment


                  • #19
                    Originally posted by CommunityMember View Post

                    While one can certainly have issues with the company itself and its business practices, the engineers working on their infrastructure are very good. This is no different than the engineers at Microsoft/Apple contributing good work to the larger open source ecosystem (sure, these companies are funding this work because they see potential benefits to themselves, but a rising tide lifts all boats, so you get some benefits too).
                    Yeah yeah let's praise our corporate overlords for the crumbs they leave behind for the roaches to feast on.

                    Comment


                    • #20
                      Originally posted by ddriver View Post

                      Yeah yeah let's praise our corporate overlords for the crumbs they leave behind for the roaches to feast on.
                      Where do you think the vast majority of paid work on Linux comes from?

                      Comment

                      Working...
                      X