News for hackers. Stuff that matters.
Re:Frostbite: A new CPU architecture discovered, designed an... by quaintdev on Friday November 20, 2026 @09:12AM (#50574914)
I found the article linked at the bottom easier to understand[0].

> Another issue with multi-core CPUs is the difficulty of programming them. Debuggability is a major issue, and entirely new classes of issues arise, such as race conditions. However, in interaction nets, all active pairs are independent, and so can actually be executed in any order. This property is known as confluence, and means that no matter the order in which things are executed, the result will be the same. This makes debugging straightforward and eliminates issues like race conditions. This allows Vine to be parallel out of the box; the programmer does not have to do anything special with threads, processes, CUDA kernels, etc. to get parallel execution.

[0]: https://tendrils.co/blog/2026-04-26/on-inets

Re:Frostbite: A new CPU architecture discovered, designed an... by rbanffy on Friday November 20, 2026 @09:46AM (#50575361)
I was a bit surprised by Vine's syntax. I expected something a lot more like Lisp.
Re:Frostbite: A new CPU architecture discovered, designed an... by smj-edison on Friday November 20, 2026 @10:45AM (#50576444)
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.
Re:Frostbite: A new CPU architecture discovered, designed an... by yubblegum on Friday November 20, 2026 @01:12PM (#50579254)
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.

Re:Frostbite: A new CPU architecture discovered, designed an... by teknopath on Saturday November 21, 2026 @12:10PM (#50591282)
in vanilla INETs, interaction happens between principal ports only

principal ports are where computation happens

Re:Frostbite: A new CPU architecture discovered, designed an... by torginus on Sunday November 22, 2026 @08:55AM (#50599744)
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.

Re:Frostbite: A new CPU architecture discovered, designed an... by marginalia_nu on Friday November 20, 2026 @10:52AM (#50576573)
I'd be interested to see how this would pan out.

Seems to describe something analogous instruction level parallelism, which traditional CPUs made this millennium have as well via instruction pipelines, branch prediction, and speculative execution. Some of which turned out to not work too well so now we generally run hobbled CPUs with Spectre mitigation enabled.

The reason why we tend to reach for difficult abstractions for core level parallelism is that most automatic/safe approaches tend to stumble pretty hard on Amdahl's law, where most parallel code is consequently almost entirely designed around minimizing critical sections.

I don't fully see how inets would resolve Amdahl's law.

Re:Frostbite: A new CPU architecture discovered, designed an... by chacham15 on Friday November 20, 2026 @01:59PM (#50580000)
I think you're thinking about this the wrong way. This isnt about surpassing theoretical parallelism limits. Its about gaining parallelism without having to be explicit about it. If you look at the solve function from the page, its doing a brute force search of the 5 queens problem. In the naieve implementation, this is done serially. But with the different approach to compiling the implementation, we can essentially "automatically parallelize" it. Thats the difference between the animation on the left and right. Or at least as I understand it. Correct me if I'm wrong.
Re:Frostbite: A new CPU architecture discovered, designed an... by shioyama on Friday November 20, 2026 @07:30PM (#50584403)
This should be the top comment on this article.
Re:Frostbite: A new CPU architecture discovered, designed an... by torginus on Sunday November 22, 2026 @07:13AM (#50598918)
I think parent comment does raise a lot of good points. It's very easy to introduce a long critical path in code, and it's not impossible that in certain cases, the critical path is impossible to reduce, or can be only reduced at the cost of a lot more computation.

But even when it's possible to reduce, you often need the compiler to do it for you. For example the simple C loop:

    for (int i = 0;i<LEN;i++){
      b += a[i];
    }
The naive implementation of this loop is serial - every iteration of i relies on the previous one. In this case, the compiler can trivially infer that this is not the case, and can produce the nth value of i without doing all the previous computation, and thus enable parallelism. But if we were to feed the 'naive' version into an inet cpu, we'd still get serial performance.

If a computation's dependencies are not so trivial to determine, this simple parallelization might be beyond the compiler's ability, or may be straight up impossible. The latter seems to be the case for more general software.

Tbh, I'm not criticizing inets, and as GP has pointed out, out-of-order computation already does dependency tracking, but that ends at the scope of a single logical CPU thread, and what comes beyond that is user-managed-threading, a very difficult and bug-prone approach.

So there needs to be a better primitive for hardware parallelism, I agree, but imo inets. are not the whole solution in of themselves.

Re:Frostbite: A new CPU architecture discovered, designed an... by torginus on Sunday November 22, 2026 @08:48AM (#50599694)
Also modern CPUs compute using dependency graphs between instructions. This model has some weaknesses; chiefly how it interacts with memory - which can lead to CPUs having to linearize their works and wait on memory.

Curiously, the nqueens algorithm as presented has no memory accesses, so we have no idea how this tackles that.