News for hackers. Stuff that matters.
Re:ParaSail Programming Language: parallel programming language by pmontra on Saturday February 09, 2019 @09:52AM (#19122546)
Yep, and also if then, case of, end if... Hopefully an editor can color out the less relevant keywords and maybe autotype them.

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?

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
Re:ParaSail Programming Language: parallel programming language by pmontra on Saturday February 09, 2019 @10:46AM (#19122825)
Thanks! Invisible parallel code is a good idea. Less code to write.