Live data from Hacker News

Google ML Compiler Inlining Achieves 3-7% Reduction in Size

ai.googleblog.com

11–20 of 84 posts

Re: Google ML Compiler Inlining Achieves 3-7% Reduction in Size

#11
post #6

Would be interesting to compare with gcc, which has a better implementation of both inlining and register allocation.

The thing is that GCC successfully shot its own head off via Stallman so no one cares about doing research with it anymore.

The licence doesn't help but most of this work is open source anyway

Re: Google ML Compiler Inlining Achieves 3-7% Reduction in Size

#12
Using ML inside compilers has a lot of untapped potential I think.

People think of a compiler as an AI when they're actually very stupid in terms of the number of decisions available to them.

Feedback is the lifeblood of intelligent performance, it is more than possible to fake that feedback using AI.

E.g. Your error callback is on the balance of probability going to be called less than the (say) core matrix multiply loop etc. Etc.

Re: Google ML Compiler Inlining Achieves 3-7% Reduction in Size

#14
post #9

The (current) title used on HN ( “Google ML Compiler Inlining Achieves 3-7% Reduction in Size” ) is confusing. It made me think Google is using ML ( https://en.wikipedia.org/wiki/ML_(programming_language) ) It also is not the one of the referred page, which is “MLGO: A Machine Learning Framework for Compiler Optimization” . This is about an LLVM extension that uses Machine Learning. I think it would be better to chan…

I think for >99% of folks, ML means machine learning, even if you put compiler after it.

Re: Google ML Compiler Inlining Achieves 3-7% Reduction in Size

#15
post #11
post #6

Would be interesting to compare with gcc, which has a better implementation of both inlining and register allocation.

The thing is that GCC successfully shot its own head off via Stallman so no one cares about doing research with it anymore. The licence doesn't help but most of this work is open source anyway

What do you mean about GCC shooting itself in the head?

What do you mean about its license?

Re: Google ML Compiler Inlining Achieves 3-7% Reduction in Size

#19
post #9

The (current) title used on HN ( “Google ML Compiler Inlining Achieves 3-7% Reduction in Size” ) is confusing. It made me think Google is using ML ( https://en.wikipedia.org/wiki/ML_(programming_language) ) It also is not the one of the referred page, which is “MLGO: A Machine Learning Framework for Compiler Optimization” . This is about an LLVM extension that uses Machine Learning. I think it would be better to chan…

I think for >99% of folks, ML means machine learning, even if you put compiler after it.

Eh, the OCaml crowd is surely reasonably large, and they would all be familiar with ML.

I had the same question as the parent commenter and had to wait until the page loaded before determining whether the article was about machine learning or the programming language.

Post reply on HN