World: r3wp
[Tech News] Interesting technology
older newer | first last |
Graham 16-May-2006 [801] | Looks like they have a Pet emulator. |
Henrik 16-May-2006 [802x3] | I had a gold fish once. Died after a week. |
oh... THAT Pet. | |
a port of REBOL would double the amount of software available | |
Anton 16-May-2006 [805] | the system can build itself, including the kernel, common drivers, and all servers (112 compilations and 11 links) in less than 6 seconds on a 2.2-GHz Athlon processor. Yeah! I'm starting to get interested. |
JaimeVargas 16-May-2006 [806] | The Problem with Threads http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.html |
Pekr 16-May-2006 [807x2] | hmm, I read some doc when I was looking into liboop and libevent etc., somewhere on those sites, but each of groups tasks vs threads had some valid points .... |
I have heard RT will go with threads, because those are optimised on multi-cpu environments? | |
JaimeVargas 16-May-2006 [809x2] | Pekr, the article is not so much about which concurrency model is good or bad. The paper contentionis that the emphasis on developing general-purpose languages that support concurrency is misplaced. Lee believes that a better approach is to develop what he calls "coordination languages", which focus on arranging sequential components written in conventional languages into some concurrent configuration (I suppose that piping in a Unix shell could be considered a limited coordination language). For concurrent programming to become mainstream, we must discard threads as a programming model. Nondeterminism should be judiciously and carefully introduced where needed, and it should be explicit in programs. |
(Taken from LtU. More info on this topic here: http://lambda-the-ultimate.org/node/1481) | |
Pekr 16-May-2006 [811x2] | hmm - so even task concurency? concurency in general? then we should not have task? But how is that we accept multiplexing, which is kind of "concurrency"? |
I will read pdf .... till the section where mathematic equations start :-) | |
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 :-) |
older newer | first last |