uDSV.js
Languages and libraries
csv parser library
SHOW HN2023
67points
23comments
#892of 3,109 in 2023
Top 29%of 2023 by points
How HN took it
LovedMost comments that take a side are positive
7 positive, 1 neutral or asking, 0 mixed, 0 critical, out of 8 comments about the project. Thread score +0.53.
Performance: 2 for, 0 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Benchmarks are thorough and well done.
From 2 comments
The benchmarks are well done, definitely worth the effort you put in. Taking a look at them I'm satisfied with my default choice of d3-dsv for balancing speed and reliability.…
couchand on HNSuper cool! Great work on making it fast and having clear benchmarks. I had some fun looking through them and seeing how comma-separated-values — a package I authored ~9 years…
knrz on HN
Maker's previous projects (uPlot, uFuzzy) are well regarded.
From 3 comments
Ha, the creator of uplot strikes again! Love seeing your stuff man, always so thorough and well-explained, nice work (https://github.com/leeoniya/uPlot)
pickledish on HNWas wondering where I had seen this person before… he wrote ufuzzy, which is pretty dope imo!
jkrubin on HNI was going to write a simpler comment but referencing uFuzzy instead! It's one of my favourite fuzzy search tools, but possibly even better than uFuzzy itself is the fuzzy…
MrJohz on HN
Objections
Benchmark runner miscounts rows for Airport2.csv, so some numbers are off.
From 1 comment
no, it's just the bench runner. dekkai and udsv finish in about 2.5s. the runner is designed to read array.length, but we're not accumulating in that case, so the math is...off :)
leeoniya on HN
Questions
Has WASM or WebGL/WebGPU been tried for CSV parsing speed?
From 1 comment
nice, is this something you've tried in WASM or WebGL/WebGPU? at some point it makes sense to simply recommend using WASM SQLite (or DuckDB) to load the data for OLAP stuff. im…
leeoniya on HN
Alternatives named
d3-dsv
From 2 comments
The benchmarks are well done, definitely worth the effort you put in. Taking a look at them I'm satisfied with my default choice of d3-dsv for balancing speed and reliability.…
couchand on HNthanks :) d3-dsv is one of the better ones for sure. it even slightly beats uDSV in Bun on some benchmarks. maybe it's better optimized for JSC rather than V8. it doesnt do…
leeoniya on HN
Apache Arrow CSV parser compiled to WASM
From 1 comment
The CSV parser for [Perspective](https://github.com/finos/perspective) uses the [Apache Arrow](https://github.com/apache/arrow) C++ CSV parser compiled to WASM. It's not…
texodus on HN
DuckDB or WASM SQLite for large CSV loading
From 1 comment
nice, is this something you've tried in WASM or WebGL/WebGPU? at some point it makes sense to simply recommend using WASM SQLite (or DuckDB) to load the data for OLAP stuff. im…
leeoniya on HN