By the way. Porting the C part is one thing but what to do about all the emacs lisp packages? a compat mode?
tldr; Theoretically it should just work. There are some tricky bits.