What is Nostr?
mleku
npub1fjq…leku
2024-01-17 19:44:31
in reply to nevent1q…2lhl

mleku on Nostr: yes, i know about this, i wrote a miner for my own custom proof of work on a shitcoin ...

yes, i know about this, i wrote a miner for my own custom proof of work on a shitcoin upgrade chain and when i ran it as goroutines (these are not strictly parallelised) it was 20% slower than when i set up child processes to mine on a single kernel thread

20% was the difference, this is back in 2019, i'm sure that Go's coroutine scheduler is better than this now but i doubt it is as good as kernel threads

this is something you can do well with any language that has decent optimization and (heavy) kernel threads that do bulk work

coroutines give you low latency, not high throughput
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku