World: r3wp
[!REBOL3-OLD1]
older newer | first last |
BrianH 23-Jun-2009 [15692x2] | Cool - we need as much help as we can get. I'm glad he participates in the chat too, and his testing has been very helpful. |
One more mystery person to go: Peta, are you out there? :) | |
Oldes 23-Jun-2009 [15694] | It's not another (secret) Pekr's name? :) |
Sunanda 23-Jun-2009 [15695] | The bug fixes just keep coming -- Alpha 59 out barely a day after A58: http://www.rebol.net/wiki/R3_Releases#View.exe_2.100.59_23-June-2009 Curecode #961 was fixed in less than 24 hours....That must be a record! |
Maarten 23-Jun-2009 [15696x2] | Notice Meijeru's daytime work... must be a fruitful hobby. |
I think I ran into him before (may be virtually), I remember him as a very kind and nice person. | |
Maxim 23-Jun-2009 [15698x3] | pekr: well, I did add new posts, but I think everyone MUST participate. this is such a core issue, it can make / break many systems out there. |
in my case, it breaks every single API I have. | |
that is unless you consider a 100x (thats 10000%) increase in RAM usage and script slowdown acceptable. | |
Carl 23-Jun-2009 [15701] | http://www.rebol.net/r3blogs/0213.html- A60 special release. |
Sunanda 23-Jun-2009 [15702] | The link in the blog does not work [has /rebol3/ not /r3/ ] This link does work: http://www.rebol.com/r3/downloads/r3-a60.exe |
Ladislav 23-Jun-2009 [15703] | http://www.rebol.org/art-display-article.r?article=w24v- porting INCLUDE to R3 |
Maxim 23-Jun-2009 [15704] | brian I would like your comments on the deep object copy issue ( http://www.rebol.net/r3blogs/0212.html) |
BrianH 23-Jun-2009 [15705] | I have been trying to think think it through - there are advantages and disadvantages to either way. It is harder to undo a copy than not... |
Maxim 23-Jun-2009 [15706] | exactly, which is why I think we should not be bound by one or the other .... did you see my posts... I provide some alternatives. |
BrianH 23-Jun-2009 [15707] | I'm still thinking. I'll comment after I narrow down this parse bug. |
Maxim 23-Jun-2009 [15708x2] | Plus all that binding takes MASSIVE amounts of time for nothing. |
(and ram too) | |
BrianH 23-Jun-2009 [15710] | Either way you need constructor code. The real question is balance. |
Maxim 23-Jun-2009 [15711x2] | IMO we need choice. this is such a fundamental part of data management that we cannot let the compiler decide. would you code in C if all structure copies behaved this way? if this where the case an OS would probably need 1TB of RAM to run. |
allowing COPY on objects makes much more sense to me. | |
BrianH 23-Jun-2009 [15713] | I added a fairly comprehensive comment, with tests. I had to generate 3 CureCode tickets as a result :( |
Maxim 23-Jun-2009 [15714x2] | what is the replacement for first context [] in R3 I can't remember the function's name |
the why? in R3 is a fabulous idea! | |
BrianH 23-Jun-2009 [15716] | WORDS-OF, but the 'self word is not included. |
Maxim 23-Jun-2009 [15717] | no self ... COOL :-) |
BrianH 23-Jun-2009 [15718] | And the returned words are bound to the object. |
Maxim 23-Jun-2009 [15719x2] | oh that is cool. |
I see unbind is now part of R3 :-D | |
BrianH 23-Jun-2009 [15721] | WORDS-OF works on any-object!, any-function! and map! too, though it's only bound to any-object!. |
Maxim 23-Jun-2009 [15722] | I could see the binding to map being usefull, it might be impossible due to the inner implementation of map |
BrianH 23-Jun-2009 [15723] | I'm trying to backport UNBIND to R2, but it's really tricky. |
Maxim 23-Jun-2009 [15724] | I've tried several times... I usually end up doing: load mold myblock |
BrianH 23-Jun-2009 [15725x2] | You can't bind to a map! because the keys are handled differently, with the keys going away when assigned none. |
You can't bind to something that might go away :) | |
Maxim 23-Jun-2009 [15727] | yep :-) I guess asking for a word in a map which isn't there returns none ? |
BrianH 23-Jun-2009 [15728x2] | Yup :) |
Most of map!'s behavior was my idea. | |
Maxim 23-Jun-2009 [15730x2] | it makes me think of the array type in AREXX ;-) |
are only words supported in map! or are other types usable for the key? | |
BrianH 23-Jun-2009 [15732] | Other types too, but not all other types. |
Maxim 23-Jun-2009 [15733] | so scalars, pairs, tuples, strings, words at least? |
BrianH 23-Jun-2009 [15734] | Yup. |
Maxim 23-Jun-2009 [15735x3] | a trick question... are set and get words enabled? and are they differentiated from lit-words? |
to me an unbound word is a lit-word in the context of the map... | |
I'm not sure what I wrote above makes sense.. hahaha | |
BrianH 23-Jun-2009 [15738x2] | Binaries too, but not block, object or vector types. Word types are converted to word!. |
All types can be used as values though, except #[none] which will make the key disappear. | |
Maxim 23-Jun-2009 [15740x2] | yep this means we can use the map exactly like in AREXX, very usefull for sparse arrays :-) |
if you used the object's pointer in the map internally, we could use objects too, it would actually be very usefull and not that much heavy to implement. | |
older newer | first last |