World: r3wp
[!REBOL3]
older newer | first last |
BrianH 3-May-2010 [2566x2] | R3 is being built to be able to run untrusted code. Still a goal rather than a reality yet, but it's a *design* goal. |
And you have an optional mechanism: You can derive a new function and replace the references to the original. If those references aren't protected. | |
Pekr 3-May-2010 [2568] | not sure if hot patching was any usefull. I used it just to show my friends, that I can modify my func from inside its code block. But you can dynamically eventually build copy of function, etc., so not sure not having a hot-patching is a problem ... |
BrianH 3-May-2010 [2569] | If the references *are* protected, then that means that the code using those references expects the code to be the same, to run the same, or else. The ability to hot-patch that code destroys that trust. |
Henrik 3-May-2010 [2570] | hot patched code can be difficult to read :-) |
BrianH 3-May-2010 [2571x2] | Ugh, agreed Henrik :( |
Pekr: "when is A98 going to be released?" I don't know. I thought soon, but then Carl went wild with fixes and core semantic changes like the 'self stuff. It may still be soon, since those are done. It depends on how many more magic tricks Carl wants to pack into this release. | |
shadwolf 4-May-2010 [2573] | rebol 3 are you around ? shandwolf pokes rebol 3 .. hum ? still breathing ? OH COMON I WANT R3 FULL RELEASE BEFORE XMAS 2010 !! in advance thank you |
BrianH 4-May-2010 [2574] | Funny :) We missed your input in the huge flurry of R3 development last week though. |
GiuseppeC 4-May-2010 [2575] | There is an ongoing discussion about REBOL3 objects and accessors ongoing into the "Other Languages" section. BrianH and Maxim have discussed and a proposal has been made at http://www.rebol.net/wiki/Objects_enhancements. This proposal is only of their side and we request the other GURUs to partecipate to build up other POV. Then the proposals will be submitted to Carl. Please partecipate ! The object heart is open right now and in the hands of Carl ! :-) |
Ladislav 4-May-2010 [2576] | I see it as a matter of priorities, and declare, that it is not my priority. |
GiuseppeC 4-May-2010 [2577] | Ladislav, we see Carl focusing on some or some other part of REBOL. This time he is working on the object part of the language. It would be good to have your (and the other) respected opinion about this topic now. Maybe we will be able to close this topic which has been opened in the blog in the distant year of 2006. However, no one is forcing anyone to do anything... |
Pekr 4-May-2010 [2578] | what's 'filter-error? It's undefined in R3 .... http://www.rebol.com/r3/docs/errors/internal-bad-path.html |
BrianH 4-May-2010 [2579] | I expect that it is just some adhoc function that Carl rigged up in order to be able to generate the examples on the error pages. |
Ladislav 4-May-2010 [2580x2] | Yes, Giuseppe, understood, what I wanted to say (to not sound rude) is, that I prefer to not "distract" Carl with this, seeing other, more "urgent" problems in CureCode... |
I would especially like to see is the problem of Throw, Break, etc. solved, and the problem of function Return (comprising other issues) solved. | |
BrianH 4-May-2010 [2582] | Don't worry Ladislav, the Parse project took a few months to sort out before there was a need to involve Carl. It should take some time to just search through the blog and comments for ideas (minus the inappropriate ones of course). |
Ladislav 4-May-2010 [2583] | And, maybe surprisingly, I really do not feel an urgent need to solve this, being pretty content with the current state of affairs |
BrianH 4-May-2010 [2584] | And that few months was with just two main participants, some historical suggestions and a few helpful souls. The object debate would affect more people. |
Ladislav 4-May-2010 [2585] | Regarding Parse: I am quite surprised, that only two people (in esence) edited the enhancement proposal in a substantial way, while others (surely having their wishes, or opinions) did not "dare" to commit more changes to the document... |
BrianH 4-May-2010 [2586] | I don't mind the current state of affairs either, as the current (post 'self debate) object model (including the PROTECT tickets) works great, and is more general than object models with explicit support for classes and properties. It would help if you could look over the PROTECT tickets though, Ladislav. |
Ladislav 4-May-2010 [2587] | OK, I will take a look |
BrianH 4-May-2010 [2588] | For the Parse proposals, I was collecting them from here, resolving the debates ahead of time. The only person who didn't participate in that way was Peta, whose contributions were greatly appreciated. |
Maxim 4-May-2010 [2589] | I admit that i participated only a little in the PARSE debate cause brian did such a great job at doing all the PR about it, and because I was mostly in agreement with all proposals. I still wish we could use functions as dynamic rules. |
BrianH 4-May-2010 [2590] | The PROTECT tickets to look over are #1014, #1015, #1141, #1142, #1143 and #1148. Though in theory SECURE 'protect (#1143) was implemented already, the actual setting that it is meant to secure (#1141 and #1142) has not been implemented, so there's no way to test it. |
Ladislav 4-May-2010 [2591] | BTW, although I had the access to the R3 docs, and having edited some parts (Random e.g.), now I cannot log in. Even though I posted Carl a msg in R3 chat, the situation looks unchanged, so I cannot edit the TO-BINARY to finish the #1539 |
BrianH 4-May-2010 [2592] | I already brought this up to Carl in a private message. He apparently forgot that we lost that ability in the website redo. |
GiuseppeC 4-May-2010 [2593x3] | Ok Ladislav, I have understood your position. The discussion about accessors will take some time then we will submit it to Carl. I am sure you has already noticed the TOC page change via Wiki notification. |
Sorry: you -> he has already noticed | |
Good night to everyone. I have to recover from the short sleep night of monday. | |
BrianH 4-May-2010 [2596] | Keep in mind that accessors aren't the onlt thing under discussion. I can recall at least a dozen proposals made in the blog, and all of the interesting ones will need to be considered. |
Maxim 4-May-2010 [2597] | init and destructor accessors too. might be nice to support print accessors... what do you think? |
BrianH 4-May-2010 [2598] | Accessor syntax on its own is too inefficient to implement. It might be worth it if combined with Carl's class suggestion though. |
Maxim 4-May-2010 [2599] | I woudn't mind if accessors where reserved for classed based OOP. the controler and model are separate so its a logical match. |
BrianH 4-May-2010 [2600x3] | As for Maxim's suggestions above: init and destructor methods (use the right terms, Maxim), maybe; print accessors, no. REBOL is not an OOP language, so we don't need the workarounds that OOP languages need. |
Not all methods are accessors. | |
Print accessors are like those asString() methods that many other languages' OOP systems have. | |
Maxim 4-May-2010 [2603] | well, in some places they use the terms accessors when supply your own init/destructor pairs. python for example |
BrianH 4-May-2010 [2604] | Python is an excellent example of the kind of term misuse that comes from rampant misunderstanding of most CS. |
Maxim 4-May-2010 [2605x2] | fdel is a property in python, but init is a method |
you don't specify them them the same way. | |
Rebolek 4-May-2010 [2607] | I'm just curious, why you need accessors in REBOL at all? |
Maxim 4-May-2010 [2608] | but I'm just being devil's advocate I agree that most OOP languages consider constructor and destructors specific method types. |
BrianH 4-May-2010 [2609] | Right. We shouldn't be using the term "accessor" anyways: Too vague. All OOP languages support accessors. Most languages with the syntax support you are requesting call that support "properties". |
Maxim 4-May-2010 [2610] | rebolek, the best use is to allow control of state within the object. |
BrianH 4-May-2010 [2611] | Which we can do already, but syntax support allows us to hide the overhead. |
Rebolek 4-May-2010 [2612] | Ah, ok. |
BrianH 4-May-2010 [2613] | For that matter, accessors can be written in functional or procedural style, often more efficiently too, as they are in R3's GUI. |
Rebolek 4-May-2010 [2614] | So it's that syntax sugar? I like me syntax |
BrianH 4-May-2010 [2615] | The SET-FACE and GET-FACE functions are procedural accessors without the syntax support. |
older newer | first last |