Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Truffle] STDOUT is sync=true by default #3088

Closed
eregon opened this issue Jun 29, 2015 · 2 comments
Closed

[Truffle] STDOUT is sync=true by default #3088

eregon opened this issue Jun 29, 2015 · 2 comments
Milestone

Comments

@eregon
Copy link
Member

eregon commented Jun 29, 2015

This is just because Rubinius does it in common/io.rb IO#setup.
MRI and JRuby do not and "follow" standard UNIX programs having unbuffered STDERR, but buffered (by line on TTY, by block otherwise) STDOUT (at the FILE* level, see setvbuf(3)).
I am not sure what is best but this could potentially be a IO perf issue.

@eregon eregon added the truffle label Jun 29, 2015
@eregon eregon added this to the truffle-dev milestone Jun 29, 2015
@chrisseaton
Copy link
Contributor

Is there a RubySpec for this?

@eregon
Copy link
Member Author

eregon commented Jan 11, 2016

Not currently, I added them in ruby/spec@70b1140 (will be merged in jruby later)

@eregon eregon closed this as completed Jan 17, 2017
@enebo enebo added this to the Non-Release milestone Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants