Since we're fantasising about future computers I hope there won't be more than 8Gb necessary to multitask. I remember running Windows and Office in the 90s on 16Mb. Seems like the 1000-fold increase in memory was mostly negated by wasteful software engineering...
I don't doubt some things swap (pagefile, windows after all), but whatever its putting in swap is not noticeable. I don't experience stalls.
My main issue with Dex is the perennity of the system. Is Samsung going to keep pushing this, or will a native android version takeover? Or maybe at some point they'll say "well that didn't work out" and abandon it completely?
I want to believe!
Every year I get closer to being able to do my work completely off a phone. I also think 8GB of RAM is plenty. Most administrative tasks can be done on that, and for the heavy tasks, you could always leverage a remote server. Think of github codespaces, or modern virtual machines in the cloud. Sure, you need internet, but don't you always, for this kind of workload?
Yeah, yeah, I want to believe :)
Agreed, this is also a worry of mine. In fact they did exactly this with Linux on DeX.
> Every year I get closer to being able to do my work completely off a phone. I also think 8GB of RAM is plenty.
Remember that Android devices don't do swap. What I see with DeX is a LOT of tab refreshing when it starts running out of memory. Which is really annoying when you're trying to do actual work (e.g. going to an Excel sheet to look up something, but then going back to the browser to continue filling in a form, but in the mean time this has reset due to a forced page reload).
Right now I'm using termux, which is working really really well. I'm amazed! I have this big PHP app wich runs perfectly fine on it, with dependencies and all, I honestly expected trouble, but it just worked.
As for the swap: yeah that sounds annoying :(
Unfortunately the restrictions in later Android versions make it more and more difficult for Fredrick to continue supporting it. I'm currently using the F-Droid version which targets an older Android version but eventually that will become impossible too because newer android versions will eventually drop the older APIs altogether.
In particular in later Android API versions it's no longer allowed for an APK to load binaries from other sources and execute them there. Which makes the apt repository impossible. So what should it do? Include all binaries in the APK? Or distributute each app inside termux as a separate APK? Neither option sounds very appealing.
The only real issue with it is that the current generation of their smartphones doesn't come with enough memory. Only 8GB (S22) or even 6 (S21FE). You need more for decent multitasking.
But I think generally it's pretty underrated. It had done really annoying issues in the beginning but right now I could imagine doing a working day on it. I don't because I am really a power user, but for someone with normal office use I could see it being viable.
I wish this feature would make it to mainstream AOSP because right now it's too obscure to really take off. They made a developer thing with Android 10 but didn't take it the whole way after that.