typed-protocols

Session types framework with support of protocol pipelining. (by input-output-hk)

Typed-protocols Alternatives

Similar projects and alternatives to typed-protocols

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better typed-protocols alternative or higher similarity.

typed-protocols reviews and mentions

Posts with mentions or reviews of typed-protocols. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-05.
  • On Implementation of Distributed Protocols
    23 projects | dev.to | 5 Apr 2024
    Certain correctness properties of code can be ensured statically, i.e. at compile time. Those checks rely on the programming language's type system. Software engineers can take advantage of type safety features to implement components in a way that makes them safe by construction. For example, Cardano uses the typed-protocols package, a generic framework for implementing application-level protocols, which is based on a simple form of session typing.6 Within this framework, protocols are described as state machines encoded into Haskell types. The allowed transitions between states correspond to messages exchanged between the peers, so the protocol state determines which messages are allowed to be sent or must be accepted when received, at type level. This simplifies protocol implementation, allows early detection of protocol violations, and makes the protocols themselves deadlock-free by construction. More advanced type-level programming techniques may allow achieving impressive levels of type safety; however, such code may be significantly harder to implement, understand, and maintain.
  • RPC lib?
    5 projects | /r/haskell | 19 Feb 2023
    I like to use typed-protocols for this: https://github.com/input-output-hk/typed-protocols/

Stats

Basic typed-protocols repo stats
2
7
7.7
2 months ago

The primary programming language of typed-protocols is Haskell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com