r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

james_nak
21-Apr-2006
[726]
Or forbid you using it.
Henrik
21-Apr-2006
[727]
there is some merit to that: what if the rebol developer quits? they 
don't exactly camp out in everybody's backyard. java developers do.
james_nak
21-Apr-2006
[728]
Yup, I've heard that before. It's a valid concern.
Maxim
21-Apr-2006
[729]
I can vouche for henriks point.  That is the single most used Anti-technology 
adoption argument.  What if  "developperX  gets hit by a train?" 
 :-(
james_nak
21-Apr-2006
[730]
By "valid" I mean there is some truth to it.
Henrik
21-Apr-2006
[731]
so, that is a factor that rebol developers should not play on
james_nak
21-Apr-2006
[732]
I was told "by a bus."
Maxim
21-Apr-2006
[733]
hehe they are sometimes scare tactics by IT managers, but are valid 
noneteless.  being 100% XML compliant "out of the box, no strings 
attached" would add DEPTH to REBOL leaps and bounds in the IT business 
IMHO.
Graham
21-Apr-2006
[734]
How far are we from that?
Maxim
21-Apr-2006
[735]
leaps and bounds   :-)
james_nak
21-Apr-2006
[736]
How long is that in "Rebol Years?"
Graham
21-Apr-2006
[737]
I thought RT had posted on their website that they had licensed some 
xml engine at one stage.
james_nak
21-Apr-2006
[738]
Haven't noticed that.
Maxim
21-Apr-2006
[739]
The tools exist,  senior XML developers also, heck some people even 
wrote the damned specs...  nothing is keeping RT from contracting 
out someone (or licensing technology) to add those capabilites in 
rebol natively, or as a module if its too large to keep REBOL lightweight, 
(no pro-con libs wars please).
Graham
21-Apr-2006
[740x2]
It was some years ago.
But if they considered it once, they can do again.
Henrik
24-Apr-2006
[742]
blog updated: "Closure Functions"
Maxim
25-Apr-2006
[743x2]
request for R3   rebcode access to struct! types.
would allow us to implement specific mechanisms very quickly and 
gauge memory useage tradeoffs vs speed depeding on application.
BrianH
25-Apr-2006
[745]
It has been suggested before in the rebcode group (mostly by me) 
when rebcode was first being developed. I think there are RAMBO entries 
too.
Maxim
25-Apr-2006
[746]
lets all kick and scream in unison  ;-)   maybe we'll make more noise 
and rattle than all the other requests  ;-)
Graham
25-Apr-2006
[747]
What's an example of how having closures will aid us ?
Anton
26-Apr-2006
[748x2]
I think they said they needed closures for threading.
That's right, so a function could be interrupted mid-evaluation and 
restarted later.
Gabriele
26-Apr-2006
[750x2]
closures haven't much to do with threading. although they are reentrant, 
while normal funcs are not (in r2; I guess it may be possible to 
make normal funcs reentrant in r3).
closures help when you want the function's context to be valid for 
an indefinite amout of time.
Graham
26-Apr-2006
[752]
so, a function that maintains state ?
Pekr
26-Apr-2006
[753]
wasn't "indefinite extent" available in R1? just curious if it is 
similar concept?
Sunanda
26-Apr-2006
[754]
I think you are thinking of continuations.
Closures are much more lightweight.
Gabriele
26-Apr-2006
[755]
petr, yes, functions in r1 were actually closures. (as functions 
in lisp or scheme)
Pekr
26-Apr-2006
[756]
weren't they removed for 2.0 because of speed aspects?
Gabriele
26-Apr-2006
[757x4]
yes, but that was not the only speed problem in r1
and, speed is the reason why you have both function!s and closure!s 
in r3
you normally use function!s that are faster
and use closure!s only when you are ready to pay the price for them 
:)
Anton
26-Apr-2006
[761]
oh yeah... continuations.. oops.
Maxim
26-Apr-2006
[762]
don't closures also help with the copy problem?  where each time 
you run the closure, a series is indeed new?
Chris
26-Apr-2006
[763]
Is there a succinct way of demonstrating a situation where a closure 
would be used (with hypothetical Rebol code)?
Volker
26-Apr-2006
[764]
f: closure[ta][
 view layout [ta: area]
]
Maxim
26-Apr-2006
[765]
and might I ask what is the purpose of setting 'ta ?
Volker
26-Apr-2006
[766x2]
having a local
making multiple layouts this way.
Chris
26-Apr-2006
[768]
It's the layout and not 'ta that is returned though?
Volker
26-Apr-2006
[769x3]
yes. more explicit:
f: closure[ta sl][
 view layout [ta: area sl: slider [scroll-para ta sl]]
to make some use of that local.
Chris
26-Apr-2006
[772]
Is that just another way of wrapping locals in an object?
f: context [ta: none view layout [ta: area]]
Maxim
26-Apr-2006
[773]
ok, yes, currently only one slider will work (the last one called)
Volker
26-Apr-2006
[774]
Yes, exactly.
Maxim
26-Apr-2006
[775]
yes, its a context within a function.