BurntSushi/rust-csv
View on GitHub ↗ ★ 1,966 Rust
A CSV parser for Rust, with Serde support.
16 mentions on Hacker News by 7 people: 2 stories, 14 comments · first 2014-03-26 · latest 2020-05-15
20082026
-
…best CLI csv tool I've ever used. And I've used them all. [0] https://github.com/BurntSushi/xsv [1] https://github.com/BurntSushi/rust-csv
comment by VWWHFSfQ · 2020-05-15 · in So you want to write your own CSV code (2014) -
It's probably relevant to mention https://github.com/BurntSushi/rust-csv . It uses a state machine (which seems to be the author's expertise) to parse CSVs really fast. Based on some other work, you can do better if you use some of the new…
comment by blaisio · 2019-02-21 · in Simdjson – Parsing Gigabytes of JSON per Second -
…or a JIT), but I'm finding it difficult to articulate why that isn't the full story. [1] - https://github.com/BurntSushi/rust-csv/blob/546291a0095a2537... [2] - https://github.com/BurntSushi/xsv/blob/9574d89634031259802dd...
comment by burntsushi · 2018-09-09 · in XSV: A fast CSV command-line toolkit written in Rust -
…that test, but I don't know if Node's or Lua's CSV parser does because I've never used them. [1] - https://github.com/BurntSushi/rust-csv/blob/master/csv-core/...
comment by burntsushi · 2018-09-09 · in XSV: A fast CSV command-line toolkit written in Rust -
…if the entire record is all ASCII. (Because then you can assume each field is valid UTF-8.) [1] - https://github.com/BurntSushi/rust-csv/blob/34e957e63bb92853...
comment by burntsushi · 2017-06-14 · in Bugs You'll Probably Only Have in Rust -
…[2] - https://docs.rs/csv-core/0.1.2/csv_core/struct.Reader.html#m... [3] - https://github.com/BurntSushi/rust-csv/blob/34e957e63bb92853... [4] - https://github.com/BurntSushi/rust-csv/blob/master/csv-core/...
comment by burntsushi · 2017-06-10 · in Rust and CSV parsing -
…that can be disabled.) [1] - https://docs.rs/csv-core/0.1.2/csv_core/struct.Reader.html#r... [2] - https://github.com/BurntSushi/rust-csv/issues/77
comment by burntsushi · 2017-06-10 · in Rust and CSV parsing -
…But I think that a lot of the pieces are there, e.g. bleeding fast CSV parsing libraries ( https://github.com/BurntSushi/rust-csv ), and what's left is the important last mile of bringing these things together in ergonomic libraries or…
comment by peterhj · 2016-10-19 · in Ask HN: What is the state of C++ vs. Rust? -
…$ du -hs c.log ;wc -l c.log 2.1G c.log 16197412 c.log I also wonder if that is 2.5 GB/s per core. https://github.com/BurntSushi/rust-csv does 241 MB/s in raw mode, so I find it a little hard to believe that this is 10x faster... unless…
comment by justinsaccount · 2016-06-08 · in ParaText: CSV parsing at 2.5 GB per second -
It's extremely simple. Even if you don't know Rust, this code should be readable: https://github.com/BurntSushi/rust-csv/blob/master/src/index... Basically, it writes a 64 bit byte offset (big endian) for the start of each record. The very…
comment by burntsushi · 2015-02-22 · in XSV – A fast CSV toolkit in Rust -
Looks like it's based on this CSV parser: https://github.com/BurntSushi/rust-csv and it claims to be RFC4180-compliant, which is a good thing.
comment by userbinator · 2015-02-22 · in XSV – A fast CSV toolkit in Rust -
CSV parsing: https://github.com/BurntSushi/rust-csv Arg parsing: https://github.com/docopt/docopt.rs
comment by burntsushi · 2015-01-13 · in Announcing Rust 1.0 Alpha -
…going on: with Rust, I can expose a safe iterator over fields in a record without allocating. [1] - https://github.com/BurntSushi/rust-csv The docs explain the different access patterns (start with convenience and move toward performance):…
comment by burntsushi · 2014-10-01 · in A Fresh Look at Rust -
…zilla.org/pipermail/rust-dev/2014-March/00922... [1] - https://github.com/BurntSushi/quickcheck [2] - https://github.com/BurntSushi/rust-csv
comment by burntsushi · 2014-03-29 · in Rust vs Go