Re:ParaSail Programming Language: parallel programming language
by oblio on Saturday February 09, 2019 @10:32AM
(#19122744)
> it's strange that the home page of a parallel language doesn't give an example of parallel code
Read the page again :)
Func Sum_Of_Squares(N : Int) -> Int is
// Built-in and inherently parallel map-reduce
// Initial value is enclosed with angle brackets
return (for I in 1 .. N => <0> + I ** 2)
end func Sum_Of_Squares
It's strange that the home page of a parallel language doesn't give an example of parallel code. Check https://elixir-lang.org/ instead.
Does anybody use ParaSail here? What are its pros and cons?