Why Garbage Collectors Should Avoid the Use of Reference Counts

I made a comment in one my posts some time ago that I thought SPITBOL was superior to Python in that it contains a compacting mark-sweep garbage collector with recognition of sediments.

Python uses reference counts to detect unreachable memory. SPITBOL was written in the 1960’s, so the use of compacting garbage collectors was a well known technology when Python was created in the 1980’s.

For example, I one wrote a small Python program that ran in quadratic time due to the use of reference counts.

A user commented that they thought this was a snide remark, and that the use of reference counts was perfectly fine.

I just downloaded Remarkable, a markdown editor and viewer, written in Python.

I just used it to process a markdown format file, and got the following error message:

 

java version "1.7.0_121"
OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.3)
OpenJDK 64-Bit Server VM (build 24.121-b00, mixed mode)
/usr/lib/python3/dist-packages/remarkable/__init__.py:53:
 Warning: g_object_ref: assertion 'object->ref_count > 0' failed
  Gtk.main()
/usr/lib/python3/dist-packages/remarkable/__init__.py:53:
 Warning: g_object_unref: assertion 'object->ref_count > 0' failed
  Gtk.main()
*Spellchecking not enabled.
*To enable spellchecking install pygtkspellcheck
*https://pypi.python.org/pypi/pygtkspellcheck/

 

 

 

As a young child one of my favorite comic strips was Snuffy Smith.

 

Snuffy often ended a conversation by saying, “‘Nuff Said.'”

Well, this is for the snide commenter:

‘NUFF SAID.

 

 

 

I

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Pages

  • April 2017
    M T W T F S S
    « Mar    
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
  • RSS The Wayward Word Press

  • Recent Comments

    russurquhart1 on SPITBOL for OSX is now av…
    dave porter on On being the maintainer, sole…
    daveshields on On being the maintainer, sole…
    Paul Tallett on On being the maintainer, sole…
    mrrdev on On being the maintainer, sole…
  • Archives

  • Blog Stats

  • Top Posts

  • Top Rated

  • Recent Posts

  • Archives

  • Top Rated

  • %d bloggers like this: