# Announcing Hex Diff

**URL:** <https://forum.elixirforum.com/t/announcing-hex-diff/28421>\
**Category:** Elixir News\
**Tags:** elixir-announcement\
**Created:** [January 20, 2020, 8:11pm UTC](https://forum.elixirforum.com/t/announcing-hex-diff/28421 "2020-01-20T20:11:59Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![hauleth](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hauleth/32/18942_2.png) [@hauleth](https://forum.elixirforum.com/u/hauleth)\
**Post date:** [January 21, 2020, 10:14am UTC](https://forum.elixirforum.com/t/announcing-hex-diff/28421/12 "2020-01-21T10:14:58Z")

</div>

> [@wojtekmach](#):
>
> Using `git diff` was a pragmatic choice with libraries support (we use [git\_diff | Hex](https://hex.pm/packages/git_diff) to parse hunks to provide better user experience).

`xdiff` is library used by Git, so there should be no difference. By the way, do you use regular algorithm or patience? Patience one should give slightly better results while being slightly more computationally expensive (but caching should made it neglible difference).

> [@wojtekmach](#):
>
> I think a pure Elixir solution would be interesting and in fact that could be a great default for another tool: `mix hex.package diff` (we couldn’t use a NIF there)

I will try to write something like that in some spare time.

---

_[View the full topic](https://forum.elixirforum.com/t/announcing-hex-diff/28421)._
