@inthehands @PaulDavisTheFirst @luna
Oh, researching other languages choices I discovered that Python as a very strange behavior:
https://stackoverflow.com/questions/42867866/what-makes-python3s-print-function-thread-safe#64283201
@inthehands @PaulDavisTheFirst @luna
Oh, researching other languages choices I discovered that Python as a very strange behavior:
https://stackoverflow.com/questions/42867866/what-makes-python3s-print-function-thread-safe#64283201
@inthehands @luna ok I see where we disagree.
Stream operators are not equivalent to print statement, each data being fed asap by design.
And I agree this might be considered as a strange choice to promote this as a default way of printing.
@inthehands @luna they are thread safe.
The interleave pb is a different issue
I am not aware of languages that keep natively internal buffer per thread to avoid interleaving.
Do you have any example ?
🇫🇷 Dangereux codeur professionnel. Bugs inclus.Accessoirement cyclopathe végétarien à tendance musicale.Pronoms: il/lui-----🇬🇧 Coding for a living. Bugs provided for free.Might also be a bit of a bike-obsessed musically oriented veggie.Pronouns: he/him
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.