Various embodiments of the present invention are directed to modulators that can be operated electronically and used to modulate electromagnetic radiation. In one embodiment of the present invention, a modulator comprises a slot waveguide having a top semiconductor layer, a bottom semiconductor layer, and a transmission layer sandwiched between the top semiconductor layer and the bottom semiconductor layer. The slot waveguide also includes a plurality of holes forming a Bragg grating along the length of the slot waveguide.