I believe Erlang/Elixir can fit to any purpose.
I faced with an issue to move my cursor to the beginning of the line. I can’t find any suitable solution except using pread(IO, Location, N) with N window where
- read N bytes
- check if there is a
\nand repeat until reach
pread(file, offset - [i * N], N)
And how big should be N in that case?