[Vm-dev] Re: Immutability, newspeak (was: Vm-dev post from jbaptiste.arnaud@gmail.com requires approval)

Andreas Raab andreas.raab at gmx.de
Wed Jun 9 20:34:24 UTC 2010


On 6/9/2010 12:30 PM, Eliot Miranda wrote:
>     Oh, and one thing that I'm just realizing is that by far the biggest
>     impact of immutability is in primitives and plugins. All primitives
>     in all plugins must be rewritten to test for mutability of the
>     objects they store into before this can work reliably. Ouch.
>
>
> Ouch indeed.  One can at least put a check in interpreterProxy to catch
> attempts and cause primitives to fail.  It won't be pretty but will
> serve as lint for the plugins.
>
> Off the top of your head which plugins are likely to do writes?  And
> which of those are likely to do writes to immutables?

Off the top of my head:

[x] ADPCMCodecPlugin
[ ] B3DAcceleratorPlugin
[x] BMPReadWriterPlugin
[x] BitBltSimulation
[ ] CroquetPlugin
[ ] DSAPlugin
[ ] DropPlugin
[x] FFTPlugin
[x] FilePlugin
[x] FloatArrayPlugin
[ ] FloatMathPlugin
[x] InflatePlugin
[x] JPEGReaderPlugin
[x] Matrix2x3Plugin
[x] MiscPrimitivePlugin
[ ] SecurityPlugin
[x] SoundCodecPlugin
[x] SoundGenerationPlugin
[x] StarSqueakPlugin
[x] SurfacePlugin
[x] FFIPlugin
[x] BalloonEngineBase
[x] KlattSynthesizerPlugin
[x] B3DEnginePlugin
[x] OSProcessPlugin
[?] AioPlugin
[?] XDisplayControlPlugin
[x] DeflatePlugin
[x] AsynchFilePlugin
[?] FileCopyPlugin
[?] GeniePlugin
[?] HostWindowPlugin
[?] InternetConfigPlugin
[x] JPEGReadWriter2Plugin
[ ] JoystickTabletPlugin
[ ] LargeIntegersPlugin
[x] LocalePlugin
[x] MIDIPlugin
[?] MacMenubarPlugin
[ ] Mpeg3Plugin
[ ] QuicktimePlugin
[?] RePlugin
[x] SerialPlugin
[x] SocketPlugin
[x] SoundPlugin
[x] TestOSAPlugin
[x] UUIDPlugin
[x] FT2Plugin
[x] BalloonEnginePlugin


More information about the Vm-dev mailing list