Skip to content
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

Consider using handles instead of pointers for resources #2

Closed
Cloudef opened this issue Dec 8, 2014 · 2 comments
Closed

Consider using handles instead of pointers for resources #2

Cloudef opened this issue Dec 8, 2014 · 2 comments
Assignees

Comments

@Cloudef
Copy link
Owner

Cloudef commented Dec 8, 2014

This makes sense due to uncontrolled environment where dangling pointers are real problem. Handles would be simple indexes. This gives additional bonus that the underlying memory management could be optimized for iterations.

@Cloudef Cloudef self-assigned this Dec 8, 2014
@Cloudef Cloudef changed the title Consider using entities instead of pointers for resources Consider using handles instead of pointers for resources Feb 26, 2015
@Cloudef
Copy link
Owner Author

Cloudef commented Feb 26, 2015

Working on this now. Should get rid of most if not all hacks and not so nice things in wlc (excluding some internal apis, like platform abstraction that could be nicer).

Changes public API dramatically as well, however should be easier to wrap to different languages as result.

@Cloudef
Copy link
Owner Author

Cloudef commented Mar 7, 2015

Done @ refactor branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant