ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-core
tcl-core
Re: [TCLCORE] Tcl through X rays
by Alexandre Ferrieux other posts by this author
May 28 2007 3:30PM messages near this date
Re: [TCLCORE] Tcl through X rays | Re: [TCLCORE] Tcl through X rays
Hello Mo,

On 5/28/07, Mo DeJong <mo@[...].com>  wrote:
> 
>   You can write a compiler that assumes that a
>  proc does not deal with linked variables,
>  but it is trivial to create a test case that breaks this optimization.


Yes, if we do nothing actively to deal with upvars.
But I was thinking about intercepting those accesses at runtime (see my
answer to Donal's).

P.S.
>  If you are looking for test cases for compiler related Tcl issues like
>  this, I suggest you have a look at the tjcruntime
>  package in the tcljava CVS:
> 
>  http://tcljava.cvs.sourceforge.net/tcljava/tjcruntime/varcache/


Thanks much for the pointer. I'd also appreciate any high-level description
of the bytecode VM. Do you have anything like this ?

-Alex
Thread:
Alexandre Ferrieux
Donal K. Fellows
Alexandre Ferrieux
Mo DeJong
Alexandre Ferrieux
Mo DeJong
Jeff Hobbs
Andreas Leitgeb
Donal K. Fellows
Alexandre Ferrieux
Larry McVoy
Donal K. Fellows
Donal K. Fellows
Alexandre Ferrieux
Miguel Sofer
Rna020
Donal K. Fellows
Donal K. Fellows
Gerald W. Lester
Donal K. Fellows

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved