Re: What OO extension for 8.6?



O/H Kevin Kenny έγραψε:
Georgios Petasis wrote:
Since Itcl & Tcl 8.6 is an unsafe choice, what are the alternatives to OO extensions? What extension has fast execution and is not limited with respect to OO features?
What do you use and find it good?

Tcl 8.6's built-in OO is pretty good all by itself.

I'm not trying to belittle the problems that you've had in
8.6 with [incr Tcl] - but I simply haven't seen them on my
machine. Admittedly, I don't use [incr Tcl] all that much,
but I do use it a little bit, and I find the itcl-ng
(Itcl 4.0) that is bundled with 8.6 to be quite stable
and fast for the limited use that I've made of it.

Where are the bug reports for the problems you've been
experiencing? Remember that 8.6 is still beta. Showstopper
bugs are likely to get fixed if people report them.


I had the impression that 8.6's OO was targeting extension developers. Is it good enough for everyday use? I will check it...

Regarding my problems with itcl, its an issue discussed many times. No bug reports exist and none will be made, since there is not a simple script that can reproduce the crash. I suppose if the bug was simple enough to discover, it would have shown up in the itcl test suit.

I have provided a crash report with a stack trace, but this provides little information. I have offered to send the crashing app to itcl developers, but I don't know if there is anyone :-). I have two crashing apps, which work fine in 8.4 & 8.5 with itcl 3.4. They crash in 8.6 with itcl 3.4, 4.0b3 & itcl-ng (which is still in development). [Ok, with itcl-ng there is no crash, but instead I am getting an error on constructor :-)]

Is there a decent extension that will work also in earlier tcl versions?
Or an 8.6 OO "implementation" for at least 8.5?

George
.



Relevant Pages

  • Re: ITcl 3.3
    ... - Some of us like Itcl, and don't consider it to be the biggest, ugliest ... where it's shipped with the core so you ... Becouse at least one OO extension should be included in TCL, ... > But it doesn't help them to become just programmers. ...
    (comp.lang.tcl)
  • Re: ITcl 3.3
    ... Robert Seeger wrote: ... > - Some of us like Itcl, and don't consider it to be the biggest, ugliest ... > KNOW you can use it (you don't have to rely on someone having Tcllib). ... >> compiled OO extension doesn't aid such understanding. ...
    (comp.lang.tcl)
  • Re: Ffidl::callback 3rd party dll.
    ... What I mean is an extension that would use the services of Itcl. ... Itcl is included in the Activestate distribution right? ... Yea I've got no problem with that David. ...
    (comp.lang.tcl)