Date: Fri, 2 Jun 2023 17:26:09 +0000
An interesting idea, but I don't see how "easy to find" could be possible. I would probably end up asking the compiler to tell me where the file is, which defeats the purpose. If process startup costs are an issue, I suspect some form of caching would work better. As for maintainability, nothing prevents compiler vendors from having the data in an external file, even if the official interface is a command line option.
________________________________________
From: SG15 <sg15-bounces_at_[hidden]> on behalf of Olga Arkhipova via SG15 <sg15_at_lists.isocpp.org>
Sent: Thursday, June 1, 2023 10:30 PM
To: sg15_at_[hidden]socpp.org
Cc: Olga Arkhipova
Subject: Re: [SG15] P2717R1, EcoIS Introspection
The paper proposes a call to an executable to produce a json format with the capabilities info. I am wondering if having a json file near the executable which would contain full info about what this tool supports would be more beneficial.
An external (but easy to find) file will allow getting the tool information even without launching its process, which would be preferred in perf sensitive scenarios. I also think that it would be easier for tool vendors to create (and maintain) this file rather than to implement the suggested functionality in code.
I think it should be at least included as a option.
Thanks,
Olga
-----Original Message-----
From: SG15 <sg15-bounces_at_[hidden]> On Behalf Of René Ferdinand Rivera Morell via SG15
Sent: Thursday, June 1, 2023 20:20
To: ISO C++ Tooling Study Group <sg15_at_lists.isocpp.org>
Cc: René Ferdinand Rivera Morell <grafikrobot_at_gmail.com>
Subject: Re: [SG15] P2717R1, EcoIS Introspection
Following up on the discussions.. I've made some more edits to the paper (https://urldefense.com/v3/__https://isocpp.org/files/papers/D2717R2.html__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfR2tyuFD$ ) and wording PR (PDF attached).
On Tue, May 16, 2023 at 11:11 PM René Ferdinand Rivera Morell <grafikrobot_at_gmail.com> wrote:
>
> Just finished with the next revision of the tool introspection paper.
> Two big changes:
>
> * Simplified the interface by removing bounded query of implementation support.
> * Added hopefully full wording.
>
> Here's a preview of it:
>
> <https://urldefense.com/v3/__https://raw/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfZnYgaSk$
> .githack.com%2Fgrafikrobot%2Fpapers%2Fmain%2Fwg21%2Fecosystem_is_intro
> spect%2Fecosystem_is_introspect_P2717R1.html&data=05%7C01%7Colgaark%40
> microsoft.com%7C5de839e4f77449e9698608db631859fa%7C72f988bf86f141af91a
> b2d7cd011db47%7C1%7C0%7C638212728826471561%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000
> %7C%7C%7C&sdata=t3CbkXu4m5QSNLy0O64AHOi87VMU%2BNr12hUxjktdbPE%3D&reser
> ved=0>
>
> I'll add it to the "to be mailed" queue in about 24 hours. Would
> welcome commentary and proofreading before then.
>
> --
> -- René Ferdinand Rivera Morell
> -- Don't Assume Anything -- No Supone Nada
> -- Robot Dreams -
> https://urldefense.com/v3/__http://robot/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfZjxsz6h$
> -dreams.net%2F&data=05%7C01%7Colgaark%40microsoft.com%7C5de839e4f77449
> e9698608db631859fa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638212
> 728826471561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
> zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8lcqs3A0zJzmRH
> qMJmkj3V80ac79IJvda6StehDmG9I%3D&reserved=0
--
-- René Ferdinand Rivera Morell
-- Don't Assume Anything -- No Supone Nada
-- Robot Dreams - https://urldefense.com/v3/__http://robot-dreams.net/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfb-kPRWc$
_______________________________________________
SG15 mailing list
SG15_at_[hidden]
https://urldefense.com/v3/__https://lists.isocpp.org/mailman/listinfo.cgi/sg15__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfaf2nX7X$
________________________________________
From: SG15 <sg15-bounces_at_[hidden]> on behalf of Olga Arkhipova via SG15 <sg15_at_lists.isocpp.org>
Sent: Thursday, June 1, 2023 10:30 PM
To: sg15_at_[hidden]socpp.org
Cc: Olga Arkhipova
Subject: Re: [SG15] P2717R1, EcoIS Introspection
The paper proposes a call to an executable to produce a json format with the capabilities info. I am wondering if having a json file near the executable which would contain full info about what this tool supports would be more beneficial.
An external (but easy to find) file will allow getting the tool information even without launching its process, which would be preferred in perf sensitive scenarios. I also think that it would be easier for tool vendors to create (and maintain) this file rather than to implement the suggested functionality in code.
I think it should be at least included as a option.
Thanks,
Olga
-----Original Message-----
From: SG15 <sg15-bounces_at_[hidden]> On Behalf Of René Ferdinand Rivera Morell via SG15
Sent: Thursday, June 1, 2023 20:20
To: ISO C++ Tooling Study Group <sg15_at_lists.isocpp.org>
Cc: René Ferdinand Rivera Morell <grafikrobot_at_gmail.com>
Subject: Re: [SG15] P2717R1, EcoIS Introspection
Following up on the discussions.. I've made some more edits to the paper (https://urldefense.com/v3/__https://isocpp.org/files/papers/D2717R2.html__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfR2tyuFD$ ) and wording PR (PDF attached).
On Tue, May 16, 2023 at 11:11 PM René Ferdinand Rivera Morell <grafikrobot_at_gmail.com> wrote:
>
> Just finished with the next revision of the tool introspection paper.
> Two big changes:
>
> * Simplified the interface by removing bounded query of implementation support.
> * Added hopefully full wording.
>
> Here's a preview of it:
>
> <https://urldefense.com/v3/__https://raw/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfZnYgaSk$
> .githack.com%2Fgrafikrobot%2Fpapers%2Fmain%2Fwg21%2Fecosystem_is_intro
> spect%2Fecosystem_is_introspect_P2717R1.html&data=05%7C01%7Colgaark%40
> microsoft.com%7C5de839e4f77449e9698608db631859fa%7C72f988bf86f141af91a
> b2d7cd011db47%7C1%7C0%7C638212728826471561%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000
> %7C%7C%7C&sdata=t3CbkXu4m5QSNLy0O64AHOi87VMU%2BNr12hUxjktdbPE%3D&reser
> ved=0>
>
> I'll add it to the "to be mailed" queue in about 24 hours. Would
> welcome commentary and proofreading before then.
>
> --
> -- René Ferdinand Rivera Morell
> -- Don't Assume Anything -- No Supone Nada
> -- Robot Dreams -
> https://urldefense.com/v3/__http://robot/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfZjxsz6h$
> -dreams.net%2F&data=05%7C01%7Colgaark%40microsoft.com%7C5de839e4f77449
> e9698608db631859fa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638212
> 728826471561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
> zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8lcqs3A0zJzmRH
> qMJmkj3V80ac79IJvda6StehDmG9I%3D&reserved=0
--
-- René Ferdinand Rivera Morell
-- Don't Assume Anything -- No Supone Nada
-- Robot Dreams - https://urldefense.com/v3/__http://robot-dreams.net/__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfb-kPRWc$
_______________________________________________
SG15 mailing list
SG15_at_[hidden]
https://urldefense.com/v3/__https://lists.isocpp.org/mailman/listinfo.cgi/sg15__;!!A4F2R9G_pg!Z60yxNvejpBrhjfgzgKxEcefEEJFti7QDn-wk-AMGVSBhrH1zzSVq-EUjERlQjZ82Oa0zLRWfaf2nX7X$
Received on 2023-06-02 17:26:17