Oddbean new post about | logout
 nostr:npub16c3wl5l4m7t88y0axaukhp0tx6dx76f7fc0flck380tmxh8gdcysle0e99 nostr:npub1ax453pm42z92pv3226tudhwgscnt627slzludnsd2a3k4zyhcaasuk9uly nostr:npub1wg02ev7lfmnrwsjqu2tcm2qm4gw65aw0dyywfwvgafqnqyf02wmqhht0yf regex in general is quite slow and the use of it should be pretty selective. I've never found c++ regex to be particularly troublesome as long as you're sure to precompile your statements. For networking there's various libraries everywhere. Socket calls suck but the abstraction layer over them doesn't need to be very fancy before they start not sucking. So in short figure out what you actually want to do with your sockets and there will be a very simple and reliable library for it.