# \#protocol

**URL:** https://discourse.julialang.org/tag/protocol/412.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Tips for fast parsing of "ad-hoc" protocol](https://discourse.julialang.org/t/tips-for-fast-parsing-of-ad-hoc-protocol/56718)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 3\
**Last updated:** [March 15, 2021, 9:52am UTC](https://discourse.julialang.org/t/tips-for-fast-parsing-of-ad-hoc-protocol/56718 "2021-03-15T09:52:27Z")

</div>

I’m in the process of trying to implement a fast-ish protocol parser/reader/whatever for a (from what I can tell) ad-hoc:ish protocol. Use case for context is to speed up a ‘let’s start this before lunch and maybe it’s d…

---

## [Protocols/Interfaces/Traits... or: The "what to implement problem"](https://discourse.julialang.org/t/protocols-interfaces-traits-or-the-what-to-implement-problem/40137)

<div class="topic-metadata">

**Author:** [@FHell](https://discourse.julialang.org/u/FHell)\
**Replies:** 10\
**Last updated:** [June 2, 2020, 2:22pm UTC](https://discourse.julialang.org/t/protocols-interfaces-traits-or-the-what-to-implement-problem/40137 "2020-06-02T14:22:35Z")

</div>

Hello everyone, I am interested in picking up the “what to implement problem” of defining interfaces/protocols in Julia. In my view the broad issue is: How do I encode invariants and expectations of my code. This is cri…
