Benedikt Reinartz

Results 331 comments of Benedikt Reinartz

The function is already in `rustler_sys`, you just need to add a function on `Env` in the `local_pid` module (like the existing `pid()` function there).

Sorry for the late reply. I think I'd like all of these, where of course `pid.is_process_alive` could just redirect to the implementation on `env`.

Implemented in #599, will be in the next release.

Nix can compile other Rust projects as well, right? Rustler's mix integration is basically just a wrapper around `cargo build` in the right directory and then placing the file in...

Do you have concrete suggestions?

This would probably be helped by handling https://github.com/pythonnet/pythonnet/issues/1781. If we are finally shutting down, we don't actually have to stash anything, so we also shouldn't try to clean up garbage,...

@lostmsu @BadSingleton Now that issues like #2107 show up because `BinaryFormatter.Serialize` has been hard-deprecated in .NET 7, we need to do somethhing. How about making `Shutdown()` behave like it used...

@AlexGilmor If you want to shut down Python, use `Shutdown`. The slowness is due to to multiple garbage collection rounds and (potentially contributing, but not the only factor) the runtime...

Workaround here: https://github.com/pythonnet/pythonnet/issues/2008#issuecomment-1441315835

We need to call `Shutdown` (in my opinion) just as well to ensure that destructors run in a sensible order. What we definitely don't need to do is the stashing...