What denotes the main relationship between protists and prokaryotes?

do they both undergo transcription and translation? do they have different genetic codes?