Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Android Google Microsoft Programming Software Linux

Visual Studio 2015 Can Target Linux; Android Apps Anywhere Chrome Can Run 96

jones_supa writes Phoronix has noticed that the Visual Studio 2015 product page mentions that the new IDE can target Linux out of the box. Specifically the page says "Build for iOS, Android, Windows devices, Windows Server or Linux". What this actually means is not completely certain at this point, but it certainly laces nicely with the company opening up the .NET Framework. And speaking of cross-platform software: new submitter mccrew writes Google has released a tool that lets Android apps run on any machine that can run its Chrome browser. Called Arc Welder, the tool acts as a wrapper around Android apps so they can run on Windows, OS X and Linux machines. The software expands the places that Android apps can run and might make it easier for developers to get code working on different machines.
This discussion has been archived. No new comments can be posted.

Visual Studio 2015 Can Target Linux; Android Apps Anywhere Chrome Can Run

Comments Filter:
  • Java killer (Score:3, Interesting)

    by Anonymous Coward on Thursday April 02, 2015 @03:12PM (#49393857)

    Looks like C# is closing in for the kill. I've read that a starter version Xamarin/mono is going to be integrated into VS.

    • Re: (Score:3, Funny)

      by msobkow ( 48369 )

      *LOL* And this is the year of the Linux desktop, too, right?

      There is a lot more holding up C# domination of the world than Java. Like itself.

    • Re:Java killer (Score:5, Interesting)

      by phantomfive ( 622387 ) on Thursday April 02, 2015 @04:51PM (#49394463) Journal
      I'll give my opinion of why it won't, and it is the mindset between the C# community and the Java community, and how they differ.

      In the C# world, it's like the great masters on high give us features and we use them. This is an example of that attitude [youtube.com] (and it's actually rather poetic, if not sickening).

      In the Java world, a new framework comes along when someone says, "we have a problem to solve, what is the best way to solve it?" They are there, working in the trenches, trying to solve the problem themselves. Like Maven.....some guy had problems with builds and said, "there must be a better way." And he built that way. In Java there are often multiple competing solutions to the problem, and eventually one is voted as the best.

      So it's the cathedral vs the bazaar. The cathedral is fine, don't get me wrong, they work hard at it; but it has the feel of product managers, feature checklists, and dispassionate programmers.

      The passionate programmers create a better product, and they're in Java world. (Note: I don't even particularly like Java, I just recognize there are differences between the Java and C# ecosystems).
      • Re:Java killer (Score:4, Insightful)

        by Anonymous Coward on Thursday April 02, 2015 @05:01PM (#49394543)

        Voted the best? And then the rest disappear? Because I'd expect that there's 9 competing ways of doing almost the same thing, sometimes within the same project, with breaking changes between versions. Maven is a pretty terrible example, too... Nuget is a thing. Seems like every platform has a similar package manager concept, and it's generally not owned by whoever is behind the platform.

        • Nuget is a thing.

          Yes, I know.....and another word I would use to describe that thing is a 'joke.' Seriously, how many times has Maven corrupted your project files? This is actually a problem with Nuget.

      • In the C# world, it's like the great masters on high give us features and we use them. This is an example of that attitude [youtube.com] (and it's actually rather poetic, if not sickening).

        Regarding that video, /.ers might recogize the name of the speaker: Jon Skeet.

    • Not really, having programmed in both C# and java this week, I much prefer Eclipse to the mess that is Visual Studio.

      • Re: (Score:1, Informative)

        by Anonymous Coward

        Sorry, but no. Any intellectually honest developer has to admit that Visual Studio is miles ahead of almost any other IDE. Don't be another developer who, for religious reasons, claims Eclipse is better because "it has this one very specialized feature than isn't applicable to 95% of the users, but I cite as a reason because it's one of the few things it does that visual studio doesn't". Even then, 99% of the time some Eclipse zealot says VS can't do something, it's because they are what I would call am

        • I used Visual Studio every day at work. It has a good feature set, but it is notoriously unreliable, and every new release comes with more bugs than fixes. Visual Studio 2013 for example forgets to perform the post-build registration step in 64bit projects, requiring a manual post-build step. It's the year 2015, and the IDE still regularly hangs for seconds at a time when I simply type in the text editor. The debugging engine regularly gets confused, and I have to close all instances of devenv and kill mspd
          • by Anonymous Coward

            Okay ... and I've moved to VS 2013 for about a year now, and haven't had any issues.

            Perhaps your installation is corrupt ...

        • Re:Java killer (Score:4, Interesting)

          by phantomfive ( 622387 ) on Thursday April 02, 2015 @11:43PM (#49396133) Journal

          Sorry, but no. Any intellectually honest developer has to admit that Visual Studio is miles ahead of almost any other IDE.

          Any 'intellectually honest developer' will notice you didn't mention a single concrete idea in your post. Furthermore, if you don't buy the resharper plugin, visual studio is missing a lot of stuff Eclipse would give for free. And it must be useful stuff, otherwise people wouldn't buy the resharper plugin.

        • Translation: I personally like Visual Studio better, probably because I used it first and got used to it, and I am unable to tell the difference between my personal preferences and an objective comparison of the capabilities of different applications.

          I will now respond to the person who replied to me with a cherry-picked example of some random thing of trivial importance that I know how to do in Visual Studio and not in Eclipse.

          • I will now respond to the person who replied to me with a cherry-picked example of some random thing of trivial importance that I know how to do in Visual Studio and not in Eclipse.

            He couldn't even find a cherry-picked example! I don't think the guy you responded to knows what he's talking about.

        • You are a bit of a fanboy yourself. You should have compared Visual Studio with IntelliJ Idea instead of Eclipse. I have the upmost respect for Eclipse, by the way.
        • First, when you say shit like "intellectually honest developer" you are committing an Ad Hominem logical fallacy in your argument, therefore making your argument invalid.

          Now, why do I think VS is a hot mess? Stuff like this:

          https://social.msdn.microsoft.... [microsoft.com]

          When the features of your IDE is driven by the bean counters, then it is time to switch.

  • Apache Cordova (Score:5, Informative)

    by Richard_at_work ( 517087 ) on Thursday April 02, 2015 @03:16PM (#49393879)

    All of the CTP and preview releases have been shipping with Apache Cordova and an Android build target using mono for the underlying .Net implementation. Been like this for the past several months, targetting Android has been well known amongst .Net developers following VS2015.

    • by Hallow ( 2706 )

      Yep. It's cordova - which means web apps (technically hybrid since you can bridge to native functionality). I haven't used a single cordova/phonegap app that I've liked, and I actively look to avoid them. It's generally pretty easy to tell. I'm sure this is just ticking a box for marketing, nobody building anything remotely serious will even consider this.

  • That's how they got cross platform for iOS and Android.

    • by CastrTroy ( 595695 ) on Thursday April 02, 2015 @03:45PM (#49394053)
      I think it will be helpful to everybody if they can get .Net code to compile for iOS, Android, Windows, and Linux. It will make cross platform development so much easier. It will probably help out to get more stuff on the Windows App store as well. Just being able to do iOS and Android in the same language will be a huge help to mobile developers. And if it takes minimal effort to also get the app to working on Windows Phone and Windows app store, then I could see a lot of developers switching to doing things this way.
      • by AuMatar ( 183847 )

        People who want cross-platform on iOS and Android have had it since day 1. Write your logic in C or C++. Its how cross-platform has been done for decades. Then write a wrapper in whatever language the platform uses for the UI.

        If your complaint is that you want cross-platform Ui code as well- no you really don't. The two platforms are so different that you'll never get an app with a good look and field without writing 2 separate UIs. Unless you want to release an Android like UI for Apple (which will g

        • by LateArthurDent ( 1403947 ) on Thursday April 02, 2015 @04:49PM (#49394443)

          People who want cross-platform on iOS and Android have had it since day 1. Write your logic in C or C++. Its how cross-platform has been done for decades. Then write a wrapper in whatever language the platform uses for the UI.

          The problem is that most phone applications are typically 95%+ UI code. If you do that, you're not exactly going to save much time and effort.

        • Re: (Score:3, Insightful)

          by firewrought ( 36952 )

          Write your logic in C or C++. Its how cross-platform has been done for decades.

          Yep... just like people keep talking about this "car" gizmo when we've had decent horse-and-buggy technology for centuries! I don't understand why anybody would want to cross the country in this proprietary Ford nonsense when--with just a little knowledge of horsemanship, veterinary science, metal-working, carpentry, wilderness survival, food preservation, hunting, and gunsmithing--they could take the slow, dangerous, proven approach!

          • I think you missed the point. People want cross-platform GUIs, where the compiler/assembler/linker will automatically reshape the UI to fit the target device's HIG. More like saying "we've been using the internal combustion engine for decades in cars and motorcycles. If you want to increase horsepower, improve the fuel injection that's used in both." If someone comes up with an electric engine replacement, that's still not going to make a new car dashboard suddenly make sense on a kawasaki.

            People have b

          • by dbIII ( 701233 )
            It's more like coming in and using concrete for a hang glider (has been done) instead of making a passenger airliner out of lightweight metals and carbon reinforced plastic. You get a result from the non-traditional approach but it fails to perform as well as using methods that have long proved their worth.
            So maybe this stuff will measure up later but it's still got a bit of proving itself to do before it's a mainstream option.
        • It is not just a "wrapper for the UI code" there is a shitton of stuff, just for starters there are all the sensors (gyroscope, gps, camera), permission handling, packaging the app, interaction between apps, background services and a lot more stuff that differs from one platform to the next.

          Yes you can share much of your application logic between each platform using C/C++, but:
          1) You need to write it in C/C++
          2) If your app mostly just talks to a server there is not much application logic in the mobile devic

        • People who want cross-platform on iOS and Android have had it since day 1. Write your logic in C or C++. Its how cross-platform has been done for decades. Then write a wrapper in whatever language the platform uses for the UI.

          Are we allowed to use someone else's wrapper? Because that's all* Xamarin is.

          *There are more differences between alternate platforms than just the UI. (For example, the sensors you have available are different on iOS and on Android. You also get access to an SD card on Android sometimes.) Xamarin abstracts this stuff too, by the way.

      • The reality is, Microsoft will already be entering a crowded space, including:

        Phonegap
        Appcelerator
        Sencha
        QT
        Unity

        If Microsoft wants to compete here, they need more than just a free cross-platform tool. They need to demonstrate that their tool is worth using, more than all the others.
      • by Dadoo ( 899435 )

        I think it will be helpful to everybody if they can get .Net code to compile for iOS, Android, Windows, and Linux. It will make cross platform development so much easier.

        Except that it'll only be cross-platform for as long as Microsoft wants it to be. What will happen to non-Microsoft platforms if, say five years from now, they decide to say, "Sorry, we're done supporting other platforms." Will software companies that have been using VS all that time re-write their (possibly entire) code base in another lan

    • That's how they got cross platform for iOS and Android.

      Actually, they've been pushing Cordova. Xamarin is an option, but the free starter edition that will work with the Community Edition of visual studio still looks far too limited for seriously development, while the business edition is unreasonably expensive.

      The visual studio 2015 preview includes cordova projects targeting android, though.

      • "And because these JavaScript APIs"... does that mean that the idiotic and uninformative anonymous coward with the initial reply was correct?

        If so, these two things do not go together. And I need to nerd rage on social.msdn.microsoft.com instead of here.

        • C#, Visual Basic, F#, C++, Python, Node.js and HTML/JavaScript
        • Build for iOS, Android, Windows devices, Windows Server or Linux
  • by Anonymous Coward

    Did Yoda create the headline?

  • I initially thought that the reason What this actually means is not completely certain at this point" was because the product had been announced. Then I saw a big fat "download the free community edition" link, and realized that this was another one of those journalistic failures that Phoronix calls "articles". Seriously, how hard is it to try out the product you're reporting on for 3 seconds to see if the feature that your article is reporting on exists?

  • There is always a lock-in there.
  • I'm not and stop calling me Shirley. The day I use Visual Studio to code anything for use on Linux is the day MSFT skypes me a video of their holding my parents hostage.

  • Can someone tell me why "target" is used in this case? I understand that it means you can develop for that platform, but I'm unfamiliar with the etymology behind the term.

    Is it commonly used in this context? Is "target" a term of art for IDEs?

    • Re: (Score:2, Informative)

      by Anonymous Coward

      The word "target" in this context refers to the runtime operating environment for which the executable is being built. This is common usage for compilers, which may be able to "target" multiple processors, or variants on architecture.

  • So Phoronix has only just noticed this? This was discussed on Slashdot [slashdot.org] five months ago.

  • I'm installing VS 2015 CTP as I type, the cross platform mobile options in the installer are Apache Cordova *and* Xamarin. It shall be interesting to see how it works out in practice.

  • I am always intrigued about how many people actually do any kind of C++ development for Linux. It seems to me that geeky types working on Linux terminals are exactly the kind of people who would derive pleasure from diving into the complexity of C++ language and systems programming. I wonder how they feel about their development experience on Linux as compared to what Visual Studio can afford for Windows.

If all else fails, lower your standards.

Working...