News for hackers. Stuff that matters.
Re:Ask HN: Is there a compiler powered by a neural net? by bruce511 on Sunday June 14, 2020 @02:02AM (#23515471)
I'm not sure I understand what you are asking. Compiling English to bash sounds like a thing because English is a very imprecise way of describing a set of computational tasks.

Whereas java is the exact opposite. Every single command in java is precisely defined, and does exactly what you tell it to do. Compilers already have 100% effectiveness on doing this.

I am lead to assume that an AI would then compile "what I meant" and not "what I wrote". I'm not sure that's helpful because that sounds like a great way to get random, sometimes, bugs.

If you are getting errors from the compiler it is because your code is imprecise - and the fix there is to make it more precise.

I may have misinterpreted your question, or lack the imagination to see where you are going, so please feel free to expand on your point.

There are no comments on this comment yet.