C# biz Xamarin fancies a change, sinks fangs into Java upstart RoboVM

Cross-platform mobile development business now pitches to Java developers


Xamarin, the company co-founded by Mono inventor Miguel de Icaza to enable cross-platform mobile development with C#, has acquired RoboVM.

RoboVM lets developers target iOS and Android with cross-platform Java code, complementing what Xamarin already offers for C#. "The acquisition means that Xamarin now controls the cross-platform mobile development market for the most widely adopted languages capable of native, client-to-server, cloud-to-mobile development," is the bold statement in the company's press release.

Java is normally compiled to an intermediate language called Java bytecode, which is further compiled to native code by a just-in-time (JIT) compiler at runtime. By contrast, RoboVM has a native compiler for Java bytecode, which it calls "ahead of time" (AOT), since it produces a native executable. This is necessary for iOS, since Apple does not allow JIT compilation on its mobile platform.

The way this works is that RoboVM uses the Soot open source tool to translate Java bytecode to LLVM IR (intermediate representation). LLVM, also open source, is a compiler infrastructure project which enables back ends targeting numerous platforms, including iOS and Android.

RoboVM also offers a custom Java-to-native bridge, called Bro, which lets you wrap native C or Objective-C functions in Java code using annotations.

Although RoboVM targets both iOS and Android, the focus of the documentation is on iOS, presumably because Java is already the native programming language for Android applications. Like Xamarin, RoboVM is primarily for sharing non-visual code, and developers normally use Apple's Xcode Interface Builder or a programmatic approach to creating an iOS user interface.

The RoboVM AOT compiler is open source, but since the first full release in March 2015 the company has offered commercial licenses that include additional closed-source tools such as the debugger, integration with Apple's Interface Builder, and support services. Licenses are subscription-only and currently cost $25 per month for the basic Solo edition, $125.00 for a Business edition, and tailored quotes for large organizations.

Those prices are similar to Xamarin, which is also subscription-only. A key difference, though, is that Xamarin's mobile compilers are not open source.

According to the press statement, "Xamarin and RoboVM will operate independently to ensure each team stays focused on their C# and Java user bases, respectively." But there are obvious advantages in shared developer marketing and sales, as well as Xamarin tools such as Test Cloud for app testing on cloud-hosted mobile devices, which will also be applicable to RoboVM customers.

Despite this statement, there is significant overlap in the tools offered by the two companies, and it would not be surprising to see further integration.

This acquisition makes sense for Xamarin, enabling it to pitch for Java as well as C# developers. It may not be so welcome to Microsoft, if in the long term it dilutes the focus on C#, which has made Xamarin a key partner. ®


Other stories you might like

  • Chip shortage forces temporary Raspberry Pi 4 price rise for the first time

    Ten-buck increase for 2GB model 'not here to stay' says Upton

    The price of a 2GB Raspberry Pi 4 single-board computer is going up $10, and its supply is expected to be capped at seven million devices this year due to the ongoing global chip shortage.

    Demand for components is outstripping manufacturing capacity at the moment; pre-pandemic, assembly lines were being red-lined as cloud giants and others snapped up parts fresh out of the fabs, and the COVID-19 coronavirus outbreak really threw a spanner in the works, so to speak, exacerbating the situation.

    Everything from cars to smartphones have felt the effects of supply constraints, and Raspberry Pis, too, it appears. Stock is especially tight for the Raspberry Pi Zero and the 2GB Raspberry Pi 4 models, we're told. As the semiconductor crunch shows no signs of letting up, the Raspberry Pi project is going to bump up the price for one particular model.

    Continue reading
  • Uncle Sam to clip wings of Pegasus-like spyware – sorry, 'intrusion software' – with proposed export controls

    Surveillance tech faces trade limits as America syncs policy with treaty obligations

    More than six years after proposing export restrictions on "intrusion software," the US Commerce Department's Bureau of Industry and Security (BIS) has formulated a rule that it believes balances the latitude required to investigate cyber threats with the need to limit dangerous code.

    The BIS on Wednesday announced an interim final rule that defines when an export license will be required to distribute what is basically commercial spyware, in order to align US policy with the 1996 Wassenaar Arrangement, an international arms control regime.

    The rule [PDF] – which spans 65 pages – aims to prevent the distribution of surveillance tools, like NSO Group's Pegasus, to countries subject to arms controls, like China and Russia, while allowing legitimate security research and transactions to continue. Made available for public comment over the next 45 days, the rule is scheduled to be finalized in 90 days.

    Continue reading
  • Global IT spending to hit $4.5 trillion in 2022, says Gartner

    The future's bright, and expensive

    Corporate technology soothsayer Gartner is forecasting worldwide IT spending will hit $4.5tr in 2022, up 5.5 per cent from 2021.

    The strongest growth is set to come from enterprise software, which the analyst firm expects to increase by 11.5 per cent in 2022 to reach a global spending level of £670bn. Growth has fallen slightly, though. In 2021 it was 13.6 per cent for this market segment. The increase was driven by infrastructure software spending, which outpaced application software spending.

    The largest chunk of IT spending is set to remain communication services, which will reach £1.48tr next year, after modest growth of 2.1 per cent. The next largest category is IT services, which is set to grow by 8.9 per cent to reach $1.29tr over the next year, according to the analysts.

    Continue reading

Biting the hand that feeds IT © 1998–2021