World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Pekr 22-May-2007 [2232] | task definition looks exactly like the latter .... |
Gabriele 22-May-2007 [2233] | afair you can: t: make task! [some code here] ; no spec, not sure it's supported but i think so or: t: make task! [[header] some code here] |
Pekr 22-May-2007 [2234x2] | without the word REBOL , that is :-) |
ah, ok then .... | |
Gabriele 22-May-2007 [2236x5] | or maybe carl made it like make function! |
make function! [[spec] [body]] | |
(i'm going from memory... i think modules were described as i said above so tasks should be similar, but function-like makes sense too if the header is mandatory) | |
anyway these are the kind of things that are going to change during the alpha phase in june | |
ie. we let some developers play with it just so that we can make final decisions on this stuff. | |
Pekr 22-May-2007 [2241x3] | hmm, at least 4 of my msgs lost .... |
seems ok now ... well, I just said that the syntax looks ugly - too many brackets :-) | |
but what is definitely issue to me is that it is not imo consistent with how we construct scripts ... | |
Gabriele 22-May-2007 [2244] | well it's basically going from make task! spec body to make task! reduce [spec body] |
Pekr 22-May-2007 [2245] | and task for me is kind of higher level construct as script or modules are ... well, kind of "instance" of "environment" |
Gabriele 22-May-2007 [2246x2] | so you just write a wrapper task: func [header body] [make task! reduce [header body]] |
if you look at it this way... i'd actually want it to not support the above example at all. | |
Pekr 22-May-2007 [2248] | ok, so then take my note for the discussions .... pekr did not like task syntax :-) |
Gabriele 22-May-2007 [2249] | :) |
Pekr 22-May-2007 [2250] | btw - could scheme be seens as a "class" for port? |
Gabriele 22-May-2007 [2251] | yes, i think carl described it exactly like that. |
Pekr 22-May-2007 [2252x2] | or is scheme different things? It seems to me it contains mostly definitions? |
aha, ok .... at some point, Carl blogged about classes/objects in R3, but maybe I am confused? What happened to that concept? IIRC it was related to some low level stuff, to save memory or something like that ... | |
Gabriele 22-May-2007 [2254x2] | carl hasn't mentioned that at the devcon. |
imho it's not really that important once you have user types. | |
Pekr 22-May-2007 [2256x2] | was it that one? http://www.rebol.net/r3blogs/0035.html |
we will have user types? | |
Gabriele 22-May-2007 [2258] | yes... carl said he had some issues while implementing them |
Pekr 22-May-2007 [2259x3] | implementing what? classes, or custom user types? |
if we will have custom user types, isn't it what you wanted? :-) | |
I am sure you will not like following, but I would rename mutex - that is typical IT related term, which makes sense to programmers, but which has no particular meaning to me. Why not 'lock? or anyting else? | |
Sunanda 22-May-2007 [2262] | Mutex is an ugly term. But it is precise. Lock could mean several things, including shared locks rather than exclusive locks. |
Gabriele 22-May-2007 [2263] | custom user types (question above) |
Gregg 22-May-2007 [2264] | Semaphore? Longer, I know. |
Pekr 22-May-2007 [2265] | Semaphore sounds more logical .... it at least means something .... |
Maxim 23-May-2007 [2266x2] | and most amiga coders already know about what it means ;-) |
which is probably about 95% of rebolers, I guess. | |
Henrik 23-May-2007 [2268x2] | well, I used Amiga Basic once... |
not exactly the pinnacle of programming :-) | |
Rebolek 23-May-2007 [2270] | the one by Microsoft, distributed with OS1.3? :) |
Henrik 23-May-2007 [2271x2] | yes |
that was before I hated Microsoft, but I couldn't understand quite, why my old C64 had a faster Basic | |
sqlab 23-May-2007 [2273] | If 95% of rebol user are really former Amigans, then it is sad. This looks as if they have chosen Rebol just because of the merits of Carl S for the Amiga and his popularity under the Amiga users . |
Pekr 23-May-2007 [2274] | sqlab - maybe that is why REBOL did not get popular enough - the Amiga curse :-) |
Gregg 23-May-2007 [2275] | I'm not an Amigan, though I do have one book on 3D graphics programming in Amiga BASIC, and I have a good friend who had an Amiga and a Video Toaster. I didn't know who Carl was until I found REBOL. |
sqlab 23-May-2007 [2276] | That's the same for me. I came to Rebol looking for an easy solution to a communication project. |
btiffin 23-May-2007 [2277] | Ditto on Greggs statement, almost exactly, (except for the book part) |
Maxim 23-May-2007 [2278] | I was just joking btw :-) REBOL just attracts a lot of Amigans, on its own merits. Most of these are FORMER amigans, who liked the simplicity of amiga's design. |
BrianH 23-May-2007 [2279] | Never did get the chance to use the Amiga. Admired it from afar, mostly based on magazine articles about its internals. |
BrianW 23-May-2007 [2280] | My story is about the same as BrianH's. Really wanted an Amiga, read up on it a lot. By the time I could afford one (busboys don't make a lot of money) the Amiga was obviously done for. |
Geomol 23-May-2007 [2281] | I understand, that REBOL3 won't be 100% compatible with earlier versions, so some scripts will eventually crash. I also understand the reasons for this decision, the urge to get everything as 'right' as possible, that the language concept for REBOL is so inventing as it is, etc. But for larger projects, developers making libraries etc., this is not a good thing. Are there any plans around this problem for the future? Maybe compatibility modules is a possibility? Or will that be very hard to do, because it might lead to a mixture of old and new code? |
older newer | first last |