Better HN
topnewbestaskshowjobs
Log inSign up

barthold123

9 karma · joined Nov 20, 2026 (1w ago) · 9 submissions

Submissions

comment 2d ago · link · parent

If nobody except mathematicians were interested in these kinds of results, there would be no funding or available PhD positions. Of course there is large interest in pure science.

comment 2d ago · link · parent

Nope, never figured it out. After some investigation, the approaches look quite different though after all.

comment 4d ago · link · parent

I don't know what to tell you. Wikipedia is considering a very narrow interpretation of laziness, that is arguably quite misleading. Yes, call-by-need implements lazy evaluation, and yes, lazy evaluation is often implemented by some kind of sharing, as call-by-name does not make much sense in practice otherwise.

I think part of the problem is that when people talk about Haskell or call-by-need being lazy, some think that "lazy" somehow represents the whole evaluation strategy. It is just one of the properties the evaluation strategy adheres to. In contrast, call-by-name is not often talked about as being lazy, as most people associate it with call-by-need. As such, people not calling Algol-68 lazy does not mean that it is non-lazy (aka strict). It implements call-by-name, therefore it is lazy by definition.

For other sources, see e.g.

- https://csci3155.cs.colorado.edu/pppl-course/book/lazy-evalu...

- https://ku-sldg.github.io/plih/funs/6-Strict-and-Lazy.html

- or my TAPL copy: "In contrast, non-strict (or lazy) strategies such as call-by-name and call-by-need evaluate only the arguments that are actually used."

comment 1w ago · link · parent

As I said, I don't know much about whether interaction nets are superior to data flow (especially in hardware), I just wanted to mention some general advantages of the paradigm. My other comment explains the relation to laziness.

Incremental sharing mean essentially that when arguments are duplicated and they are _needed_ (as in call-by-need), only the outermost "constructor" (graph node) of the shared computation is duplicated, while the rest is left as-is. This duplication proceeds only whenever more constructors are _needed_. It is essentially lazy, or, incremental.

Incremental higher-order sharing is when incremental sharing can be applied to higher-order functions, say in a lazy semantics. This is very tricky (Asperti wrote a whole book on it), but, when done correctly, can make some algorithms exponentially faster than call-by-need, without affecting performance negatively.

Intuitively, you rarely need the whole body of a (shared) function duplicated in order to know how to continue with evaluation. Incremental duplication makes a lot more sense to me, and it shows in benchmarks.

comment 1w ago · link · parent

Sorry, but it is, except if you'd also provide a (non-standard) definition of laziness. Lazy means to not evaluate the argument of a function when evaluating its application. A lazy semantics can be implemented using call-by-name or call-by-need, either not sharing the evaluation, or sharing it. See Maraist, Odersky & Wadler (1998), an initial introduction to call-by-need, that defines call-by-name as being lazy - or almost all of the subsequent literature that I know.

However, in call-by-need reduction, sharing never goes beyond a function's body: In two different invocations of the same function, shared computation in their bodies will still be evaluated twice. This is different when sharing incrementally, which can famously not be implemented just by a reduction strategy (Lévy etc.). Instead, you require a whole different model of computation - for example interaction nets. Commutation propagates duplication nodes (ie. sharing of computation) incrementally, step-by-step, in a lazy manner. Only when duplication is also incremental, then can it be strongly confluent. See Lafont's initial work on interaction nets and combinators for the reasoning.

comment 1w ago · link · parent

Yes I know that, what does this have to do with my comment? Or did you want to say that call-by-name is not "lazy", which it is by many definitions?

Either way, call-by-need does not have incremental higher-order sharing. Call-by-need + incremental sharing = Lévy-optimal reduction, as was shown by Asperti and many others. This can be implemented directly with interaction combinators, without any kind of extension.

comment 1w ago · link · parent

I don't know much about data flow but how would lazy evaluation ever be strongly confluent without incremental sharing? Or do you mean not sharing at all, thus not making use of being lazy (in the sense of call-by-name)?

comment 1w ago · link · parent

same as interaction nets, no? except they are strongly confluent and have incremental sharing

comment 1w ago · link · parent

They claim to be backed by $24M seed funding [1]. Interestingly, they seem to have copied the entire approach from Tendrils Compute (even using their Vine & Ivy languages), who recently got $30M seed funding [2]. Are the companies related, or did architect labs just steal their idea and dump it into an LLM?

[1]: https://architectlabs.com/blog/seed

[2]: https://tendrils.co/blog/2026-11-10/30m-raised