upvote
Reference counting by default is GC.
reply
ref counting is only performed if you use `ref` types, e.g.

  type 
    RefObj = ref object
      foo: string
      bar: int

    ValueObj = object
      foo: string
      bar: int

`RefObj` is ref counted equivalent to a shared_ptr in C++ land (non-atomic counter unless using --mm:atomicArc or Nim3/Nimony has this as a default I believe). `ValueObj` is equivalent to struct in C, C++, etc.
reply