[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Huayan Wang: Is ns-2.0 compatible with Tcl/tk8.0?



Hi, Amy,

Yes, it does. But you'll have to make TclCL and OTcl compatible with
Tcl/Tk 8.0. I have a quick hack for OTcl v0.96 (without the Berkeley
patch) at http://catarina.usc.edu/~haoboy/. I'll put my TclCL changes
there soon.

According to my experience with Tcl/Tk 8.0b2, my hack won't allow you to
gain much from the compiled objects of Tcl/Tk 8.0. If you have a lot of
big list/array manipulations, Tcl/Tk8.0 will have big advantage, but I
think this is not typical for most ns scripts. Also, you'll have
increased memory usage. It's not been tested whether my hacks will work
with namespace. 

- Haobo

> Does anyone know wether ns-2.0 is compatible
> with Tcl/tk8.0 or not? Thanks.
> 
> Amy.
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Huayan Amy Wang
> GRA, EE dept, Columbia U.
> Tel: 212-939-7158
> URL: http://www.ctr.columbia.edu/~whycu
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~