Skip to content

Proposal: Make slices behave like array sections in Cilk Plus. #1838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
liampwll opened this issue Dec 17, 2018 · 4 comments
Closed

Proposal: Make slices behave like array sections in Cilk Plus. #1838

liampwll opened this issue Dec 17, 2018 · 4 comments
Labels
proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone

Comments

@liampwll
Copy link

liampwll commented Dec 17, 2018

https://www.cilkplus.org/tutorial-array-notation

Additionally since Zig allows slices as function parameters we could determine whether to map a function over a slice or to pass the slice as a parameter based on the parameter type (this would require some changes for var parameters).

@andrewrk
Copy link
Member

This is semi-related to #903

@andrewrk andrewrk added the proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. label Dec 17, 2018
@andrewrk andrewrk added this to the 0.4.0 milestone Dec 17, 2018
@andrewrk andrewrk modified the milestones: 0.4.0, 0.5.0 Feb 8, 2019
@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Sep 20, 2019
@daurnimator
Copy link
Contributor

Related: #2255

@emekoi
Copy link
Contributor

emekoi commented Nov 21, 2019

i think #2255 and this should be merged, allowing the stride of these "enhanced slices" to be accessed through .stride

@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Dec 31, 2019
@andrewrk
Copy link
Member

closing in favor of the open proposal #2255

@andrewrk andrewrk modified the milestones: 0.7.0, 0.6.0 Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Projects
None yet
Development

No branches or pull requests

4 participants