News for hackers. Stuff that matters.
Re:Going native by colordrops on Thursday March 23, 2017 @07:25PM (#13945280)
It's a native binary executable with standard access to system APIs, so in the technical sense, yes.
Re:Going native by Qwertious on Friday March 24, 2017 @02:33AM (#13947110)
By that logic, if I fork chromium and make a custom version of it that's hard-coded to start up HN in the first tab, then I've made a native HN app.
Re:Going native by MadcapJake on Friday March 24, 2017 @07:21AM (#13948143)
No, you've "made" a native browser that opens HN in the first tab.
Re:Going native by radisb on Friday March 24, 2017 @07:36AM (#13948206)
By that logic Postman native is a native browser hardcoded to open only one tab and load Postman's javascript code upon start-up
Re:Going native by MadcapJake on Friday March 24, 2017 @10:27AM (#13949066)
Basically this is true but the browser (Electron) is designed to be single-purpose (your app) and has pathways to the filesystem that you can't get in a web browser.

Also, it is treated as an application by the OS rather than a Chrome window (and all the benefits that come with that shift).

Re:Going native by Antrikshy on Saturday March 25, 2017 @06:46PM (#13957920)
But you won't have access to the file system unless you further modify it.
Re:Going native by josephg on Thursday March 23, 2017 @07:33PM (#13945331)
That just makes the platform native, which doesn't say anything at all. Presumably the app itself is still written in javascript, so its not native at all - its just bundling its own (native) copy of chrome.
Re:Going native by colordrops on Friday March 24, 2017 @01:05AM (#13946740)
So are you saying anything with a runtime is not native, even if embedded in an executable? Is a go app native?
Re:Going native by meditationapp on Friday March 24, 2017 @02:10AM (#13947032)
Does a go app use the native toolkit?

QT isn't native either.

Re:Going native by danieldk on Friday March 24, 2017 @02:49AM (#13947164)
Actually, Qt (as in Qt Widgets) is a peculiar case. Qt draws its own widgets, but on some platforms uses native theming APIs to draw widgets (e.g. HITheme in macOS[1]). Though they are apparently experimenting with native widgets now [2].

So I'd say Qt is more native than e.g. Electron, but it is definitely not completely native. Except on Linux of course.

[1] http://doc.qt.io/qt-4.8/qmacstyle.html#details

[2] http://blog.qt.io/blog/2017/02/06/native-look-feel/

Re:Going native by meditationapp on Friday March 24, 2017 @02:09AM (#13947028)
The technical sense meaning it's not interpreting some random scripting language and rendering with HTML/dom?

Because that's the meaningful sense.