logoalt Hacker News

aw1621107 • yesterday at 8:58 PM • 1 reply • view on HN

> Or check SIGPLAN papers on machine learning based compilers.

Mind providing some examples? My (admittedly probably dated) understanding of how ML is used in compilers is for picking heuristics/thresholds/other things for which there's no known optimal "right" answer (e.g., pass order, inlining thresholds). Everything else was done in the "traditional" manner, which meant that the machine learning bits were, strictly speaking, completely optional. I haven't heard of compilers where ML techniques are integral to the process to the point where removing any ML bits would result in a nonfunctional compiler.


Replies

pjmlp • yesterday at 9:31 PM

A recent example,

"Compiler 2.0: Building the Next Generation Compilers with Machine Learning"

https://www.youtube.com/watch?v=FnXEmPwdPDA

➕ show 1 reply