Anonymous
10/18/2025, 4:33:30 AM
No.106925626
>>106925593
how about "no heap allocations after init" is not a hard and fast rule, but a preference applied liberally until it doesn't make sense?
I almost always allocate a 1KB buffer for 9600 or 115200 serial comms and that's way more than enough.
but sometimes it just doesn't make sense because hardware is not well behaved and physics doesn't typically agree with digital signals
how about "no heap allocations after init" is not a hard and fast rule, but a preference applied liberally until it doesn't make sense?
I almost always allocate a 1KB buffer for 9600 or 115200 serial comms and that's way more than enough.
but sometimes it just doesn't make sense because hardware is not well behaved and physics doesn't typically agree with digital signals