How long do you think it'll be till we can program an AI that can feel pain? Is it even possible?

while (1)
pain++;

AI does feel pain

If you put a big rock into a boeing 787's engine while it was flying all types of computers would act up. It would have a measurable increase in computer activity. it would react by probably turning the engine off and diverting its fuel supply. Then all the control systems would probably switch to a 1 engine mode.

that's indistinguishable from pain

Does it matter that machines feel pain? hell no

>that's indistinguishable from pain

Mechanically maybe, but pain is emotive. AI would have to understand disparity and the difference between positive and negative to actually 'feel' pain.

>that's indistinguishable from pain
In what way?
Do you even know how pain works in the brain?

do you?

Because pain serves as a deterrent and there's literally nothing wrong with redundant security measures.

Disprove it.

>add a pain variable to a program
>it now feels pain

literally prove me wrong

Why the heck would want a robot to feel pain? Pain gets in the way of it doing hard labor that might break its body.

If robots couldn't feel pain why would they listen to use once they are sentient? We need them to feel it when we whip them dummy.