Search the web
Sign In
New User? Sign Up
langsmiths · Language Smiths
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 499 - 528 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
499
http://ftp.archive.org/movies/lisarein/oreilly/etech2003/alankay/ tour.html#complete Cheers, Steve Io, a small language: http://www.iolanguage.com/...
Steve Dekorte
stevedekorte
Offline Send Email
May 3, 2003
3:19 am
500
... stupid server is not up enough for me to actually download it. I start trying yesterday, server goes down. this morning: I get about half, server goes down...
cr88192
Offline Send Email
May 4, 2003
3:39 pm
501
I just found a little hack that fakes coroutines if you can't fiddle with the stack (i.e. C++). It's based on switch() being able to jump anywhere within the...
Mike
mike_ekim
Offline Send Email
May 6, 2003
8:53 pm
502
I just found a little hack that fakes coroutines if you can't fiddle with the stack (i.e. C++). It's based on switch() being able to jump anywhere within the...
Mike
mike_ekim
Offline Send Email
May 6, 2003
9:01 pm
503
... This is an interesting technique though it appears to only work if all your coro yields are in the function containing the switch. Cheers, Steve Io, a...
Steve Dekorte
stevedekorte
Offline Send Email
May 6, 2003
9:06 pm
504
I couldnt' find the link on the page you gave. I came across an article (possibly the same one): http://radio.weblogs.com/0102385/2003/03/30.html#a318 Chris....
Chris Double
chris.double@...
Send Email
May 6, 2003
9:42 pm
505
... article ... That is the same topic, here is the actual link I wanted to post: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html Mike...
Mike
mike_ekim
Offline Send Email
May 7, 2003
12:17 am
506
... fiddle ... jump ... all ... I don't quite get what you're saying. As long as you put your 'yeild' inside of the switch, you're ok. You can have multiple ...
Mike
mike_ekim
Offline Send Email
May 7, 2003
12:22 am
507
... In other words, this scheme fails if a function called by the function is the one that wants to yield. - you can't yield up multiple levels as you can with...
James McCartney
james_e_mcca...
Offline Send Email
May 7, 2003
1:47 am
508
More flexible approaches than Duff's Device for coroutines, threads, or continuations... ... Trampolined Style (http://www.cs.indiana.edu/~dfried/) "A...
Logan, Patrick D
patrickdlogan
Offline Send Email
May 7, 2003
4:17 pm
509
... threads, or ... I skimmed around the articles, but I'm not sure how to create a trampolined program in C. The examples were in LISP. How would you apply...
Mike
mike_ekim
Offline Send Email
May 8, 2003
8:09 pm
510
... other words, this scheme fails if a function called by the function ... Ok, I get it. Hmm, what if you encapsulate it in a yield loop: while(...
Mike
mike_ekim
Offline Send Email
May 8, 2003
8:33 pm
511
... This presentation has a step-by-step transformation... http://www.cs.indiana.edu/~dfried/dfried/mex.pdf Also if you do not have Essentials of Programming...
patrickdlogan
Offline Send Email
May 8, 2003
11:03 pm
512
... I read the article, and although I'm not very fluent in Scheme I got the jist. I wish they actually showed the Java versions instead of just talking about...
Mike
mike_ekim
Offline Send Email
May 9, 2003
6:55 am
513
What do folks here think about tail call optimization? Is it a feature worth supporting? Is recursive tail-call code more readable than code with loops?...
Steve Dekorte
stevedekorte
Offline Send Email
May 9, 2003
9:26 am
514
... Onyx[1] optimizes tail calls, as does Adobe PostScript, and to tell the truth, I've found it to be something of a nuisance. The problem with it is that it...
Jason Evans
jasonoevans
Offline Send Email
May 9, 2003
2:34 pm
515
... The better Lisp and Scheme systems I've used include options to turn off tail call optimization just for this purpose. Once the code is debugged then turn...
patrickdlogan
Offline Send Email
May 9, 2003
4:46 pm
516
... Agreed. ... You nailed it. This is for using C-like languages as the target, not the original source. It might be worth these kinds of transformations by...
patrickdlogan
Offline Send Email
May 9, 2003
5:02 pm
517
... If you wish to support a functional style, even just recursion generally, then tail call optimization is the difference between correctness and otherwise...
Logan, Patrick D
patrickdlogan
Offline Send Email
May 9, 2003
5:42 pm
518
... If you wish to support a functional style, even just recursion generally, then tail call optimization is the difference between correctness and otherwise...
patrickdlogan
Offline Send Email
May 9, 2003
6:25 pm
519
Tail call optimization in a prototype-based language would be a little tricky, because a) you are potentially dispatching to another object and b) you could...
James McCartney
james_e_mcca...
Offline Send Email
May 9, 2003
7:20 pm
520
... I'm not convinced of this. But it would be worth a look back at the foundations to see if they were tail recursive. ...
patrickdlogan
Offline Send Email
May 9, 2003
7:50 pm
521
consider: myMethod: argument self oneOfMyParentSlots: argument. ^self myMethod: argument is this tail recursive? I think without dispatching the call you can't...
James McCartney
james_e_mcca...
Offline Send Email
May 9, 2003
8:05 pm
522
... If you wish to support a functional style, even just recursion generally, then tail call optimization is the difference between correctness and otherwise...
patrickdlogan
Offline Send Email
May 9, 2003
8:12 pm
523
... Without a doubt the final send to self is in tail form. Consider if the code looked like this... ^1 + (self myMethod: argument) then the final send to self...
patrickdlogan
Offline Send Email
May 9, 2003
9:15 pm
524
... Yes, but you can't optimize this to a goto at compile time, because you have possibly changed the inheritance path. ... I know all this. ... Whether it is...
James McCartney
james_e_mcca...
Offline Send Email
May 9, 2003
10:10 pm
525
... OK, consider this pseudo code: globalvar f := lambda (x) { f := g; return f(x); }; do you consider f tail recursive ? even if you do, you can't optimize it...
James McCartney
james_e_mcca...
Offline Send Email
May 9, 2003
10:29 pm
526
... I see what you're getting at. Yes, this is in tail form. Whatever function f refers to gets called and then when it "returns" it does not have to return to...
patrickdlogan
Offline Send Email
May 9, 2003
10:42 pm
527
... I saw the same problem but found some work arounds. I added explicit tail calls to Io like: sum = method(a,b, b+=a; if (a==1, b, tailCall(a - 1, b))) by...
Steve Dekorte
stevedekorte
Offline Send Email
May 9, 2003
11:03 pm
528
... I don't think tail calls are more readable than recursion, or even loops. At least until you learn the patterns of using an accumulator, etc. Then you can...
patrickdlogan
Offline Send Email
May 9, 2003
11:12 pm
Messages 499 - 528 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help