It uses a client-server architecture, with with code-completion and other IDE features provided by a server separate from the editor client. I suppose that means you might need the JVM for the IDE back-end, but there's no reason why the editor can't be native.
https://news.ycombinator.com/item?id=29378010