shucking bivalves for food

Scallops, clams, oysters … all pretty much the same. What bothers me to no end though, is at what point in this process does the darn thing die?

I’ve seen opened clams that are still alive, but this one doesn’t appear to be here: