Playing with a comparison of python vs. c++ for something simple. stats.py reads lines on stdin and outputs some json, and goc.cpp reads stdin and outputs csv. I may just go with csv for the project but I'll see what json is like in C++ too.

This commit is contained in:
Zed A. Shaw 2024-05-04 00:08:47 -04:00
parent 6a777e4c2d
commit 567ffec4ac
7 changed files with 314 additions and 0 deletions

View file

@ -1,9 +1,18 @@
project('lcppthw', 'cpp',
default_options: ['cpp_std=c++20'])
fmt_dep = dependency('fmt')
executable('goc', 'goc.cpp',
win_subsystem: 'windows',
cpp_args: '-DFMT_HEADER_ONLY',
dependencies: fmt_dep)
executable('ex01', 'ex01.cpp')
executable('ex02', 'ex02.cpp')
executable('ex03', 'ex03.cpp')
executable('ex04', 'ex04.cpp')
executable('ex05', 'ex05.cpp')
executable('ex06', 'ex06.cpp')
executable('ex07', 'ex07.cpp')
executable('ex08', 'ex08.cpp')