Julia?

Forum for anything not suitable for the other forums.

Julia?

Postby kevM » Sun Feb 10, 2013 3:06 am

Is anyone working on (or interested in) julia for parallella? "Julia is a fast, simple, and dynamic programming language
for high-performance technical computing ... marrying the performance of low-level languages like C/C++ with a
simple and easy-to-understand syntax ... integrating best-of-breed C and Fortran libraries for statistics, linear algebra,
signal processing, and random number generation ... designed out of the box for parallel computing, meaning it's easy
to scale computation across multiple processers in (and out of) the cloud." Perhaps the "full monty" for some within
the emerging parallella community?
http://forio.com/julia/julia
http://julialang.org/
kevM
 
Posts: 1
Joined: Sat Feb 02, 2013 3:48 am

Re: Julia?

Postby ed2k » Sun Feb 10, 2013 6:17 am

So far the limitation of 32K per core is posing much difficulty on any high level language. So far the most promising I can think of is FORTH.
ed2k
 
Posts: 112
Joined: Mon Dec 17, 2012 3:27 am

Re: Julia?

Postby 8l » Sun Feb 10, 2013 9:33 am

for forth, there is green arrays(h/w). polyforth(color forth , Chuck Moore)
http://www.greenarraychips.com/
8l
 
Posts: 171
Joined: Mon Dec 17, 2012 3:23 am

Re: Julia?

Postby timpart » Mon Feb 11, 2013 11:50 am

ed2k wrote:So far the limitation of 32K per core is posing much difficulty on any high level language. So far the most promising I can think of is FORTH.


For my own interest I am currently writing FORTH from scratch in Epiphany assembler. This is very much a personal project to become more familiar with the instruction set and I'm unlikely to release anything that has any kind of support. Based on my code so far I estimate
Code 4K - 6K (more with richer built in vocabulary/functionality)
Dictionary in external RAM (this is used for compilation and human speed interactions so unlikely to be an issue)
Buffers, stacks, work areas etc 4K
So that leaves about 22K to do with as you wish.
Speed about 10%+ of pure assembler. As an example my code for + takes 7 cycles including the inner interpreter.
timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: Julia?

Postby aolofsson » Mon Feb 11, 2013 5:10 pm

Forth on the Epiphany, very cool!

Great to see that an interpreter can fit into the modest local memory.
At some point, could you post the code for others to learn from? Any conclusions so far from writing Epiphany assembly? Easy, hard, things that could be improved?

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Julia?

Postby aolofsson » Tue Feb 12, 2013 2:25 am

btw. A nice conversation and blog post about Julia can be found here:(just tweeted by Tim O'Reilly)

http://www.johnmyleswhite.com/notebook/ ... -love-you/
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Julia?

Postby ed2k » Tue Feb 12, 2013 3:05 am

aolofsson wrote:Forth on the Epiphany, very cool!


Forth is really small, I saw a J1cpu VM implementation only need 1K space. the cross-compiler itself is written in forth as well
The best part is procedure library (dictionay) is just key, value pairs, minimal dependency on fixed address. can easily put a dictionary cache in between.
ed2k
 
Posts: 112
Joined: Mon Dec 17, 2012 3:27 am

Re: Julia?

Postby janeTA » Thu Feb 14, 2013 11:37 pm

Yes, I would like to see a Julia-move on Parallella; perhaps something more "straight-forward" for starters? SIMD, say, where one has Julia on the ARM processor exercising data-parallel features across the Epiphany set via something like "xectors" (similar to CmLisp on Thinking Machines' Connection Machines)? Julia, in this mode, lets developers leverage the SIMD abstraction by defining new "xector operations" all of which execute concurrently, with significant/useful gains in processing "power"?
janeTA
 
Posts: 4
Joined: Wed Feb 06, 2013 7:05 am

Re: Julia?

Postby ASterbini » Sun Apr 30, 2017 4:39 pm

@timpart
Forth for Epiphany?

Nice, I was just looking at gForth (which has a Mips implementation and cross/meta compiler) when I stumbled on your post.
Perhaps you would share some info on your efforts?
ASterbini
 
Posts: 2
Joined: Fri Apr 14, 2017 5:58 pm

Re: Julia?

Postby dobkeratops » Wed May 03, 2017 7:41 pm

What about keeping 'julia' on the host processor, but running array processing operations on e-cores,
from C++ I am interested in the approach of writing high-order functions that encapsulate dataflow (e.g. map, reduce,convolution, etc), and passing in lambdas that say 'what to do to the data'. I think Julia has good lambda support (including syntax sugar for trailing lambdas?), and it's also aimed at mathematical code (array operations? inbuilt multidimensional arrays?) .. perhaps it would suit this kind of approach aswell?

(there are an awful lot of details to figure out before I can even use C++ this way, but wth Julia being built on LLVM perhaps there would be overlap?)

Is there a brainstorming wiki ?
dobkeratops
 
Posts: 171
Joined: Fri Jun 05, 2015 6:42 pm
Location: uk


Return to General Discussion

Who is online

Users browsing this forum: Bing [Bot] and 8 guests

cron