Hacker News new | ask | show | jobs
by huyphams 3048 days ago
Yes, we build it natively. There are tons of native applications: sublimes, Dropbox, chromes etc... and many ways to cross-platform. I don't want to spend 2GB for every electrons app (slack, vscode, database app...) so I build TablePlus natively. Basically, I split the project into 2 pieces. Logic and Interface. The logic can cross-platform because it is pure C/C++.

Dropbox does the same way with djinni: https://github.com/dropbox/djinni

3 comments

I see, thanks for the answer. I am a fan of native applications by the way. Will the Windows version use WinForms, WPF or UWP for UI?
Chrome has a custom GUI framework of their own, and it does not look native in many cases (alerts, for example). Dropbox on Desktop is written in Python and uses PyQt (Qt itself is in C++ and looks fine on all platforms).
Sublime Text isn't quite native, as the text rendering is done with Skia IIRC.