Sign in

“ Why would anyone want to use machine learning to build a compiler?”

Compilers translate programming languages written by humans into binary executable by computer hardware.Machine learning, on the other hand, is an area of artificial intelligence (AI) aimed at detecting and predicting patterns. Perhaps it seems this domains are diverse and are too vast but we shall see further how that compilers and machine learning are a natural fit and have developed into an established research domain.

It’s all about optimization

Compilers have two jobs-translation and optimization. First, they must translate programs into binary correctly. Second, they have to…

Deep Patel

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store