Hacker News new | ask | show | jobs
by smj-edison 15 days ago
I read through the first half, but the graph operations are really confusing me. What's the difference between a principal port and auxiliary ports? A lot of the rewrites are swapping them around so I'm confused what their significance is.
3 comments

This is the key feature of the architecture. Computation is shown to be localizable and independent in terms of 'active pairs' which are defined as elements connected via their 'principle port'. Since the design permits only one 'principle port' per element, all possible graphs that we can arrive at with this formalism can only have components that 'exclusively' participate in a single 'active pair'.

So there is 'no sharing of state' baked into the computational model by design, enforced by this very simple and elegant design choice.

My understanding is that an inet is like one side of an equation - its not a statement light in programming languages.

The aux side, you can have as many terms as you want, but on the principal side, you can only have one.

The novel thing here is that you can connect two principal ports, in which case you get an actual equation (or interaction pair in inet terminology) - but the whole thing is only valid if the two sides actually can be made equal.

From HS algebra, you probably know how turn this into an imperative for (essentially solve for x) - which brings the inet into a normal form, and the computation becomes a DAG, just like with other representations of computation.

I feel like im missing the big idea though.

in vanilla INETs, interaction happens between principal ports only

principal ports are where computation happens