Draft:Elixir/bzip2-ex: Difference between revisions
provide background |
InstantCommons letting me down |
||
| Line 1: | Line 1: | ||
A chronicle of my first Erlang/Elixir library binding (NIF). | A chronicle of my first Erlang/Elixir library binding (NIF). | ||
''Adam Wight, Sept 2022'' | |||
== Background == | == Background == | ||
| Line 5: | Line 7: | ||
Of course, the normal approach would be to search for a proven library in a solid data-sciencey language such as Python, pip install [https://pythonhosted.org/mwxml/ mwxml] and go on with the day. But that wouldn't be as interesting as trying to do exactly the same thing in an esoteric young language, in service of a [https://gitlab.com/adamwight/mediawiki_client_ex pet project] with zero adoption. | Of course, the normal approach would be to search for a proven library in a solid data-sciencey language such as Python, pip install [https://pythonhosted.org/mwxml/ mwxml] and go on with the day. But that wouldn't be as interesting as trying to do exactly the same thing in an esoteric young language, in service of a [https://gitlab.com/adamwight/mediawiki_client_ex pet project] with zero adoption. | ||
[[File:Phap Nang Ngam Nai Wannakhadi (1964, p 60).jpg|thumb|Phap Nang Ngam Nai Wannakhadi (1964, p 60)]]But imagine how much better a truly concurrent processor could be! | |||
== Problem statement == | == Problem statement == | ||
| Line 10: | Line 14: | ||
How hard could it be to write a binding... | How hard could it be to write a binding... | ||
== The bzip2 file format has no specification == | == The bzip2 file format has no specification == | ||