Polymers of intrinsic microporosity (PIMs) have generated significant interest for membrane separations and other applications since their initial discovery in 2004. PIMs are designed to have highly rigid and contorted backbone structures th at cannot pack efficiently and thus exhibit microporosity. PIMs find applications in industry as they are solution processable, have a high permeability, and exhibit significant gas pair selectivities as membranes.