The best way to optimize code is to stop using shit like electron… and come back a reasonable use of low level coding.
Announcement
Collapse
No announcement yet.
Facebook Is Aiming To Make Compilers Faster Using Machine Learning With CompilerGym
Collapse
X
-
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 PostThis 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.
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
-
>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?
- Likes 3
Comment
-
Originally posted by bregma View Post(3) how faster compilers equate with faster programs is beyond my understanding.
- Likes 1
Comment
-
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.
- Likes 3
Comment
-
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.
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.
- Likes 7
Comment
-
Originally posted by ddriver View PostGreat, maybe they can use AI to figure how to not be such a sh1tty company.
- Likes 4
Comment
-
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).
- Likes 5
Comment
Comment