scnlib: Formatted input library
summary
scnlib claims to make input in C++ as easy as fmt makes output, providing a scnlib API that scans ints, strings and ranges from stdin, files, string_views or file descriptors with a customizable stream concept and optional scanf-like syntax. It targets C++11/14, can be header-only and exception-free, and shows benchmarks that beat iostreams for integers and doubles while wstring scanning is unexpectedly one to two orders of magnitude slower and needs further optimization.
AI-written summary · about
related talks
55mStandard C++ Toolset
01h 00mC++ Coding with Neovim
58mMaking Libraries Consumable for Non-C++ Developers
01h 01mScripting at the Speed of Thought: Lua and C++ with sol3
52m“Tools from the C++ eco-system to save a leg”
45mUsing Clang for Fun & Profit: Examples from the Chromium Project
45mDissecting the stdlib
01h 06mCommand Line C++ Development
