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

Remove Introspection #8273

Merged
merged 6 commits into from
Jun 25, 2024
Merged

Remove Introspection #8273

merged 6 commits into from
Jun 25, 2024

Conversation

steven-johnson
Copy link
Contributor

Introspection (to provide better error messages + automatic var/func/etc names) has always been kinda handy but kinda fragile, and with the evolution of the DWARF standard it's become broken for newer compilers. We don't have the bandwidth to fix it, and many large customers (e.g. Google) have never been able to rely on it, and given that it can cause crashes in some unusual situations (e.g. when embedded inside a Go app), it's time to say goodbye.

Alas! Poor Introspection. I knew him, Horatio. A feature of infinite jest, of most excellent fancy. It hath borne me on his back a thousand times.

Introspection (to provide better error messages + automatic var/func/etc names) has always been kinda handy but kinda fragile, and with the evolution of the DWARF standard it's become broken for newer compilers. We don't have the bandwidth to fix it, and many large customers (e.g. Google) have never been able to rely on it, and given that it can cause crashes in some unusual situations (e.g. when embedded inside a Go app), it's time to say goodbye.

Alas! Poor Introspection. I knew him, Horatio. A feature of infinite jest, of most excellent fancy. It hath borne me on his back a thousand times.
@steven-johnson steven-johnson added the release_notes For changes that may warrant a note in README for official releases. label Jun 7, 2024
@steven-johnson steven-johnson requested a review from abadams June 7, 2024 21:45
@@ -1057,8 +1057,9 @@ Definition Deserializer::deserialize_definition(const Serialize::Definition *def
const std::vector<Specialization> specializations =
deserialize_vector<Serialize::Specialization, Specialization>(definition->specializations(),
&Deserializer::deserialize_specialization);
// Desaerialize and ignore this value.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a perfectly cromulent spaeling

@abadams abadams linked an issue Jun 7, 2024 that may be closed by this pull request
@abadams abadams added this to the v18.0.0 milestone Jun 23, 2024
@steven-johnson steven-johnson requested a review from abadams June 25, 2024 15:13
@steven-johnson
Copy link
Contributor Author

Finally green, PTAL

@steven-johnson steven-johnson merged commit 1449692 into main Jun 25, 2024
19 checks passed
@steven-johnson steven-johnson deleted the srj/delete-introspection branch June 25, 2024 17:30
@mcourteaux
Copy link
Contributor

I think we should update the tutorials to add explicit naming now, and teach how to use stmt and conceptual stmt files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_notes For changes that may warrant a note in README for official releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introspection segfaults on golang executables
3 participants