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

World: r3wp

[!REBOL3-OLD1]

Janko
12-Feb-2009
[11154]
you mean the R3 threads/processes?
BrianH
12-Feb-2009
[11155x3]
Sorry, meant Protothreads: fake threading done with macros and special 
tricks. A C version: http://www.sics.se/~adam/pt/
The principle could be done in REBOL by preprocessing the code - 
easier than in C, though we don't have the switch trick.
C-style protothreads requires compilation to rebcode though, so we 
can use the brab opcode.
Janko
12-Feb-2009
[11158]
(the page doesn't load to me so I will keep trying)
BrianH
12-Feb-2009
[11159]
Sorry, broken link. Try this: http://en.wikipedia.org/wiki/Protothreads
Janko
12-Feb-2009
[11160x2]
these things are very interesting to me but I am a little
uh.. I wanted to delete that but clicked the send button :) ..
BrianH
12-Feb-2009
[11162]
Aren't we all "a little", sometimes :)
Janko
12-Feb-2009
[11163x2]
:)
is this how stackless works (because it mentions no stack)
BrianH
12-Feb-2009
[11165]
If by "how stackless works" you mean Stackless Python, then no. That 
works using continuation passing style.
Janko
12-Feb-2009
[11166x3]
aha, I meant stackless pythong.. you seem to really understand this 
stuff :)
python = pythong
my "I am a little" was meant to be "unknowledgable on lower level 
things"
BrianH
12-Feb-2009
[11169]
Protothreads often work be redoing the calling stack using special 
tricks, or with no recursion. They're good for embedded work.
Janko
12-Feb-2009
[11170]
interesting
BrianH
12-Feb-2009
[11171]
They were used to implement Contiki, a multitasking embedded OS that 
runs on computers of Commodore 64-level capabilities.
Janko
12-Feb-2009
[11172]
I saw it mentioned on wikipedia page.. looks interesting, but it's 
website doens't work either
BrianH
12-Feb-2009
[11173]
Contiki is used by smart sensor arrays and such. Pretty hard-core 
stuff.
Janko
12-Feb-2009
[11174x2]
I used to be an electronic studied automation so these things are 
very interesting to me... I see on google cache that last news from 
contiki site are "   Tuesday, 03 February 2009 " so it seems page 
isn't abanconed, but probably just temporatly down
(sorry for all the typos - it's late over here)
BrianH
12-Feb-2009
[11176]
It's weird, those sites were up last November.
Janko
12-Feb-2009
[11177x3]
http://209.85.129.132/search?q=cache:0HWW7I9t-GUJ:www.sics.se/contiki/+contiki+os&hl=en&ct=clnk&cd=1
I made a simple paralel block executor .. not sure if it can be used 
for anything but it's interesting to see it work
hm... maybe I shouldn't post code here as this is R3 group
BrianH
12-Feb-2009
[11180]
Core group
Pekr
13-Feb-2009
[11181]
BrianH: I wonder when Carl gets to those "more interesting" topics, 
like tasks, rebin, plugins, etc. :-) So far I can see we mostly play 
with mezzanine stuff, although those additions are really cool to 
have :-)
BrianH
13-Feb-2009
[11182x2]
Well, I mostly play with mezzanine and library code and backports, 
then generate a *ton* of bugs and wishes in CureCode about fixes 
for or enhancements of natives. Because I tend to be public with 
my work, that's what you see. Carl is mostly working on the new DevBase 
right now (and possibly articles and interviews). Once the new DevBase 
is up and running the source will be posted to it, then we can all 
work on stuff.
Right now (this minute) I am backporting the R3 reflection functions 
to R2. The r2-forward collection is getting pretty extensive :)
Pekr
13-Feb-2009
[11184x2]
new DevBase?
You mean fileshare for RebDev?
BrianH
13-Feb-2009
[11186x2]
Add file management to RebDev and you have the new DevBase. "RebDev" 
was always a codeword - the real name is DevBase.
Or it will be when Carl finishes with the file stuff, and some stability 
fixes.
Steeve
13-Feb-2009
[11188]
cuurently guys, the command files are already here in the chat, (submit, 
accept, deny) but i haven't the rank to test it...
BrianH
13-Feb-2009
[11189]
Really? I thought that we just had the ranks, but the files weren't 
there yet.
Steeve
13-Feb-2009
[11190x3]
type ??
i tried them, but my rank is too low
you have to create a name first (command: name)
BrianH
13-Feb-2009
[11193]
My rank is high enough, but I don't think the commands work yet. 
There wasn't even a public decision on whether the file tree would 
be seperate or integrated with the message tree.
Steeve
13-Feb-2009
[11194]
i think it will be mixed, reading the source, i guess than a file 
can be attached to a an header or to a name msg
BrianH
13-Feb-2009
[11195]
Cool - that was my preference. I've been focusing on REBOL this week, 
not chat.
Steeve
13-Feb-2009
[11196]
i guess names msg are here to construct file trees
BrianH
13-Feb-2009
[11197]
Speaking of which, what do yo think of my /into option proposal?
Steeve
13-Feb-2009
[11198]
Nothing special, it's an new feature, so it's wellcome.
BrianH
13-Feb-2009
[11199]
I'll take that as neutral :)
Steeve
13-Feb-2009
[11200]
yep :)
Henrik
13-Feb-2009
[11201]
About FIND-ALL, would it not always return the result as indexes 
from the original block?
BrianH
13-Feb-2009
[11202x2]
The trick with FIND-ALL is that it doesn't reeturn anything - it 
executes a code block wioth each find.
FIND-ALL is like FORALL, but with FIND.