4 ms·
What do you use guys to build such an awesome cross platform app? it is native, right?
by terpimost 6y ago
What do you use guys to build such an awesome cross platform app? it is native, right?
- signal11 6y agoAccording to this comment[1] by the author, he used cross-platform C++. See also [2] from Sublime’s other author. [1] https://news.ycombinator.com/item?id=2822114 https://news.ycombinator.com/item?id=2822114 [2] https://news.ycombinator.com/item?id=23312357 https://news.ycombinator.com/item?id=23312357
- wbond 6y agoIt all depends on what you mean by "native." :-) Our products are implemented in C++, and we utilize platform-specific APIs to integrate with the OS in the ways that make the most sense. In terms of the UI, however, we have a custom library with our own controls, control structure, event handling, rendering, etc. We only use native UI for menus, file pickers and title bars. We do, however, use OS-provided font layout and rendering APIs so that text looks like other apps on your OS. By implementing only what we need, using a language with low overhead, and making a point of writing code that is efficient, we can generally accomplish excellent performance. This, combined with trying to following platform conventions and taking the time to integrate with the OS APIs, provides a UI that feels snappy and generally doesn't look out-of-place, such as most Java UIs.