NRE committed: PLEASE TEST

View: New views
4 Messages — Rating Filter:   Alert me  

NRE committed: PLEASE TEST

by miguel-37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have committed to HEAD my NRE implementation [Patch #2017110].

* REQUEST * (All, but especially to extension maintainers)
Please test thoroughly! HEAD should be able to load and run without errors
all(?) extensions that were compiled against 8.6 headers.

* WHAT *
NRE is a modification in the deep guts of Tcl that is somewhat similar to
stackless Python. It massively reduces Tcl's C-stack footprint, and enables new
features: the included ::tcl::unsupported::tailcall for now, more exciting stuff
in the future (but in time for 8.6).

For more info please refer to http://msofer.com:8080/wiki?name=NRE

* COMPAT *
NRE is completely transparent for extensions that use the public or internal Tcl
APIs, as long as they do not mess with calls to TEBC directly. It has been
adapted to deal properly with Itcl and TclOO, which do.

As a previous version was tested against many extensions (see
http://msofer.com:8080/wiki?name=NRE+Compatibility), and tclkits were
succesfully built (thanks go to patthoyts) I am confident that this will work
fine and any problems that might arise will be dealt as bugfixes.

* PERF *
The performance impact is generally very small, and often NRE turns out to be
faster: http://wiki.tcl.tk/nre

Enjoy

Miguel

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tcl-Core mailing list
Tcl-Core@...
https://lists.sourceforge.net/lists/listinfo/tcl-core

Re: NRE committed: PLEASE TEST

by miguel sofer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

miguel wrote:
> * WHAT *
> NRE is a modification in the deep guts of Tcl that is somewhat similar
> to stackless Python. It massively reduces Tcl's C-stack footprint, and
> enables new features: the included ::tcl::unsupported::tailcall for now,
> more exciting stuff in the future (but in time for 8.6).

That should read "but *not* in time for 8.6"


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tcl-Core mailing list
Tcl-Core@...
https://lists.sourceforge.net/lists/listinfo/tcl-core

Re: NRE committed: PLEASE TEST

by Neil Madden-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Miguel,

Great work! I do get a couple of failed tests on Mac OS X 10.4.11  
that seem possibly related:

==== parse-8.5 Tcl_EvalObjv procedure, command traces FAILED
==== Contents of test case:

     testevalobjv 0 set x 123
     testcmdtrace tracetest {testevalobjv 0 set x $x}

---- Result was:
{testevalobjv 0 set x $x} {testevalobjv 0 set x 123} {testevalobjv 0  
set x $x} {set x 123}
---- Result should have been (exact matching):
{testevalobjv 0 set x $x} {testevalobjv 0 set x 123} {set x 123} {set  
x 123}
==== parse-8.5 FAILED

==== trace-29.2 Tcl_CreateTrace, correct command and argc/argv  
arguments of trace proc FAILED
==== Contents of test case:

     testcmdtrace tracetest {set stuff [info tclversion]}

---- Result was:
{info tclversion} {info tclversion} {info tclversion}  
{::tcl::info::tclversion} {set stuff [info tclversion]} {set stuff 8.6}
---- Result should have been (exact matching):
{info tclversion} {info tclversion} ::tcl::info::tclversion  
{::tcl::info::tclversion} {set stuff [info tclversion]} {set stuff 8.6}
==== trace-29.2 FAILED

Cheers,

Neil


On 13 Jul 2008, at 10:06, miguel wrote:

> I have committed to HEAD my NRE implementation [Patch #2017110].
>
> * REQUEST * (All, but especially to extension maintainers)
> Please test thoroughly! HEAD should be able to load and run without  
> errors
> all(?) extensions that were compiled against 8.6 headers.
>
> * WHAT *
> NRE is a modification in the deep guts of Tcl that is somewhat  
> similar to
> stackless Python. It massively reduces Tcl's C-stack footprint, and  
> enables new
> features: the included ::tcl::unsupported::tailcall for now, more  
> exciting stuff
> in the future (but in time for 8.6).
>
> For more info please refer to http://msofer.com:8080/wiki?name=NRE
>
> * COMPAT *
> NRE is completely transparent for extensions that use the public or  
> internal Tcl
> APIs, as long as they do not mess with calls to TEBC directly. It  
> has been
> adapted to deal properly with Itcl and TclOO, which do.
>
> As a previous version was tested against many extensions (see
> http://msofer.com:8080/wiki?name=NRE+Compatibility), and tclkits were
> succesfully built (thanks go to patthoyts) I am confident that this  
> will work
> fine and any problems that might arise will be dealt as bugfixes.
>
> * PERF *
> The performance impact is generally very small, and often NRE turns  
> out to be
> faster: http://wiki.tcl.tk/nre
>
> Enjoy
>
> Miguel
>
> ----------------------------------------------------------------------
> ---
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Tcl-Core mailing list
> Tcl-Core@...
> https://lists.sourceforge.net/lists/listinfo/tcl-core


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tcl-Core mailing list
Tcl-Core@...
https://lists.sourceforge.net/lists/listinfo/tcl-core

Re: NRE committed: PLEASE TEST

by miguel sofer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Neil Madden wrote:
> Hi Miguel,
>
> Great work!

Thanks! And thanks for testing.

> I do get a couple of failed tests on Mac OS X 10.4.11 that
> seem possibly related:

Yup, known issues:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2017146&group_id=10894



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tcl-Core mailing list
Tcl-Core@...
https://lists.sourceforge.net/lists/listinfo/tcl-core
LightInTheBox - Buy quality products at wholesale price!