A tuple oriented csv parser [UPDATE]

This page summarizes the projects mentioned and recommended in the original post on /r/cpp
CSV

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • ssp

    C++ CSV parser (by red0124)

  • Fast C++ CSV Parser

    fast-cpp-csv-parser

  • I did consider the parser returning std::optional, but I think it is situational whether one would look nicer than the other. For example, using value_or() in the first example would not work since I do not want to print anything if the row is invalid, so I would still have to check the optional, and than add another line to decompose the tuple resulting in more lines. Notice that p.valid() can also be used to check if the file was open within the constructor. Fetching error messages would also be slightly more complicated. As for exceptions, I do no think it could work at all in this iteration loop since it would break the loop even if I catch it, and again, file not open would need to be handled too, and making it throw would require me to enclose the whole parser in a try/catch block since the constructor would throw that exception, one of the problems I had with the fast-cpp-csv-parser. Its all a trade-off, but I think I will stick with p.valid(), tho I will consider it still.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Frawk: An efficient Awk-like programming language. (2021)

    4 projects | news.ycombinator.com | 21 Apr 2024
  • Show HN: TextQuery – Query and Visualize Your CSV Data in Minutes

    3 projects | news.ycombinator.com | 2 Apr 2024
  • Show HN: WhatTheDuck – open-source, in-browser SQL on CSV files

    5 projects | news.ycombinator.com | 26 Mar 2024
  • Friends don't let friends export to CSV

    7 projects | news.ycombinator.com | 25 Mar 2024
  • Rendering a Million Rows in React by Drawing

    4 projects | dev.to | 23 Mar 2024