Hacker GitHub

← All repos

c-blake/nio

View on GitHub ↗ ★ 39 Nim

Low Overhead Numerical/Native IO library & tools

15 mentions on Hacker News by 1 person: 0 stories, 15 comments · first 2021-12-04 · latest 2026-03-02

Mentions per year 15 mentions · busiest year 2022 (4)
20082026
  1. …applications. There are also 3rd party tools to make this convenient from many PLangs like HDF5, https://github.com/c-blake/nio with its FileArray for Nim, Apache Arrow, etc. Unmentioned so far is that defaults for max live memory maps are…
    comment by cb321 · 2026-03-02 · in Why does C have the best file API
  2. …as both "a feature" and "a problem". Experience with numpy programs did lead to sentinels in the https://github.com/c-blake/nio Nim package, though. Another way to try to investigate popularity here is to see how much code uses signaling…
    comment by cb321 · 2025-12-05 · in Nimony (Nim 3.0) Design Principles
  3. …be interested in this kind of thing, but if you are there might be some ideas of note over at https://github.com/c-blake/nio/blob/main/db-bench.md (in particular the demo/gbyGen.nim program).
  4. …application like resource competition/branch predictor disruption/etc. You could probably set up a https://github.com/c-blake/nio file for it (or other) if you wanted to be systematic. A problem with the "text-newline" part of the "unix…
    comment by cb321 · 2025-01-09 · in Writing a simple pool allocator in C
  5. …which could even be many 4k page writes, but for long time series it can still be more efficient. https://github.com/c-blake/nio/blob/ffb671ce23b1b77899c3bcff... has a `proc upstacks` command to do this and…
    comment by cb321 · 2024-11-30 · in Transposing Tensor Files
  6. …be the priority since bulk scans are more meta-common than random-poking. E.g., an approach in Nim: https://github.com/c-blake/nio
    comment by cb321 · 2024-11-30 · in Transposing Tensor Files
  7. …to split-parseable data, if you like, such as the possibly smaller, faster, and more general: https://github.com/c-blake/nio/blob/main/utils/c2tsv.nim (And, ideally, convert all the way to a mmap & go binary format like nio so you don't…
    comment by cb321 · 2024-04-10 · in World's Smallest CSV Parser (C#)
  8. …parsing libraries when you just read from a popen()d translator program producing an easier format: https://github.com/c-blake/nio/blob/main/utils/c2tsv.nim
  9. …tools with https://github.com/c-blake/cligen . A few are at https://github.com/c-blake/bu or https://github.com/c-blake/nio { screw 1970s COBOL-esque SQL ;-) } or in their own repos. I use quite a few every day..(EDIT: some even dozens of…
    comment by cb321 · 2023-01-03 · in Offensive Nim
  10. …comment. :) And I'm probably repeating myself/others. Direct email from here may work better. } [1] https://github.com/c-blake/nio
  11. …for this bulk convert in https://github.com/eBay/tsv-utils and a much smaller stand-alone Nim tool https://github.com/c-blake/nio/blob/main/utils/c2tsv.nim . Optional quoting was always going to be a PITA due to its non-locality. What if…
  12. With https://github.com/c-blake/nio/blob/main/utils/catz.nim you can get similar format agnostic decoding/decompression not just in tar but in any pipeline context based on magic numbers, not filename extensions and even doing the copy…
  13. …probably also has some ugly, non-portable extension language with 1970s prog.lang aesthetics. } [1] https://github.com/c-blake/nio
  14. I get ~50% the speed of the article's variant with no SIMD at all in https://github.com/c-blake/nio/blob/main/utils/c2tsv.nim While in Nim, the main logic is really just bout 1 screenful for me and should not be so hard to follow. As…
    comment by cb321 · 2021-12-04 · in Fast CSV Processing with SIMD
  15. …way to go. For example, you can use `nio print` (or even just `nio p`) in the Nim multi-program https://github.com/c-blake/nio to get "text debugging output" of binary files.
    comment by cb321 · 2021-12-04 · in Fast CSV Processing with SIMD