Follow

@sir it would be a bit more fair to compare a single write() call in all cases. You know, write() isn't puts() isn't printf().

@jacereda @sir that'd give unfair languages who have direct libc or syscall bindings.

Eg. you can use write() from python by means of os.write, but that's non-idiomatic and would probably look suspicious in the middle of a larger program.

And then in some other interpreted language that's otherwise as slow as python but doesn't have such bindings, you'd have to use a generic print, which may be slower.

@jacereda one of my constraints is that I wouldn't write any code which was unidiomatic or would raise eyebrows in a code review

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!