Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
AoC 2022 in the Chapel language blog (chapel-lang.org)
2 points by fulafel on Jan 6, 2023 | hide | past | favorite | 1 comment


Chapel is a interesting language. Eg from day 2:

> This is known as argument promotion, where the scalar formal argument is being promoted by passing it an array actual argument.

> Not only is this a powerful and compact idiom, but it is also the first parallel computing concept we’ve seen in AoC 2022. Specifically, Chapel can and will evaluate promoted function calls in parallel. For example, for a large array on a sixteen-core processor, each processor will compute the function call for 1/16 of the array elements in parallel




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: