On 02.04.2010, at 20:03, Donald G Porter wrote:
> I don't have any answers without refreshing myself with a lot of
> research, but the questions raised sound like they are related to
> Tcl Feature Request 540378.
The benefit of doing this is that it would be possible to have
versions of the Tcl stub table in use at the same time, you could
an 8.1 version (because 8.0 does not have a stub table, :-( ), a 9.0
version and a 10.0 version all at the same time.
So I was right assuming that one could/would be able to have multiple
Tcl stub tables (versions) at the same time?
By changing the tclStubsPtr based on the Tcl version would allow
somebody to swop the Tcl version depending on the installed version(s)
of the library... Hmmm... ff this is so, then a:
package require -exact Tcl 8.3
package forget Tcl
package require -exact Tcl 8.5
could/should be possible?
I do understand that on all the modern architectures this (ptr) change
atomic. But if you start running checking tools (helgrind) on the code
it jumps in your face with avalanche of error/warning messages :-(
OTOH the dynamic nature (swapping Tcl versions on the fly) is also
an interesting option and one should not ignore that path either.
So... is this dynamic option intended and is it (would it be) officially
supported or is this just an attempt that got under the radar over time?
Get latest updates about Open Source Projects, Conferences and News.