Once we invented CMOS this problem pretty much went away. You can indeed just slam the transistor open and closed.
Well, until we scaled transistors down to the point where electrons quantum tunnel across the junction. Now they're leaky again.
Well, until we scaled transistors down to the point where electrons quantum tunnel across the junction. Now they're leaky again.