Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

64 bit IOS, does it finally have real memory management?

 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two or three years ago, I worked on a project that has a small iOS component (iDevice talking to big WebServer). So I took some courses in Objective-C, Apple's frameworks, etc.

The big thing that hit me over the head was that iOS was an embedded OS for an embedded computer. Here embedded means inexpensive and limited. Seemed like a reasonable engineering design trade off. But it meant that the memory management that Objective-C developers can use on OS-X was not available. Instead, the programmer had to manually obtain and free memory.

In my experience, with a lot of languages and a lot of programmers, programmers are nearly universally terrible at memory management. This is why modern languages, like Java, automate it.

Apple has made a bit deal that the iPhone 5s is a 64 bit CPU, and is making a big deal about iOS version 7. I'm having a hard time seeing how 64 bit CPUs are all that valuable in an embedded world with manual memory management. Its hard enough to manage a few megabytes of memory, let alone over 4 gigabytes.

I've not seen any in depth, professional programmer info on this new cpu/os. Have they finally implemented the usual OS-X memory management on iOS?
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic