|
|
|
|
|
by dlivingston
1273 days ago
|
|
Sorry... what? The more I read this, the more asinine it sounds. Some definitions: - The Obj-C runtime is just a shared library that Swift links to on compilation (/usr/lib/libobjc.A.dylib). The performance to call into it is identical for Swift and Obj-C. - "Sure you could get better performance by writing your apps directly in Obj-C..." Swift code is native code. Cost to access the runtime is identical. - There is one "hop" to go from Swift to the Obj-C runtime. - There are >2 "hops" to go through the JS Bridge. https://hackernoon.com/understanding-react-native-bridge-con... |
|
HN is better without personal attacks and insults.