I can't tell the difference when it's stubble..
but whilst it's growing barley tends to have longer bristles on the seed head and barley the seed head is narrower..and often bends over more as the seed head droops over...wheat seed heads are thicker
barley also looks like the wild green barley that as kids we would throw as darts
.both of course are grasses