Live data from Hacker News

React Native is now open source

github.com

161–170 of 298 posts

Re: React Native is now open source

#161
post #7

The first thing I do now on each Facebook open-source reveal, is to check the PATENTS file for the toxic second paragraph, to see if they've changed it. Sadly, no. I can't imagine being able to use this at any decent-sized company with lawyers. :-( https://github.com/facebook/react-native/blob/master/PATENTS See for example the discussions at https://news.ycombinator.com/item?id=9111849 (eg. https://news.ycombinator.…

I'm not very familiar with the specific details of software licencing, can someone explain this situation to me?

Re: React Native is now open source

#163
post #148

Earlier quoted context omitted.

> Full disclosure: I work at Google, where many are sad to not be able to use recent Facebook code. I'm confused. The Facebook PATENTS stuff seems no worse than MIT-licensed code that includes no patent grant at all. In other words, if the PATENTS termination clause takes effect, then the software essentially reverts to being plain MIT, instead of MIT + patent grant, right? EDIT: Appears the issue is implicit vs expl…

The second link I included in the comment above was to DannyBee's discussion of implicit vs explicit patent grants.

Thanks for the pointer.

Re: React Native is now open source

#164
post #150

Cool to see this. By my count we now have, in no particular order: - React Native from Facebook ( https://github.com/facebook/react-native ) - Appcelerator's Titanium and Alloy Frameworks ( http://appcelerator.com ) - Telerik's Native Script ( http://telerik.com/nativescript ) - Xamarin ( http://xamarin.com ) As I understand it, all three of these frameworks have a JS (or C#) runtime that is compiled along with the a…

In the case of React Native, we don't actually compile a JS runtime. We avoid that overhead by using whatever JS environment is available on the platform. In the case of iOS, we use JSC.

Re: React Native is now open source

#165

Earlier quoted context omitted.

ComponentsKit is Objective-C++ only (no Swift).

I think they've said they are working on a Swift port (at the end of that F8 video talking about it).

Yes. I think it will be worth the time to rethink it for Swift, because Swift is much better suited for this style of programming than Objective-C++.

Re: React Native is now open source

#166
post #7

The first thing I do now on each Facebook open-source reveal, is to check the PATENTS file for the toxic second paragraph, to see if they've changed it. Sadly, no. I can't imagine being able to use this at any decent-sized company with lawyers. :-( https://github.com/facebook/react-native/blob/master/PATENTS See for example the discussions at https://news.ycombinator.com/item?id=9111849 (eg. https://news.ycombinator.…

Well, you can make a pull request editing it. /s

Re: React Native is now open source

#167

Is React Native for iOS able to take advantage of JavaScriptCore's JIT compiler on any version of iOS? Or can it only use the interpreter? If the latter, I wonder if the React Native developers have considered using Duktape rather than JavaScriptCore. Duktape might be better for memory usage, since it uses reference counting, with mark-and-sweep GC only being necessary to break cycles.

Duktape looks quite nice!

Because we built React Native around an asynchronous batched bridge, we can plug it into any JS execution environment. For now we plug it into JSC, which is available on iOS 7 and 8. We also use websockets to execute the JS in chrome so we can utilize the debugger.

Without much difficulty, we can make the bridge work over a WebView (if we want to support older iOS versions), or Duktape.

Re: React Native is now open source

#170
post #7

The first thing I do now on each Facebook open-source reveal, is to check the PATENTS file for the toxic second paragraph, to see if they've changed it. Sadly, no. I can't imagine being able to use this at any decent-sized company with lawyers. :-( https://github.com/facebook/react-native/blob/master/PATENTS See for example the discussions at https://news.ycombinator.com/item?id=9111849 (eg. https://news.ycombinator.…

> Full disclosure: I work at Google,

Good for you buddy.

Post reply on HN