Earlier quoted context omitted.
Not sure you can do anything there, unless you intend to change the chromium source. The problems here are on the hardware level, which you're, owing to sitting on top of chromium, far removed from. That said, i don't use Postman, heard of it the first time today. But you might be able to reproduce some of the issues by loading a very animation-heavy imgur page like https://imgur.com/a/0L8Bu , scrolling to the gifs,…
We don't need to change the chromium source. Everything is not sitting on top of Chromium. I haven't tried this just yet but node-pre-gyp allows packaging C++ too. https://github.com/mapbox/node-pre-gyp
Going native
231–240 of 245 posts
Re: Going native
#232Earlier quoted context omitted.
Performance is a property of an application as a whole, not just the framework it's built on. While you can certainly argue that apps which use webviews are slower on average than their native counterparts; Electron-based apps aren't necessarily always going to be slow; and native apps aren't necessarily always going to be fast. Therefore, since a user cannot conclude that an app is "not native" merely by observing i…
People conclude things based on their experience using them. There are a lot of bloated feeling electron apps out there that are popular right now, which leads to people concluding (not incorrectly) that electron apps tend to be slower than native ones based on their experience.
Re: Going native
#233Earlier quoted context omitted.
Java was and is wasteful. Some of us remember something very similar to this Electron mess happening in the Distant Past when Java fans tried to convince everyone that UI slowness and general system-wide performance issues when Java programs were running were just in our heads, and to just get over it because Java was the Way of the Future™. Of course now computers are so fast that no-one much minds Java anymore. So…
I’m just wondering why the fuck we don’t simply just use Java, and get exactly the same advantages as electron provides, while still getting better performance. An argument can be made that devs might want to not care about memory allocation or anything, but Java does that just as well as JS, with a better build system, better community tools, better speeds, easier UI tools, and better dependency management.
Re: Going native
#234Re: Going native
#235Earlier quoted context omitted.
I’m just wondering why the fuck we don’t simply just use Java, and get exactly the same advantages as electron provides, while still getting better performance. An argument can be made that devs might want to not care about memory allocation or anything, but Java does that just as well as JS, with a better build system, better community tools, better speeds, easier UI tools, and better dependency management.
I think the main driver is that a lot of developers are really not comfortable manually juggling types. Seriously.
You’re serious?
I’m not quite sure what to answer.
On the one hand, that’s embarrassing (and tells tales of the quality of compsci education), on the other hand, there’s Groovy, I guess?
Re: Going native
#236Earlier quoted context omitted.
You're not the target market if you couldn't figure out what they are. I've never heard of it but one look at the screenshot told me exactly what it is.
That's not a reason to have a poorly explained product or service, it's only a justification for not caring enough about clarity. But for developers, who see hundreds of libraries and services being posted every day, it matters if there is a clear explanation at the top or not.
smlacy's response felt pretty much like trolling to me.
Re: Going native
#237Earlier quoted context omitted.
I think the main driver is that a lot of developers are really not comfortable manually juggling types. Seriously.
That’s... You’re serious? I’m not quite sure what to answer. On the one hand, that’s embarrassing (and tells tales of the quality of compsci education), on the other hand, there’s Groovy, I guess?
Re: Going native
#238Earlier quoted context omitted.
That’s... You’re serious? I’m not quite sure what to answer. On the one hand, that’s embarrassing (and tells tales of the quality of compsci education), on the other hand, there’s Groovy, I guess?
Bad example. Apache Groovy has the downsides of both Java (e.g. requiring the memory hogging JVM) and JS (e.g. errors arising from dynamic typing, like one-char strings auto-converted to chars).
Re: Going native
#239Earlier quoted context omitted.
So native would not cover mobile apps?
It depends on the host platform. On desktop, all native apps are desktop apps but not all desktop apps are native. On mobile, all native apps are mobile apps but not all mobile apps are native.
For most users, desktop apps = things that run on the desktop.
Re: Going native
#240Postman founder here HN folks. Great to see the post get featured on the homepage! Lots of discussion about what is exactly native. I have posted some replies but some other points about the choice of words: 1. Postman has 3 million users and about 1.5 million MAUs. When we tell people we have a native app, they get it. People go to our apps page, download the installer and see everything exactly as they expect thing…
>> When we tell people we have a native app, they get it. People go to our apps page, download the installer and see everything exactly as they expect things to be. The term "native" is used to describe apps developed for a specific operating system. By this definition, clearly Electron apps (and hence Postman) are not native apps. Having to download an installer doesn't make it native. On smartphones, all apps are i…
I would have said that "native" means compiled for a specific operating system or a processor. If someone develops an app using Qt which then works on multiple operating systems, it would still be considered native.