I wrote a CSV parser in Javascript for my site https://www.csvplot.com.
Even the "industry standard" PapaParse JS library was a lot slower than my no-frills implementation, so I thought I was onto something.
Then I read the "So You Want To Write your own CSV Code" [0]. I realized if I supported every corner case I would lose my entire speed advantage, which in hindsight is obvious. That newlines can exist inside a column if quoted ( Something like "my \n value with newline") is specifically what caused the most issues. Incidentally the article also points at that this ruins the possibility of processing each row independently.
I started reading about highly efficient text parsing, but most of what I could find was dedicated to JSON parsing, with simdjson as one example. I briefly considered using webassembly to leverage existing fast implementations, but that never happened. My motivation for this specific side project ran out the minute it was fast enough for my own needs.
[0] http://thomasburette.com/blog/2014/05/25/so-you-want-to-writ...