4 ms·
Is Sublime Text a native app or a web page?
by theredbox 7y ago
Is Sublime Text a native app or a web page?
- bdcravens 7y agoNative. VS Code is a web page by this definition however.
- guessmyname 7y agoSublime Text is 100% a native desktop application written in C++ with the Skia graphics library [1][2]. However, only a tiny fraction of Skia’s functionality is actually used, just for rasterizing lines and blitting images. Font rendering is done by using the underlying platform APIs to do the glyph rasterisation. The editor also exposes an ABI/API that plugins can use via Python scripts. C++ provides the cross-platform functionality, Skia provides the cross-platform UI, custom code was written to target specific parts of the UI in macOS (using Cocoa) and Linux (using GTK). A tiny web driver is used to render a super-minimal set of HTML tags for tooltips. [1] https://news.ycombinator.com/item?id=11689481 https://news.ycombinator.com/item?id=11689481 [1] https://skia.org/ https://skia.org/