(no title)
squeedles | 29 days ago
It took me back to the old days of source diving and accumulated knowledge that you carried around in your head.
squeedles | 29 days ago
It took me back to the old days of source diving and accumulated knowledge that you carried around in your head.
davepeck|29 days ago
I found that agentic coding tools were quite good at answering my architectural questions; even when their answers were only half correct, they usually pointed me in the right direction. (I didn’t use AI to write code and I wonder if agentic tools would struggle with certain aspects of the codebase like, for instance, the Cambrian explosion of utility macros used throughout.)
squeedles|29 days ago
I blended the python type system with a large low-level type system (STEP AIM low level types) and a smaller set of higher-level types (STEP ARM, similar to a database view). I already was familiar with STEP, so I needed to really grok what Python was doing under the covers because I needed to virtualize the STEP ARM and AIM access while making it look like "normal" Python.
throwaway81523|29 days ago
EdwardDiego|29 days ago
lozenge|29 days ago
From the later call PyModule_AddObject, it's clear this code has come from the PyInit_ module initialisation function. This code is running on import of the C extension to initialise the "FruitEnum" module attribute. https://docs.python.org/3/c-api/extension-modules.html#c.PyI...