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

Reuse reflection code from the Swift toolchain #384

Closed
wants to merge 7 commits into from

Conversation

MaxDesiatov
Copy link
Collaborator

@MaxDesiatov MaxDesiatov commented Feb 23, 2021

Yet another attempt to resolve #367. Seems to work in all known cases so far.

This reuses code that OpenCombine previously used for reflection, but didn't need after all. It's transplanted from the toolchain with namespace names changed to avoid naming collisions.

@MaxDesiatov MaxDesiatov added the bug Something isn't working label Feb 23, 2021
@MaxDesiatov MaxDesiatov marked this pull request as ready for review February 24, 2021 15:41
@MaxDesiatov MaxDesiatov requested a review from a team February 24, 2021 15:42
@MaxDesiatov MaxDesiatov marked this pull request as draft February 24, 2021 16:18
@MaxDesiatov MaxDesiatov removed the request for review from a team February 24, 2021 16:18
@MaxDesiatov
Copy link
Collaborator Author

I'd like to keep this open (albeit in the draft state) until we have some benchmarking automation to compare if there are any performance or code size benefits by any chance.

@carson-katri
Copy link
Member

Could the benchmarks we have now open this back up?

@MaxDesiatov
Copy link
Collaborator Author

MaxDesiatov commented Jun 29, 2022

Yes, they could. I'm not sure when I'll have time to do set up these benchmarks though, sorry. Feel free to pick it up if you're interested.

@MaxDesiatov MaxDesiatov reopened this Jun 29, 2022
@MaxDesiatov
Copy link
Collaborator Author

Closed by mistake while commenting, reopening now...

@MaxDesiatov MaxDesiatov reopened this Jun 29, 2022
@MaxDesiatov MaxDesiatov closed this Aug 9, 2022
@MaxDesiatov MaxDesiatov deleted the cpp-reflection branch August 9, 2022 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

Infinite loops w/ 100% CPU usage caused by stack overflows
2 participants