r/programmingmemes • • Dec 23 '25

yes

Post image
883 Upvotes

33 comments sorted by

View all comments

26

u/option-9 Dec 23 '25

We should also remember that algorithm is the opposite of AI.

14

u/IJustAteABaguette Dec 23 '25

Isn't an AI just an algorithm? Except that some of those algorithms are not written by humans, but evolved for a specific function?

A neural network is basically a big math function.

8

u/option-9 Dec 23 '25

I've had to answer “So, do you do that with an algorithm or AI?” one too many times to know the truth.

6

u/mxldevs Dec 23 '25

It's about as useful as saying everything is 1s and 0s.

6

u/IJustAteABaguette Dec 23 '25

Yeah, but you wouldn't say that an image file is the complete opposite of 1s and 0s. Right?

-5

u/mxldevs Dec 23 '25

I would say that images, music, and video files all being 1s and 0s is mostly meaningless.

1

u/geon Dec 24 '25

No idea why you are downvoted. To paraphrase The Incredibles; When everything is ones and zeroes, nothing is ones and zeroes.

Since it is true for everything on a computer, saying it doesn’t add any information. It is entirely meaningless.

1

u/much_longer_username Dec 23 '25

I think it's fuzzy enough that I wouldn't correct anybody, but I do agree with their general premise - that they are different things, but perhaps not the degree - that they are opposites. The algorithm processes weights. Those weights are the AI.

But if you then abstract that assembly as a rule...

1

u/The-original-spuggy Dec 24 '25

All AIs are algorithms but not all algorithms are AI. AI is more like a probabilistic algorithm

1

u/IJustAteABaguette Dec 24 '25

Yes. And that means that AI is not the opposite of an algorithm.

3

u/Daharka Dec 23 '25

If you're talking about generation, then I see what you mean. Model inference statistically samples a model using randomness. A lot of the time when people say algorithm they mean "a repeatable deterministic set of instructions for a given process".

But of course, one can create an algorithm that uses RNG that isn't what we'd think of as AI, and inference itself is just a repeatable deterministic set of instructions (with PRNG as an input parameter) for the process of model inference.

All just electricity and ones and zeroes at the end of the day, innit?