Programmers Complain that Huawei's Ark Compiler is 'Not Even Half-Finished' (abacusnews.com) 42
A scam. A publicity stunt. Premature. These are just a few of the things Chinese developers are saying about the release of Huawei's supposed secret weapon: The Ark Compiler. From a report: Developers are even claiming the program feels incomplete. The reception has been so bad that one programmer told Abacus that he wondered whether it was released just for publicity. "Maybe they're doing it to help in the PR and trade war, adding leverage against the US," said Max Zhou, co-founder of app-enhancement company MetaApp and former head of engineering at Mobike. The Ark Compiler is a key component of Huawei's new operating system, HarmonyOS. The tool is meant to allow developers to quickly port their Android apps to the new OS, ideally helping to quickly bridge the gap of app availability. It is also said to be able to improve the efficiency of Android apps, making them as smooth as apps on iOS. As of right now, though, developers say promises are too good to be true.
or it's just something new and need more work (Score:3, Informative)
I can think of plenty of successful compilers and other tools that got off to half-assed rocky start but became hugely successful. For example, gcc was a shit pile under Stallman but others beat that bitch into great shape
Re: (Score:3)
Re: (Score:2)
Do you work with software for a living? Just as example, the major releases of Oracle take over a year to get the kinks out, sane people first roll them out in test systems. Microsoft Windows 10, the kinks are ongoing. IBM Websphere, oh my.
Yeah, it's par for the course for release of new thing to have more bugs than Bangkok whore's crotch.
Re: (Score:2)
Re: (Score:2)
uh, those major releases of Oracle do things like lose all your fucking data before they get all the kinks out in over a year...
comparison is quite apt
Re: (Score:2)
I can think of plenty of successful compilers and other tools that got off to half-assed rocky start but became hugely successful.
But that was 30 years ago. Maybe that compiler will be a decent success 30 years from now.
Re: (Score:2)
But that was only because the alternative was expensive compilers that cost many thousands of dollars, and were equally bad.
MS-DOS was one of the few platforms where compilers started getting higher quality, better and cheaper, dropping from thousands to $500 to Borland pretty much killing
Re: (Score:2)
Wal-mart has their own islands? Wow. Hope they use them for better things than Epstein used his.
"Compiler"? (Score:5, Insightful)
Why are they calling it a "compiler"? It's for porting Android apps to Huawei's OS. Let's be real. It's Java to Java for most apps.
Re: (Score:1)
Why are they calling it a "compiler"?
Because that is what it is.
It's Java to Java for most apps.
No it compiles to native AArch64 binaries [cnx-software.com].
Re: (Score:1)
Most Android apps are not natively compiled. Apps supporting the newer APIs only may be, but most Android apps are still Java (but don't ever admit that in court) that the Android OS may sort of half compile and cache on their first load in an attempt to make them not be butt slow.
Re: (Score:2)
Most Android apps are not natively compiled.
To my knowledge, ever since ART, they are.
Re: (Score:2)
Most Android apps are not natively compiled. Apps supporting the newer APIs only may be, but most Android apps are still Java (but don't ever admit that in court) that the Android OS may sort of half compile and cache on their first load in an attempt to make them not be butt slow.
Since ART was introduced in Android 5.0 (Lollipop), all Android apps are compiled to native machine code. Some apps (mostly games) are written initially in languages like C++ that compile to native and the .APKs for those contain machine code. Most are written in Java (and now Kotlin) and compiled to Java bytecode, which is what is in the .APK, but when you install the .APK on the device, ART compiles it to native machine code. By the time you run the app, it's native code.
Note that ahead-of-time (AOT)
Re: "Compiler"? (Score:2)
Think about this, it's clearly not Java to Java. Where are you going to get the source?
JVM bytecode or Dalvik/ART translated to anything else is a compiler. In this case we can classify Ark as an AOT compiler.
Sounds familiar (Score:1)
Perhaps the company is taking their cue from Windows 10.
Why would anyone want an open source compiler? (Score:5, Insightful)
TFA asks why anyone would want an open source compiler. It should be apparent that with all the security concerns surrounding Huawei, making it open source helps to ensure that there are no "Compiler Backdoors." https://en.wikipedia.org/wiki/... [wikipedia.org]
On the other hand, it's worth noting that such backdoors can also be hidden into an original binary used to bootstrap the compiler, so an open source compiler must also be bootstrapped from a known-good compiler, preferably one small enough to be checked by human eyeballs. The wiki article also discusses another method, described as "Diverse Double-Compiling," to compare the output of diverse compilers, to eliminate the possibility of a compiler backdoor, which IMHO could only verify that either both or neither compilers are backdoored.
Re: (Score:3)
Re: (Score:2)
Because they can contain technologies/algorithms that are useful and not available in open-source compilers. Eg. language bindings to OS-specific APIs, nifty hardware-specific syntax, optimizations, language extensions, better diagnostics, ...
Closed-source compilers were the norm for PCs for many years (Borland, Zortec, Metaware, IBM, Microsoft, Watcom, Intel, ...).
Yes, Huawei could make a backdoored compiler, but given that it is meant for their proprietary HarmonyOS where it would be easier to hide back
Re: (Score:2)
Nah. If Huawei wants a backdoor they just ask their buddy to put shit in physically, at the factory.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
And what do you use to compile, load, and run the interpreter, after carefully vetting the interpreter itself?
Re: Why would anyone want an open source compiler? (Score:2)
Before using Huawei's compiker, check out Ken Thompson's 1984 speech, "Reflections on Trusting Trust."
"A scam. A publicity stunt. Premature." (Score:2)
Josh Ye said of the United States government's most recent attempts to further discredit and devalue China's leading handset maker...
ark might work if.... (Score:1)
Fear (?) (Score:1)
Re: (Score:2)
Or Huawei had to release it a lot earlier than intended because of an infantile leader on another country has cut off the suppliers to them.
Re: (Score:1)
Re: (Score:1)
It's not half finished it's early access (Score:3)
"Nobiody wants to change their compiler code" (Score:2)
why are app developers so mediocre?
Mandarin PHB (Score:1)
I bet some PHB* high in China's gov't said, "I don't want to hear technical excuses, we need this active to further the Greatness of China. Release it ASAP!"
* https://en.wikipedia.org/wiki/... [wikipedia.org]
definition (Score:3)
Re: (Score:2)
Given that the compiler is open source and cost $0, it's not clear how the "marks" are being separated from their cash.
They are complaining that it's not easy enough to port their software to Harmony OS using the compiler. Huawei needs apps to make their OS successful. The development kit is free too, the developer only has to pay if they want to be on the Huawei app store. I don't know what the cost is but presumably it's in line with what Google and Apple charge... I think $100 for Apple, Google last time
What were they thinking (Score:5, Funny)
This is shocking. It is completely unheard of in the software industry for vendors to ship half finished products that don't live up to the promises made by marketing.
Big deal (Score:2)
Impress the big guys (Score:2)
(The tool) is also said to be able to improve the efficiency of Android apps, making them as smooth as apps on iOS.
Do they officially mention it as one of the project goals? If so, I'm sure both Google and Apple are impressed.
how does that make you feel? (Score:2)