World: r3wp
[!REBOL3-OLD1]
older newer | first last |
btiffin 17-Apr-2008 [5834] | http://rebol.net/wiki/Brian%27s_Take_on_Context Docbase Link of above. It's beefee. Thanks Brian. |
BrianH 19-Apr-2008 [5835x2] | I expanded the above article, making it easier to understand and with more information. http://rebol.net/wiki/R2_vs._R3_Contexts |
By the way, it turns out that function! word references are around 28% slower than closure! or object! word references. | |
Rod 19-Apr-2008 [5837x2] | BrianH, thanks for that context information, very good to keep in mind in both R2 and R3. |
I'm struggling a bit with the closure! specifics. I have used closures in Ruby (though I'm not clear on the difference between a block using yield and a closure at this point) and part of what I thought made valuable was the connection to the context they were formed with that persists. I'm probably getting this all wrong but what does "next time tthe closure runs it will create a new context" imply on that front? | |
BrianH 19-Apr-2008 [5839x2] | If Ruby is as much like Smalltalk as I remember, a block is like an anonymous function, and functions in Ruby are more like closures in REBOL. There is nothing like yield in REBOL yet, though I don't know whether Ruby's yield is a cooperative multitasking thing or an Icon-style resumable return for generators. |
Ruby has the general overhead of indirect word binding so it can support things like closures directly, which is why it is slower than REBOL overall. On the other hand, REBOL has a lot of overhead when creaing closures because of its direct binding, but that same direct binding is part of what makes REBOL so fast otherwise. It's a tradeoff. | |
Kaj 21-Apr-2008 [5841x2] | That sounds about right |
I think Ruby's yield is both for cooperative multi-tasking and generators | |
BrianH 21-Apr-2008 [5843] | Some languages use multitasking for generators - Icon doesn't. Does Ruby have Icon-style resumable return? |
Kaj 22-Apr-2008 [5844] | I daren't say. I don't know Icon |
Rod 23-Apr-2008 [5845] | I don't know Icon either and I'm not sure about the cooperative multi-tasking part for Ruby, only seen the generators use so far. |
Henrik 1-May-2008 [5846x2] | A tiny bit of status report: - Working on ports now. It's a very straight forward system, if you've been reading the docs. - Carl found a bug in the garbage collector that would speed up a loop test case from 35.2 seconds to 6.4 seconds. - After a while of core unicode testing, graphics is finally going back in. The third test version of View with unicode is going to be released soon. - Still no unicode support inside View graphics, though. - 445 bug reports so far. - HTTP protocol recently done (IMHO a very nice and super-clean implementation of http1.1 by Gabriele). - Test case system temporarily put on hold. Ports are more interesting. :-) - WAIT now switches between efficiency and accuracy. It's accurate but CPU intensive when selecting a WAIT lower than 1 ms, because in those cases it uses it's own routine for waiting, but it can be done much more accurately than the OS timer. When above 1 second, it uses the OS timer. |
oops, in the last line it should read "WAIT lower than 1 second", not 1 ms. :-) | |
[unknown: 5] 1-May-2008 [5848] | Henrik, sounds interesting. Thanks for the status report. |
Gabriele 1-May-2008 [5849] | note, afaik the wait < 1 s problem only applies to windows. (although, other oses may have long context switches too) |
Henrik 2-May-2008 [5850x2] | >> ? evoke USAGE: EVOKE chant DESCRIPTION: Special guru meditations. (Not for beginners.) EVOKE is a native value. ARGUMENTS: chant -- Single or block of words ('? to list) (word! block!) :-) |
not really sure what it does, but it's used for debugging | |
Gabriele 2-May-2008 [5852x2] | sets secret internal options. |
:-) | |
Henrik 3-May-2008 [5854] | REBOL 3 Alpha 2.100.10 Unicode Init System Port REBOL Host-Init Built: 1-May-2008/21:33:53-7:00 Language: dansk - Denmark 56 datatypes, 68 actions, 141 natives 1021 words defined >> stats == 583680 |
sqlab 3-May-2008 [5855] | How about wait 0? I used it a few time just to be sure that an event got really triggered. |
Pekr 6-May-2008 [5856x4] | So, as we just decided to make Curl guys to close the Nitro doors, because R3 will be much cooler, the last phase of two months plan started just 5 minutes ago - http://www.rebol.com/rebol3/next.html .... yes, we are back to VID 3, with prior phases more or less finished .... just to let you know .... |
Ah, I forgot to provide a smiley to the Curl remark :-) | |
.... or not? ;-) | |
Simple, Clean VID Requirements - http://www.rebol.net/r3blogs/0132.html | |
btiffin 6-May-2008 [5860] | I added my 2 cents. |
AdrianS 8-May-2008 [5861] | It would be really nice if Rebol 3 included some grid computing functionality out of the box. Something as simple to set up and get going as GridGain - http://www.gridgain.com.Or is it already very easy to achieve a master-worker kind of solution? |
Graham 8-May-2008 [5862] | What about just support for EC2 etc? |
PeterWood 8-May-2008 [5863x4] | What about just support for Gmail? |
Henrik: Do the 56 datatypes include audio! and video! yet? | |
I know Pekr has talked about Rebol needing better multimedia support in the past ...I think he's right. | |
I'm also thinking about starting a save our hash! campaign - it's great for building unique lists. | |
Oldes 8-May-2008 [5867] | map! will be used for fast unique lists. And it's too soon for multimedia datatypes... I think audio/video will not be datatype at all, rather a scheme I guess. |
BrianH 8-May-2008 [5868] | Don't forget user-defined datatypes, which will also be in R3. Some of the missing types will be added that way. |
PeterWood 12-May-2008 [5869] | Will we be able to use find against a map! ? |
BrianH 12-May-2008 [5870] | I think so, but you probably won't need to - map! is optimized for this kind of task without needing find. |
Pekr 24-May-2008 [5871] | There starts to be series of VID3 blogs. So - those who want to affect some design principles, can share their opinion there .... |
Graham 24-May-2008 [5872x2] | Is there any way we can have a hybrid R2 with the new graphics system and the old core? |
Some of us are tied to R2 because of networking | |
Henrik 24-May-2008 [5874] | I wouldn't bet on it. That might be a month's worth of work, but I'll ask for an official statement. |
Chris 24-May-2008 [5875] | At the moment, I'd like the opposite -- new core, current graphics : ) I don't want the new graphics system before it's ready. |
Graham 24-May-2008 [5876x2] | I suspect the former would be more easily done than the latter |
After all one starts with core and then builds view on top of it | |
Chris 24-May-2008 [5878] | Then how do you complete the new view without the new core underneath? |
Graham 24-May-2008 [5879] | I suspect view is not really dependent on core |
Henrik 24-May-2008 [5880] | the event system is different, which I believe also has something to do with ports, which are a different concept in R3. |
Graham 24-May-2008 [5881x2] | it's more for networking ( async ) and LNS |
oh .. ok. | |
Henrik 24-May-2008 [5883] | LNS is high priority for R3. Needed for Devbase. |
older newer | first last |