On 11/18/26 1:53 PM, Jeff Law wrote:
> 
> 
> On 11/18/26 10:58 AM, Andrew MacLeod wrote:
>> I have a list of things to get to for ranger, and I wanted to record them 
>> somewhere.  Most of them are doable by someone else, and I was trying to 
>> figure out how to best communicate this.  This is my current thought... and 
>> I was wondering what y'all thought of it, and whether you have alternate 
>> suggestions.
>>
>> 1 - Create a PR as the overall "ranger enhancements".  Much like 85316 lists 
>> the PRs that are VRP bug related, this would list all the PRs that are 
>> opened for ranger enhancement projects.
>>
>> 2 - Then each future work PR would be opened as an enhancement linked to the 
>> main one, and would have a detailed description and what I'd suggest as an 
>> architecture for it...  It would include size scoping and anything else that 
>> occurs to me..  basically a brain dump on how to do it.   We could then 
>> attach any PRs that this enhancement would/should resolve.
>>
>> So for instance, I'd create a PR for "Unordered relations — float support in 
>> relation_kind"      value-relation.cc has no notion of floats, so 
>> "greater-or-equal or unordered" is inexpressible; Modify value-relation to 
>> have all the IEEE unordered variants.  And Id add an extensive comment about 
>> what I think needs to be done, along with sizing and that sort of thing.
>>
>> Im currently in the process of analyzing all the outstanding PRs and 
>> categorizing them, and figured while I was doing that I could link them to 
>> my "future work" projects.   So the unordered relation project could be 
>> linked to PRs 126545, 121590 and whatever else I stumble across.
>>
>> If there is only a single PR that is applicable, I could optionally just 
>> turn that into the enhancement PR, although I think we're better with a 
>> specific one.
>>   Anyway, I was just wondering what you thought of this approach, or if 
>> anyone had an alternate suggestion for this.
> It's as good as any.  I think the biggest gain is just to have a place to 
> record ideas that everyone can find.
> 
> jeff

Yeah, my goal is to articulate what I can going forward instead of just 
containing it locally in my head. 

Another thing I'd like to have people think about as well...  over the past 
couple of months as I do ranger stuff, I've been consulting and shadowed by 
AI... both Anthropic and OepnAI.  and I've been building a .md file that has 
ranger skills that can be consulted when working on something..   It is "deep" 
in that it has not just information, but rationale for why A is better than B, 
and common pitfalls when working with ranger, best practices, etc.. just 
whatever comes up in day to day stuff.   A "virtual Highlander" if you will..  
 
In addition to the things Ive been doing for the past couple of months, I went 
through the previous 6 months of ranger commits to trunk and "discussed" the 
commits by answering questions the AI had such as why a certain decision was 
made, what the point was, or why X wasn't done instead. It was interesting how 
in the end many of the answers tied into the strategic future work list I have. 
  

There is no  obvious place to put such a thing these days that I am aware.   we 
could check something into gcc/contrib I suppose.   It could exist on the 
wiki.. but then its pretty static.     Does anyone have any thought about where 
we might want to store such things?  *IF* we want to store such things?  Has 
any one else been doing anything like this?   I know the AI stuff is fairly new 
to GCC, but it seems like building  a repository for gcc skills might be quite 
useful going forward... 

I also have a performance skill that I now use which I can just ask for any 
given patch what the performance impact it... The AI can go to some other 
machine, create a baseline compiler, apply the patch, and using 
valgrind/callgrind and GCC's own sources, tell me what the general impact of 
the patch is.  If it causes a slowdown, it will drill down and analyze where 
the slowdown is and what the root cause is.   I use it on every patch I commit, 
and its been quite handy.    This sort of skill is also something that could be 
useful to others.    


Andrew

 

Reply via email to