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

World: r3wp

[Tech News] Interesting technology

JaimeVargas
16-May-2006
[813]
Concurrency is fine. The problem is how to use it. Is it implicit 
or explicit. How you coordinate msg passing, pipes, shared state, 
etc.
Pekr
16-May-2006
[814]
so if Carl brings us task! based upon threads, and we don't need 
to care about threads related headaches in rebol level, then even 
threads are ok for us, right?
JaimeVargas
16-May-2006
[815x4]
Depends on how they guarantee the order of execution. For examplie 
in Mozart/Oz you can have a concurrency that ensures that the sequence 
of computation is maintained, just like if was sequential even though 
is executed sequentially.
Sorry executed in paralell.
In C threads you do this buy using Locks and Semaphores.
In Erlang you use msg queues and process-id.
Pekr
16-May-2006
[819]
msg-queues would be on pair with rebol imo ... we already have event 
queue, we have blocks and their accessor functions ....
JaimeVargas
16-May-2006
[820]
But msg-queues have some drawbacks.
Pekr
16-May-2006
[821]
hopefully Carl knows threads headaches (I do remember his long time 
ago post to ml :-) .... and will do it the right way ...
JaimeVargas
16-May-2006
[822]
Lets see what the wizard brings us ;-)
Pekr
16-May-2006
[823]
if threads are said to better utilise multi-core cpu, then I expect 
R3 to be ported to PS3 soon :-)) ... or even next gen SUN's Niagara 
III, utilising 64 cores :-)
JaimeVargas
16-May-2006
[824]
As far as I know R3 Task! are going to be base in OS threads, they 
will not have shared state, but nothing has been said about how they 
will communicate with the environment, or how is the order of execution 
going to be guarantee.
Pekr
16-May-2006
[825x2]
.... to better maintain the task, Carl will opensource R3 :-)
got to go, later ....
Volker
16-May-2006
[827]
From what i read Erlang works quite well. What problems?
JaimeVargas
16-May-2006
[828]
A general-purpose concurrent language like Erlang or Ada has to include 
syntax for mundane operations such as arithmetic expressions, a coordination 
language need not specify anything more than coordination.
Henrik
16-May-2006
[829]
http://www.apple.com/macbook/macbook.html<-- Apple introduces the 
13.3 inch Macbook.
Volker
16-May-2006
[830x2]
Jaime, you said "In Erlang you use msg queues and process-id. But 
msg-queues have some drawbacks." I was addressing that.
Not deep enough toin Erlang to judge about problems, but if you can 
explain :)
Gabriele
16-May-2006
[832]
Jaime, from your link: "The real problem is not threads as such; 
it is threads plus shared mutable state. To solve this problem, it's 
not necessary to throw away threads. It is sufficient to disallow 
mutable state shared between threads (mutable state local to one 
thread is still allowed)."
Volker
16-May-2006
[833x3]
I doubt a coordination language can do without general-purpose stuff. 
Messages must be queued, counted, somewhat verified etc.
And then things may break, and distribution helps against that. If 
the decisions can be made smart. http://www.sics.se/~joe/tutorials/robust_server/robust_server.html
Another way of blogging? http://www.google.com/notebook/public/04439832352277312501/BDSJaSwoQtNrJ-bMh
JaimeVargas
16-May-2006
[836]
Gabriel. I agree with that statement. So vanilla threads are a problem, 
and adding concurrency to language need to be done with care. How 
is R3 going to handle tasking?
Pekr
17-May-2006
[837x2]
Sun to opensource JAVA? - http://www.vnunet.com/vnunet/news/2156205/sun-promises-open-source-java
Nice new SONY mini PC line - http://www.reghardware.co.uk/2006/05/16/sony_unveils_vaio_ux/
Karol
17-May-2006
[839]
http://www.google.com/trends?q=rebol&ctab=2&geo=all&date=all
Gabriele
17-May-2006
[840]
Jaime: the idea is to have no sharing between r3 tasks. at least, 
no implicit sharing. i personally think we don't need any explicit 
sharing either. for the system parts that will be shared for efficiency 
reasons, the idea is that the user should not know/care.
Pekr
17-May-2006
[841]
will it be fast enough to write better servers?
Gabriele
17-May-2006
[842]
we'll know after testing i guess, but i think it should be. i'm quite 
sure Carl know how to handle multitasking ;)
Pekr
17-May-2006
[843x2]
:-)
are you on-schedule for alpha at the end of May? In Unicode group 
Jaime gave some answer, which sounds a bit unsatisfactory, like it 
would not be decided yet, which way to go in that respect ...
Graham
17-May-2006
[845x2]
Was Rebol written though from the point of multitasking?
From my early recollections, Rebol was designed for communications 
..as a scripting language.
Pekr
17-May-2006
[847]
hmm, maybe so, but can't you just plug rebol language into surrounding 
multitasking framework? They "just" need to address those sharing 
issues, interpreter states etc. As I expect language being rather 
complete, it can be done fast, if Carl decides to use some existing 
system. Not sure for tasking, it seems RT is going its own way, but 
e.g. event system is being replaced by libevent?
Volker
17-May-2006
[848]
About Amazon andSOA: http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=388
Gabriele
17-May-2006
[849]
petr: who says unicode will be in the first alpha? :) i think we 
should have it however incomplete. there are many things that need 
discussion (see the r3 blog), and it's much easier to discuss when 
you can try the new features.
Pekr
17-May-2006
[850]
:-) ok, ok .... looking forward to first alpha then :-)
Volker
17-May-2006
[851]
Now Google goes completely mad :) http://code.google.com/webtoolkit/overview.html
Pekr
17-May-2006
[852]
hehe, they want internet to become OS .... and PC OSes to become 
just - commodities - non-important in its own, just a layer for internet 
networked apps :-)
Maxim
17-May-2006
[853]
this is pretty bad ... it opens up a lot of stupid cases... http://www.theregister.co.uk/2006/04/21/moderator_liable_for_comments/
Geomol
17-May-2006
[854]
Regarding multitasking and REBOL, how far is it possible to go using 
communication between tasks over the TCP protocol? I've implemented 
multi-user locking this way with a relational database in REBOL, 
and it works quite well. I haven't done stress-test, so I have no 
real measurement, how effective it is, and what the performance is 
compared to other inter-task communication methods. I'm working on 
an OpenGL implementation, where OpenGL commands are sent from a REBOL 
task to an OpenGL server task (written in C), which will execute 
the OpenGL commands, so I'm about to get more experience in this. 
Both tasks will run on the same computer, but can easily be on different 
computers, of course.


Anyone with more experience in task communication using TCP? Where 
is the limit?
Pekr
17-May-2006
[855x3]
hmm, I am not sure I like it ... you open a port and firewall jumps 
in
Geomol - I remember some material re linux and using tcp for IPC 
and someone said it is quite expensive - communication wise (headers, 
ack)
it should be imo done on low-level, just the queue should be exposed, 
like event queue .... well, not sure, Carl does it right hopefully 
anyway, so :-)
Geomol
17-May-2006
[858]
:)
[unknown: 9]
17-May-2006
[859x2]
RE: Google...I want internet to become OS as well.
John...cool.  Build an X-Windows like layer between Rebol and OpenGL.
Geomol
17-May-2006
[861]
Someone: explain the top at Google, what REBOL is, so they can put 
development capital in REBOL Tech.
Volker
17-May-2006
[862]
Google - the funny point here is: They say code in java, compile 
to javascript. The first time i see it that way around. Till now 
i heard "use scripting to get it running, use java/c for big things/speed". 
Javascript must be really awfull :)