Replace simple Rust behaviors with JS for example simulation to be tested
🌟 What is the purpose of this PR?
We currently don't support Rust behaviors yet, in order to test a few more simulations, we should replace very simple Rust behaviors with JS: age.rs and move_in_direction.rs
Doing this enables two additional examples to be run and discovered two new bugs!
🚫 Blocked by
- [x] #559
- [x] hashdeps/shared_memory-rs#38
- [ ] Investigate memory leak (internal)
🐾 Next steps
Investigate the new bugs and fix them
🔍 What does this change?
Replaces the age.rs and move_in_direction.rs with simple JavaScript behaviors to be tested at examples.
🔗 Related links
- Asana task (internal)
The PR fails at the CI with an error, which is very very likely because arrow-rs have different expectations than JavaScript's arrow implementation. I marked this as blocked by Move to Arrow2 (internal).
Weird, the test job is failing while the bench job is passing 🤔
I triggered a new run. Maybe it was a very unlucky spurious failure (somehow the test was terminated by SIGKILL). I will investigate this later.
It appears that we have a memory leak in hEngine and this is accumulating when running multiple tests. This PR is ready to be merged but my worry is, that we will have some spurious failures due to the leak when running the CI on Pull Requests. As I don't see many benefits in merging this PR right away, I will hold back merging until the leak is fixed.
Asana Task (internal)
To revisit as part of this task (internal link)