News for hackers. Stuff that matters.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @07:52AM (#38218231)
> Lowpass hints at Vega’s reliance on React Native for app development, a framework born from the Meta realms. This choice suggests Amazon’s ambition for cross-platform prowess, harmonizing app development across iOS and Android. While the report doesn’t explicitly address Vega’s potential migration to Fire tablets, one can’t help but wonder if this Linux-based revelation might unlock new dimensions for Amazon’s versatile devices.

Ironically Android started out with JavaScript, and due to performance they pivoted into Java, if I remember correctly.

I bet it will be the usual mostly written in C++, with JavaScript as kind of GUI markup language, actually.

As that is the way many seem to use React Native, as a cheap alternative to QML / Qt.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by cthulberg on Friday November 10, 2023 @08:13AM (#38218382)
This is the direction React Native is heading, with Fabric Native Components[1] and Turbo Native Modules[2]. On the development side, you have JavaScript, the language we all love to hate and hate to love, with its vast ecosystem of readily available libraries that are well-documented and used daily by billions of people. On the functionality side, you have access to native code, which speeds up and lightens the workload, making the app performant.

[1] https://reactnative.dev/docs/the-new-architecture/pillars-fa... [2] https://reactnative.dev/docs/the-new-architecture/pillars-tu...

Re:Amazon props Vega to replace Android-based Fire OS on fut... by delfinom on Friday November 10, 2023 @08:36AM (#38218599)
Lol, amazing to see history repeat itself over and over again
Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @09:04AM (#38218945)
Indeed back in the dotcom wave, the startup I joined was making our own flavour of AOLServer.

Now in some projects, I am basically doing the same, with the difference that now I am using JavaScript instead of Tcl, and C++ instead of C for the native side.

At least now I have a JIT in the box.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @08:19AM (#38218434)
Thanks, I wasn't aware of them.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by synergy20 on Friday November 10, 2023 @08:13AM (#38218380)
what about the tens of thousands android apps?
Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @08:18AM (#38218422)
There it is mostly an interop for doing JNI calls into the OS APIs, as people keep forgeting NDK is only for game developers and Java native methods.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by synergy20 on Friday November 10, 2023 @09:47AM (#38219483)
android apps is more than an interop or JNI calls, it needs the "jvm" and lots of java libraries, docker-alike solution is the only thing I can think of that it could possibly work, but it's very heavy on cpu and memory resources when you have many apps to install. it seems to me infeasible to be Android apps compatible when Vega is used, nobody is going to rewrite all Android apps in RN.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @09:51AM (#38219536)
Ah, I misunderstood your point, I took it from the point of view of how React Native is used in the context of writing Android applications.

As for Amazon, naturally if this goes forward they don't seem to care about keeping the Android ecosystem on their Fire tablets, as most likely doesn't bring them the business value they care about.

Note that FireOS doesn't run standard Android applications anyway.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by doubled112 on Friday November 10, 2023 @10:24AM (#38219978)
> Note that FireOS doesn't run standard Android applications anyway

What do you mean by that?

I have a Fire Tab, and it has F-Droid and I've installed many apps from there with no extra steps.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by synergy20 on Friday November 10, 2023 @10:41AM (#38220212)
I have a Fire Tab and it's collecting dust, I'm fairly certain Vega won't be able to do F-Droid, which is a bold move.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by pjmlp on Friday November 10, 2023 @01:19PM (#38222430)
Because it doesn't run AOSP + Google special sauce on top.

I guess you were lucky in what APIs were being used, or the wrappers provided by Amazon.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by smoofles on Friday November 10, 2023 @10:13AM (#38219837)
You say this as if Android has tens of thousands of useful/good apps.

There’s probably 100-250 that you might _really_ want.

Amazon can easily afford to pay each developer $1 million to port theirs, if they get serious about their own OS.

Re:Amazon props Vega to replace Android-based Fire OS on fut... by bonton89 on Friday November 10, 2023 @01:03PM (#38222195)
That didn't seem to work for Microsoft.
Re:Amazon props Vega to replace Android-based Fire OS on fut... by Andrex on Friday November 10, 2023 @07:46PM (#38226449)
> Ironically Android started out with JavaScript, and due to performance they pivoted into Java, if I remember correctly.

I consider myself very familiar with Android's early history and this would be news to me. Any sources? Love finding new tidbits.