TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Streaming with linear types

83 pointsby setraalmost 7 years ago

3 comments

danharajalmost 7 years ago
One thing I think will eventually come out of linear logic is that in classical linear logic there&#x27;s no intrinsic division between inputs in outputs. In LL it&#x27;s the case that implication, which corresponds to functions in programming, is decomposed into a linear implication, which is a pure application, and an exponential which handles copying. But even further than that, in classic linear logic there is a symmetric version of implication called par. A -o B is the same as Not A `par` B.<p>It&#x27;s this symmetry that intrigues me, because it points to a way of programming beyond functional programming that still maintains its fundamental good properties.
评论 #17435128 未加载
adamnemecekalmost 7 years ago
Linear logic is the shit. I’ve been reading up on it and I believe that 21st century will be built on top of linear logic. For example I have a hunch probability doesn’t need to be founded on measure theory, but can be founded on linear logic instead.
评论 #17432414 未加载
评论 #17433427 未加载
评论 #17435130 未加载
评论 #17432603 未加载
dmytroialmost 7 years ago
How does one control runtime operations with this? Ok compiler&#x2F;optimizer might have a notion of &quot;fastest execution possible&quot; (which most likely have some local time minimums). But what about latency&#x2F;bandwidth relationship? What do I do if I need minimal latency possible? Or maximal bandwidth possible?