Skip to content

Commit a68a5a5

Browse files
committed
fix rr references
1 parent 3673669 commit a68a5a5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

_posts/2021-03-14-Julia-1.6-what-has-changed-since-1.0.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,12 @@ The whole thing just looks more modern and polished.
133133
This is not useful so much for debugging Julia code, but for debugging Julia itself.
134134
If you get into one of the very rare situations where the language is doing something truly nonsensical, you can send a bug report recorded via `rr` and someone can debug *exactly* what is happening - even to the extent of [diagnosing faulty RAM](https://julialang.org/blog/2020/09/rr-memory-magic/).
135135
`rr` is an impressively cool piece of tech.
136-
It leverages the fact that linux's `fork` is incredibly cheap, because it takes advantage of [copy-on-write](https://en.wikipedia.org/wiki/Copy-on-write).
137-
`rr` basically `fork`s before every system call, and serializes what is going on; so you have a full track of everything that happened.
138-
The `rr` integration is really nice and easy to use; I had someone who was part of our architecture and operations team (i.e. who writes way more CloudFormation than Julia) run it to submit a support request and they had no real troubles.
136+
It records execution of a program, intercepting places (namely syscalls) that could be nondeterministic and storing the result.
137+
It can then replay the recording (even on another machine), and see exactly what happened.
138+
Allowing on to go into great detail on the state, and step backwards and forwards through time.
139+
The `rr` integration is really nice and easy to use.
140+
On a project I was running, I ended up getting a member of our architecture and operations team run it to submit a support request and they had no real troubles
141+
(And they are by no means a Julia pro, they write mostly Cloudformation).
139142

140143
## Syntax
141144

0 commit comments

Comments
 (0)