Jump to content

Cristian Peța

Members
  • Content Count

    419
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Cristian Peța

  1. Cristian Peța

    Directions for ARC Memory Management

    I don't understand what would be wrong to enable ARC for objects and to consider [unsafe] as default. It will not brake old code. And using [safe] or [arc] we can have automatic memory management. At least for simple scenarios.
  2. Cristian Peța

    How to make a component available to all platforms

    I discovered this looking in FMX sources.
  3. Cristian Peța

    Directions for ARC Memory Management

    What if we would have [safe] attribute? It would be very useful for local instances. We have [unsafe] attribute but not [safe]. In ARC all instances are implicitly [safe] and we need to explicitly mark with [unsafe] if we don't want ARC. I call this implicit ARC. But with [safe] we can have explicit ARC where all instances are implicit [unsafe].
×