[Gc] Re: Mentality of c/c++ programmers when it comes to gc

Lothar Scholz scholz at scriptolutions.com
Mon Dec 24 19:35:17 PST 2007

Hello Shiro,

SK> I think the main development target is Unix variants.  And on Unixes,
SK> usually it builds quite smoothly (except the occasional required
SK> fix to keep up to the newest OS versions.  Understandable since this
SK> GC library depends on lots of details of each platform it supports.)

Ohh yes the arrogance of the unix programmers :-)
But once you figured out which makefile you have to use it also works
builds fine.

But the problems came after the build. And they are definitely a huge
showstopper. The documentation is grown over 15 or more years and you
see it. Too many switches here and there, two different tagging of
pointers inside memory blocks but none is documented enough to
understand whats going on. Dozens of API calls that need to much
knowledge of the internals and no document that describes them. You
have to pick up a few hints here and some source code there etc.

If all you need is a single threaded app with only a GC_malloc wrapper
it works fine but most applications aren't and then the trouble
starts. On Unix and on Windows.

So i hope for 8.0 a huge cleanup is coming. By the way how can i
register a callback that is invoked at the beginning of the GC cycle
and at the end of it? This was the last question i tried to find out
and gave up some time later.

Best regards,
 Lothar Scholz                mailto:scholz at scriptolutions.com

More information about the Gc mailing list