macvim-dev / macvim-dev/macvim

Move from manual reference counting to ARC

Open
#1,182 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Deprecated Technology
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Apple has introduced ARC (Automatic Reference Counting) a long time ago. However, MacVim still mostly uses manual reference counting, which actually introduces bugs like #1164. ARC will not solve everything but should help reduce this class of bugs, and even the lowest required macOS (10.9 at the moment) has long supported it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by surveying MacVim’s native macOS code to identify where manual reference counting is used, then read issue #1164 for the motivating bug. Done means migrating the applicable code to ARC while preserving existing behavior and checking for regressions across the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.