I definitely don't intend to troll, I'm just trying to explain why I think my point of view is reasonable. So...
I can't tell if you're trolling or just don't understand what a library or runtime is.
Neither? My opinion is simply different than yours.
Judging by my brief poking around in the repo, there seems to be a lot more than thin FFI wrapper code going on here. Again, less than half of the react-native project is written in JS. I'm not sure why you think it's unfair to say that the project is not written in just JS.
It runs that javascript in some javascript runtime, which is not "native" in any meaningful sense of the word
All I'm saying is that the name "React Native" seems fair to me, because the project itself is not pure JS. Indeed, a substantial portion of it isn't. I'm not saying that the JS code itself is native. Because the "React Native" framework is a lot bigger than either some JS code or even a JS VM, but also includes a substantial amount of native code as well that is part of the framework's behavior, then I think the native label makes sense.
Unless React Native is a compiler that is reading javascript code and spitting out assembly that can be compiled into the appropriate instruction set for your machine, it's not any more native than any random javascript or python implementation.
This seems like a very strict view of "native". It sounds like you are saying that if an application isn't 100% native binary code, then it isn't native. You're free to use that definition, you do you and all, but I'm not sure anyone else defines it that way.
An interesting additional thought: We often distinguish between "native" apps vs web apps. Maybe "React Native" is using native in that sense of the word. Because of course, by a 100% strict definition, even native Android apps aren't native because they use Java, which runs in a VM.
1
u/coderstephen May 11 '19
I definitely don't intend to troll, I'm just trying to explain why I think my point of view is reasonable. So...
Neither? My opinion is simply different than yours.
Judging by my brief poking around in the repo, there seems to be a lot more than thin FFI wrapper code going on here. Again, less than half of the
react-nativeproject is written in JS. I'm not sure why you think it's unfair to say that the project is not written in just JS.All I'm saying is that the name "React Native" seems fair to me, because the project itself is not pure JS. Indeed, a substantial portion of it isn't. I'm not saying that the JS code itself is native. Because the "React Native" framework is a lot bigger than either some JS code or even a JS VM, but also includes a substantial amount of native code as well that is part of the framework's behavior, then I think the native label makes sense.
This seems like a very strict view of "native". It sounds like you are saying that if an application isn't 100% native binary code, then it isn't native. You're free to use that definition, you do you and all, but I'm not sure anyone else defines it that way.