News for hackers. Stuff that matters.
Re:No, React Native is not the future by dlivingston on Saturday December 31, 2022 @11:19PM (#34203563)
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...

Re:No, React Native is not the future by claytongulick on Saturday December 31, 2022 @11:50PM (#34203704)
> the more asinine it sounds.

HN is better without personal attacks and insults.

Re:No, React Native is not the future by zapzupnz on Sunday January 01, 2023 @02:58AM (#34204541)
The comment was against the argument being made, not the user. Nothing personal about it.
Re:No, React Native is not the future by claytongulick on Sunday January 01, 2023 @04:19PM (#34211030)
That's an interesting take that I don't agree with.

It could be extended to pretty much anything: "I'm insulting your clothes, not you".

Calling something that a person says, or writes "asinine" is inflammatory. If I were to call your defense of it "naive, brain dead and utterly absurd" are you sure you wouldn't interpret that as a personal attack?

Re:No, React Native is not the future by zapzupnz on Sunday January 01, 2023 @09:18PM (#34213461)
> Calling something that a person *says or writes* "asinine" is inflammatory

Yes, inflammatory. But personal, no.

> If I were to call your defense of it "naive, brain dead and utterly absurd" are you sure you wouldn't interpret that as a personal attack?

Correct, because it's not personal. That would be attacking the quality of the argument, not me, although it would certainly be inflammatory. I certainly wouldn't take it well — but for a totally different reason than you originally specified.

"Personal" and "inflammatory" are two different things.