Designer News
Where the design community meets.
over 9 years ago from Diego Lafuente, UX/UI
Considering you can build JS apps which perform on par with native I'm going to guess this will work just fine.
Not quite. If an app is not computationally expensive (for example, rendering a list of tweets or displaying chat messages as they come in) then it may be that computers are fast enough that there is no discernible difference between native code and interpreted code. However, if you step outside that realm (for example, rendering a 3D scene with ray tracing, bump maps, subsurface scattering, etc) then you will be able to coax much better performance out of native code.
TL;DR even if from a user's perspective Hello World in JS performs just as well as in C, Call of Duty will not.
Yes, I totally agree with that. But, even WebGL and Canavas work quite nicely on mobile. Surely an Apple product will be better optimized than those technologies.
Not to mention their new Metal API provides access to lower APIs.
Maybe I'm just too optimistic :)
Type inference in this case is a compiler concern.
Type inference is not slow. It might be slower than typing a type directly but it doesn't slow running application because it determines types at compile time. Although it might take longer to compile. But we are talking about milliseconds.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
I'm skeptical of the performance claims (type inference is sloooooooow) but it'll be interesting see how the language looks. I'm excited.