|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] SEGF in gst_initialize |
Date: | Sun, 01 Nov 2009 03:13:03 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 11/01/2009 02:43 AM, Roland Plüss wrote:
There are situations where it is needed like in console emulation where you work with funky hardware but is this really required for a scripting/programming language? I'm rather astonished smalltalk uses SEGFs for control flow. I thought with that simple and clear design such tricks are not required.
It's not control flow. It's used by GC. It's not needed---it's just one implementation of a write barrier. It's not needed either for "funky hardware", though I know that some emulators track dirty rectangles using the same technique.
Signals (except for SIGKILL and SIGSTOP) are there to be trapped whenever useful.
Configure with --disable-generational-gc (and enjoy the speed loss...) if you feel uncomfortable.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |