ML Compiler

ML Compiler

Advertisemen

So I'm quite tired right now, but I've thought of an idea that's most likely ridiculous. But nonetheless since this is my diary, I'm writing it down.

A compiler built from neural networks! Input code, let the network run, and bam! a compiler. I think supervised learning would be th right way to do things - expected output. Otherwise it may just turn all the input code into cats following on from Google's rather large NN experiment

along another tangent, what about a self-aware compiler. When you push F5 (or whatever the compile button is of your favourite IDE) the compiler begins to judge you. Doing your own pet project with scruffy code safe that no-one will judge you? Well, the compiler will. Maybe it can even give unconstructive criticism such as:

Comment your code, it's vile

Well that's going to throw an exception

ANOTHER infinite loop, you really should quit your CS degree

What am I supposed to do with a null object? Idiot

Semi-colon expected. Dumbass.

On the upside, there may be kind comments from the compiler:

You missed out a semi-colon/parenthesis so I stuck it in

50% green, nicely commented code!

Only an O(nlognlogn) bottleneck, well done

Bedtime

Advertisemen

Disclaimer: Gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami disini.

Tidak ada komentar:

Posting Komentar

© Copyright 2017 Game Engine Tutorial