News for hackers. Stuff that matters.
Re:React Native at Instagram by shortstuffsushi on Monday February 06, 2017 @11:21PM (#13586990)
You make it sound like it is as simple as that, only a method table instead of a header field :)

That said, you mention using a varint or uint32 which "use more CPU or memory" -- 16 bits vs 32 bits in applications that use megabytes seems trivial. Can you explain why that's a concern?

Re:React Native at Instagram by kuschku on Tuesday February 07, 2017 @07:15AM (#13588828)
It's not a concern anymore, but when Android was created, the average application was less than 20kiB. Back then, resource restrictions were a lot more problematic.