User loginNavigation |
archivesDeveloper Guided Code SplittingGoogle Web Toolkit, which compiles Java to JavaScript for running code in the browser, now includes Code Splitting, for reducing application download time:
By Manuel J. Simoni at 2009-12-09 11:27 | Javascript | Parallel/Distributed | 25 comments | other blogs | 6858 reads
Lagoona, component-orientation(i thought i read a comment on LtU about Franz, but can't find it now.) Lagoona apparently addresses some issues around component-oriented approaches to systems development, and has roots in Niklaus Wirth's works such as Oberon. Is anybody on LtU more familiar with this stuff, such that they could opine / compare / contrast? (tags like: "component-oriented", "distributed extensibility", "decentralized", sorta beyond-OO, that kind of fun kool-aid.) BSGP: bulk-synchronous GPU programmingA SIGGRAPH paper by Qiming Hou, Kun Zhou, Baining Guo, abstract:
The language acts to simplify CUDA, which reminds me of assembly code even if it uses C syntax, with, among other things, a higher-level memory model and implicit data-flow (so you don't have to explicitly partition your code between different kernels). Here is one trick that really impressed me:
findFaces(int* pf, int* hd, int* ib, int n) {
spawn(n*3) {
rk = thread.rank;
f = rk/3;
v = ib[rk];
thread.sortby(v);
require
owner = dtempnew[n]int;
rk = thread.rank;
pf[rk] = f;
owner[rk] = v;
barrier;
if (rk == 0||owner[rk-1] != v)
hd[v] = rk;
}
}
After the call to sortby, all threads are sorted by rank according to the values of v, rather than explicitly sorting a list or some other auxiliary data structure that would have to be allocated into memory. In other words, the call forces a reality where all the threads are coincidentally arranged in the way we want them to be...an interesting PL concept. |
Browse archivesActive forum topics |