News for hackers. Stuff that matters.
Re:The new business of AI and how it’s different from tradit... by chaosite on Tuesday February 18, 2020 @06:17AM (#22355115)
Compilers are AI?
Re:The new business of AI and how it’s different from tradit... by sacado2 on Tuesday February 18, 2020 @06:37AM (#22355188)
"Plain" compilers are just translating from one notation to another, so they aren't.

But optimizing compilers that analyze your code and find that portion of your code can be rewritten to make the produced executable more efficient? I'd say it sound a lot like AI, yeah. I woulnd't be shocked if someone told me "gcc's -O3 option uses AI techniques".

Re:The new business of AI and how it’s different from tradit... by TuringTest on Tuesday February 18, 2020 @06:41AM (#22355208)
If you have a compiler that can write a correct program from examples of the desired output, definitely yes.
Re:The new business of AI and how it’s different from tradit... by chaosite on Tuesday February 18, 2020 @08:55AM (#22356045)
That's usually called program synthesis, and a lot of it uses formal methods. It isn't usually considered AI (but recently the field started incorporating a lot of ML, like pretty much anything in CS these days.)
Re:The new business of AI and how it’s different from tradit... by TuringTest on Wednesday February 19, 2020 @04:20AM (#22364105)
Correct me if I'm wrong, but I think program synthesis works more from writing very general formal specifications, rather than learning from a sample of desired outputs.

The latter is called Programming By Example, and the pattern-finding process needed to infer generalities from specific samples does benefit from machine learning techniques.

Re:The new business of AI and how it’s different from tradit... by chaosite on Wednesday February 19, 2020 @12:02PM (#22367439)
"programming by example" is a form of program synthesis, where the spec is provided by the examples. It is a formal specification, albeit incomplete. Program synthesis, as a concept, does not require the specification to be complete.