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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 2307 - 2336 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2307
hmm, no response. another approach, which seems like it would be a better fit for Io with its actors model support would be to do as Erlang does and treat OS ...
James McCartney
james_e_mcca...
Offline Send Email
Mar 7, 2005
8:19 pm
2308
... If your VM is single threaded (or is serialized by a mutex effectively to a single thread) then blocking on a system call makes the VM unresponsive to any...
James McCartney
james_e_mcca...
Offline Send Email
Mar 7, 2005
8:23 pm
2309
... If it returned to the calling code because it won't handle the syscall itself, it's also unresponsive: it doesn't run while the calling code handles the...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Mar 7, 2005
8:42 pm
2310
... Well, yes, I didn't understand how the technique on that webpage was supposed to work either. But in general you should be able to use trampolining to...
James McCartney
james_e_mcca...
Offline Send Email
Mar 7, 2005
8:58 pm
2311
... If I understand you correctly, Io supports that transparently with futures: http://www.iolanguage.com/Source/release/Io/_docs/ ...
Steve Dekorte
stevedekorte
Offline Send Email
Mar 7, 2005
9:30 pm
2312
... yes that would be the perfect mechanism for handling system calls. the system call itself though, should be handled in another OS thread so it doesn't...
James McCartney
james_e_mcca...
Offline Send Email
Mar 7, 2005
10:02 pm
2313
I'm not sure that the http://www.vlerq.org/vqo/47 makes much sense. Another way to achieve portability of system calls is to use a portability layer that is...
Steven Shaw
steshaw
Offline Send Email
Mar 8, 2005
1:42 am
2314
Anyone know of a good portable OS thread library (at least for posix and Windows)? -- Steve...
Steve Dekorte
stevedekorte
Offline Send Email
Mar 8, 2005
2:28 am
2315
... pthreads?...
Steven Shaw
steshaw
Offline Send Email
Mar 8, 2005
4:30 am
2316
... Does that require cygwin? -- Steve...
Steve Dekorte
stevedekorte
Offline Send Email
Mar 8, 2005
5:03 am
2317
... I don't beleive that, trampolines are very simple. The first interpreter I ever wrote used this technique. What you can do with trampolines is mind...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
1:57 am
2318
I haven't used pthreads on Windows but I don't think it requires cygwin. You need this library: http://sources.redhat.com/pthreads-win32/ Steve....
Steven Shaw
steshaw
Offline Send Email
Mar 9, 2005
3:00 am
2319
I still don't get what trampolines accomplish. I get the impression that it's a C friendly way of continuation passing? But since C doesn't have lambda's, how...
Mike
mike_ekim
Offline Send Email
Mar 9, 2005
7:06 am
2320
... read section 6.2 of the paper I referenced. it explains why it is necessary. ... you don't. continuation passing style doesn't mean that you restart...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
8:20 am
2321
Im thinking about using two part references in my runtime for Pluk. First is a pointer to a type instance the other is an object instance specific value. For a...
Bart van der Werf (Bl...
bluelive@...
Send Email
Mar 9, 2005
5:18 pm
2322
... E.g. Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes "The Implementation of Lua 5.0" ...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Mar 9, 2005
5:29 pm
2323
... here's an example. programmer writes this: f = { A(); B(); return C(); }; compiler translates it to this in trampoline style: Z = C; // tail call...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
5:36 pm
2324
Having values be passed around by a tag plus the value is a pretty common technique. The most common technique is to only have integer as a special value and...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
6:48 pm
2325
... actually to be completely correct I'd need to make explicit the call-return mechanism. f = { A(); B(); return C(); }; gets translated to: F1 = {...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
7:07 pm
2326
... Filtering specific bits from a word seems a bit expensive, it also limits the range of allowed values. I mainly want to attempt this to get around the...
Bart van der Werf (Bl...
bluelive@...
Send Email
Mar 9, 2005
8:10 pm
2327
... yes. I am not arguing for any particular method. This is the most common practice though. Used by various implementations of Smalltalk, Scheme and...
James McCartney
james_e_mcca...
Offline Send Email
Mar 9, 2005
9:04 pm
2328
... Testing one bit is not that expensive. IMHO less expensive than doubling the cost of passing values around. ... No, because larger ints should be...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Mar 9, 2005
10:16 pm
2329
... pretty ... you ... also ... the ... the ... have ... Integer ... filtering a bit (or several bits) from pointers/longs is not all that expensive, but it is...
cr88192
Offline Send Email
Mar 10, 2005
2:20 am
2330
... Thanks James, but that's the part that I understand already! What I don't understand is how this while loop technique relates to the definition of...
Steven Shaw
steshaw
Offline Send Email
Mar 10, 2005
2:49 pm
2331
I don't think being dynamically generated is what makes something a trampoline. A trampoline is a function that returns the next function to call -- ...
James McCartney
james_e_mcca...
Offline Send Email
Mar 10, 2005
8:26 pm
2332
... Thanks that makes it a lot clearer :) grtz, Bart...
Bart van der Werf (Bl...
bluelive@...
Send Email
Mar 10, 2005
9:23 pm
2333
... I think of the trampoline not as the function that returns the next function but the function responsible for calling these functions that return the next...
Steven Shaw
steshaw
Offline Send Email
Mar 11, 2005
7:43 am
2334
... OK I guess we have to amend with a second definition trampoline: 1. a function that returns the next function to call 2. a piece of code that, when jumped...
James McCartney
james_e_mcca...
Offline Send Email
Mar 11, 2005
7:21 pm
2335
... Ok. That works for me. Cheers, Steve....
Steven Shaw
steshaw
Offline Send Email
Mar 12, 2005
5:25 am
2336
For what it's worth, I think there are two completely unrelated definitions floating around: * One that's used in JIT compilers. This one typically is emitting...
spcmanspiff
spcmn.spiff@...
Send Email
Mar 16, 2005
5:22 pm
Messages 2307 - 2336 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