Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Oct 30, 2018
|
parent
|
context
|
favorite
| on:
iPad Pro
iPad Pro has 4 GB of RAM. There are Macs with that much RAM that can run Xcode.
jbigelow76
on Oct 30, 2018
|
next
[–]
The 1TB configs have 6 GB of RAM making it even less of leap to assume they can do it soon.
metafizikal
on Oct 30, 2018
|
prev
[–]
But iOS doesn't have a concept of swap like a traditional PC OS like macOS or Windows does, does it?
saagarjha
on Oct 30, 2018
|
parent
|
next
[–]
No, but iOS can kill apps in the background during times of high memory pressure.
rhacker
on Oct 30, 2018
|
root
|
parent
|
next
[–]
So it can run xcode for about 4 seconds until the OS decides to kill it?
saagarjha
on Oct 30, 2018
|
root
|
parent
|
next
[–]
> in the background
rhacker
on Oct 30, 2018
|
root
|
parent
|
next
[–]
So when you debug your app?
saagarjha
on Oct 30, 2018
|
root
|
parent
|
next
[–]
Killing Xcode would also end your debug session. Presumably Apple will think that far ahead and grant the necessary entitlements so that this doesn't happen.
bunnycorn
on Oct 30, 2018
|
parent
|
prev
|
next
[–]
Correct, it kills apps before they swap.
Ivoah
on Oct 30, 2018
|
parent
|
prev
[–]
iOS still runs the darwin kernel. I'd be shocked if it didn't use swap.
saagarjha
on Oct 30, 2018
|
root
|
parent
[–]
It doesn't, I believe mostly for reasons of keeping apps from using large amounts of memory in general, and by helping keep write cycles to a minimum.
glhaynes
on Oct 30, 2018
|
root
|
parent
[–]
I've always figured it had most to do with keeping responsiveness high and predictable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: