From what I can tell there is no mention of using associative arrays
(aka dictionaries, maps, etc.) in the user documentation, e.g. http://c
hapel.cray.com/docs/1.13/modules/internal/ChapelArray.html it wades
into sets and set operations (I guess on the basis that the map X → X
is effectively a set), but there has been little on arrays and nothing
on associative arrays.

I found test/release/examples/primers/associative.chpl in the
repository, but I'd have thought all this material should be online and
indexed by Google.

Talking of Google, it generally finds the 1.12 documentation rather
than the 1.13 documentation.


PS This barrage of stuff from me about finding out about Chapel things
is prompted by me doing sessions on Python and Chapel at PyCon UK 2016
later this month. Sadly I will have to warn people that introductory
documentation is not great for Chapel :-(.

PPS Python has Count and Groovy (and others) have groupBy which are
mechanisms for creating a dictionary/map/associative array of counts of
values in a list/array/set/iterable. This sort of thing is immensely
popular, but I haven't found anything like this in Chapel – it took
decades for Python to get Count, people had to write it for themselves.
If Chapel doesn't have these sort of operations (maybe it does and i
missed them) then it will lose ground to Python/Julia/D/Scala in the
data science and Big Data™ communities. 

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to