Skip to content

Send program to Boogie via stdin#456

Merged
fpoli merged 1 commit into
masterfrom
boogie-stdin
Mar 19, 2023
Merged

Send program to Boogie via stdin#456
fpoli merged 1 commit into
masterfrom
boogie-stdin

Conversation

@fpoli

@fpoli fpoli commented Mar 15, 2023

Copy link
Copy Markdown
Member

This PR makes Carbon send the generated program to Boogie via stdin rather than via a temporary file on disk.

I expect that using stdin should always be better than writing and reading from disk, but I don't know if the improvement is noticeable. The main reason for this PR is that when Carbon is killed the temporary file is not deleted, which is why I currently have 181 programs named like /tmp/carbon996508397191883283.bpl on my laptop. Nothing urgent, just annoying.

@fpoli fpoli requested a review from gauravpartha March 15, 2023 13:16
@fpoli fpoli self-assigned this Mar 15, 2023

@gauravpartha gauravpartha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@fpoli fpoli merged commit f8cf7c9 into master Mar 19, 2023
@fpoli fpoli deleted the boogie-stdin branch March 19, 2023 21:09
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

Successfully merging this pull request may close these issues.

2 participants