22 ms·
Microsoft Launches React Native for Windows
- dfabulich 8y agoI think it's wrong/confusing to say that they're "launching" React Native for Windows. React Native for Windows is out already, and it works fine. They're just announcing the kickoff of a C++ rewrite. https://github.com/Microsoft/react-native-windows/blob/master/vnext/README.md https://github.com/Microsoft/react-native-windows/blob/maste... > In this sub-folder, we are working on a vnext rewrite of React Native for Windows10 built in C++ that reuses the C++ core bridge implementation from Facebook’s React Native. This will allow React Native for Windows10 to innovate and provide features by sharing the same core as Facebook’s React Native. Cool, but this is basically just an implementation detail. (I do wish it supported Windows 7 and 8.)
- BinaryIdiot 8y agoYeah, I think you're right. A lot of people have even shipped applications using React Native for Windows and it's been around for years. The article, in the way it's written, makes it sound like they just opened it up today which is wrong. The C++ rewrite is exciting but yeah, it's more of an implementation detail. I wonder if Microsoft words the announcement better (only saw the one from Tech Crunch).
- sccxy 8y agoBuild 2019 gives us so many exciting news today. This year I switched my developer machine from Macbook to Thinkpad and so far it has been wonderful.
- dvh 8y agoEmbrace. Extend. Extinguish.
- jclay 8y agoI switched from Mac to Windows a few years ago and I have to say, I’m always excited to see their latest announcements and OS updates. When was the last time macOS had an update that was exciting for developers? They’re phasing out OpenGL, and there is no CUDA support for Mojave. Docker support was pretty frustrating the last time I tried it as well. No big features in the last few macOS releases. All the latest features increase lock-in and don’t exist outside of the mac ecosystem (looking at you Handoff and iMessage) Microsoft now has: - VS code - A new terminal announced today (a very welcome change) - Ability to natively run any linux distro, with GUI! (WSL w/ X11 server) - Hyper-V powered docker containers (and they’re fast) - Great CUDA support - One click to install and run Ubuntu desktop in Hyper-V - Chocolatey has grown on me and is an effective brew replacement. Overall, i’m very satisfied with the development experience on Windows, and the pace at which it is improving makes me very confident that it will continue to attract more devs. I also like that they make their products available on other platforms. I know that if I switch back to MacOS my OneNote, word docs, and C# code can be brought over without issue. The same equivalents for macOS don’t provide any cross platform equivalents. I’m still holding out for tabbed windows in the file explorer, though :/
- dangoor 8y agoThis year's macOS update is expected to include a framework which makes it easy to port iOS apps. That will likely be exciting for developers, because there are _a lot_ more iOS developers than Mac developers. The Mac is already a unix, so a lot of the things you list aren't necessarily things that Mac developers are clamoring for. WSL was a big deal because it brought the unix-like ecosystem to Windows, but Macs already had the ability to natively run a lot of unix utilities.
- pavlov 8y ago"iOS developers who want to sell their product on the Mac App Store" is a rather small subset of developers. I suppose it's nice that they're getting a bit of extra dividend on their existing iOS efforts, but that's pretty much it. Marzipan does nothing for the Mac. Notably left out from Apple's current direction are existing Mac developers and web developers, whom Apple has been taking for granted for years.
- coldtea 8y ago>iOS developers who want to sell their product on the Mac App Store" is a rather small subset of developers You'd be surprised. There's absolutely no reason to be a "small subset" if it makes men easy money for quick recompile + some small GUI adaptation.
- pavlov 8y agoPeople with iOS apps on the App Store are a small subset of developers. That's the reality now. Marzipan isn't going to grow that number.
- scarface74 8y agoWell, seeing that all of the games that will be part of Apple’s games subscriptions will also be on the Mac and some iOS developers have already said they wanted to have a port ready “day one”....
- CamperBob2 8y agoWhat would be the arguments for/against using this instead of, say, Qt?
- petrbela 8y ago"Learn once, write everywhere". Can't speak about performance comparison vs using Qt/.NET/whatever but the whole idea about React Native is that today, you can write a native app for iOS, tvOS, Android, web, macOS, Windows, and a few others, all using the same language and framework. You still have to understand platform specifics like UX guidelines but you use the same technology to build a fully customizable, and fully performant, native experience. It's sort of like using C++ but way more developer friendly. The cons: - an extra layer of abstraction - need to write a plugin if you want to surface a native functionality to RN if it's not yet supported - no visual UI editor like in native tools (Qt/VS), although you generally won't need it with React Native's code-first and instant refresh development workflow - you need to be comfortable with React Native / JavaScript, obviously :-)
- iso-8859-1 8y agoIt's not gonna run everywhere, for the same reason WPF doesn't run everywhere. Given that the apps written with this will bind to Windows using C++, and there is no abstraction in between (like Qt), it's not gonna be portable. As far as I understand, it is going to be a reimplementation of React Native where the apps might have a similar style, but the backend will be completely Windows specific. And nothing will stop a developer from using native Windows APIs, so they will. > The "current" subdirectory adds support for an earlier React Native for Windows10 implemented from scratch in C#. It reimplemented the JS<->Native bridge in C#, and shared the JS with Facebook's implementation of React Native. The ongoing direction of React Native involves a closer interaction between C++ and JS which is hard to achieve with a separate C# implementation. Given that they say that the "old" version "shared the JS" in past tense, that seems to hint that the "new" version will not share the JS? In that case, what is left of React? It sounds like it will be the same style of API and workflow, but different widgets and no cross-platform compatibility. Source: https://github.com/Microsoft/react-native-windows/blob/master/vnext/README.md https://github.com/Microsoft/react-native-windows/blob/maste...
- niutech 8y agoThere has already been ReactXP from Microsoft to make apps for web, iOS, Android, and Windows: https://microsoft.github.io/reactxp/ https://microsoft.github.io/reactxp/
- icxa 8y agoI find it interesting that most threads on HN lately about Windows always seems to have quite a few comments in the form "I switched from Mac to Windows, loving it!" I know no place is immune from shilling, but it does raise a particular brow. Conspiracies aside, and probably more interestingly, I am not convinced that "this is the new Microsoft" or that Satya Nadella is some visionary CEO because while everyone has been seemingly lulled to sleep here on "the new Microsoft" on HN lately, guess what accounted for an ever growing portion of Microsoft's business last quarter? Microsoft's data mining business! Horray! So while we are out here with our pitchforks on the Google's and Facebooks of the world collecting our data and selling it, Microsoft has quietly turned around and ramped up their version of these practices seemingly unscathed. Remember, Microsoft is still under scrutiny for continuing to collect your data on Windows and other products even after you have opted out. From my perspective, choosing to run Windows is still choosing to run a spy machine for Microsoft. Maybe I am wrong, but Microsoft still doesn't deserve our trust, not even in the slightest.
- zimbatm 8y agogot a source?
- oceanghost 8y agoI completely agree. Most of the HN readers are too young to remember MS's bad practices.
- duxup 8y agoMaybe that is ok?
- Aelius 8y agoHow many employees from Microsoft in the 90s are still there now, calling the shots? Microsoft is a company like any other, and like any other company we should keep an eye on what they're doing. But too often the people who "remember Microsoft's bad practices" are completely unwilling to reevaluate the company based on what they're actually doing _now_, instead preferring to cling to illogical biases based on an old grudge.
- wtdata 8y agoI think it won't be long before Microsoft returns to the smartphone market with an OS based on Windows, and this time it won't be a flop.
- nwah1 8y agoThe rumor for a long time was that the Windows Phone brand was dead but that they might want a "Surface Phone" possibly with x86 emulation, which could double as a PC in your pocket. They just tested the water with ARM-based Windows laptops that have x86 emulation.
- wtdata 8y agoBut they already have some windows version running on ARM right? I can't check right now but Microsoft offers something that runs on Raspberry Pi if I remember correctly.
- lkschubert8 8y agoYeah Windows IOT (previously Windows Embedded I think) runs on ARM.
- baybal2 8y agoSurface Phone is certainly not a bare rumour. Prototype PCBs and unleaded parts of the device been spotted around Shenzhen for around a year now. Moreover, Microsoft itself been said to go around different prototyping shops here. Lakefield was once said to be a codename for Surface Phone, but now been discovered to be a codename for Intel CPU purpose made for it.
- baybal2 8y agounlabeled
- openfuture 8y agoThis smells like an EEE, but I welcome it, they just want to snatch React from FB.
- lucasmullens 8y agoWhat is EEE? And what do you mean by "snatch React"? Facebook owns React, it's not really snatchable.
- tinix 8y agohttps://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
- spiffytech 8y ago"Embrace, Extend, Extinguish", Microsoft's 1990s playbook for eliminating competition by creating a proprietary fork of some open system/standard, then locking the industry into the Microsoft version of the product.
- indream 8y agoAnnouncement: https://www.microsoft.com/developerblog/2016/05/26/creating-universal-windows-apps-with-react-native/ https://www.microsoft.com/developerblog/2016/05/26/creating-...
- magicbuzz 8y agoAs a long-time React dev, I booted Windows and started looking thru the "vnext" setup. But then took another look and saw this: System Requirements: Visual Studio 2017 Oh. Well, sorry but I'm not going to drop my current IDE (i.e install and run a branch new IDE rather than my everyday tool I've customized greatly).