knighthack 2 days ago

What exactly do you write, where your Python+C is faster than Nim which compiles to optimized C?

1
sgarland 2 days ago

Generating millions of rows of synthetic data for testing RDBMS.

Tbf, I didn't spend much time trying to optimize the Nim code once I got a working PoC, so it's entirely possible that I could've made it faster.

cb321 2 days ago

You may no longer 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).