JuliaPy / JuliaPy/PythonCall.jl
Python 3.13 with (modified) mimalloc
- 主要言語
- Julia
- スター
- 1.1k
- フォーク
- 86
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 3
説明
>A modified version of mimalloc is now included, optional but enabled by default if supported by the platform, and required for the free-threaded build mode.
https://github.com/python/cpython/issues/113141#issuecomment-2119255217
[I.e. likely for all platforms Julia support.] But it's unclear to me if this is a problem for using together since using different malloc.
I've tried before to switch out Julia's use of malloc for mimalloc (it didn't work, I though somebody made it work since).
In C, if you use an alternative malloc you must use its corresponding free, and that rule would translate to Python for its allocations. Julia would do similarily, but assuming still with Libc's standard malloc and free.
I'm just thinking, can you sometimes malloc (indirectly) by Python, then Julia would do the free, and it wouldn't work? Or vice versa?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reading the linked CPython issue and its discussion of modified mimalloc, then inspect PythonCall's documented Python–Julia FFI and allocation boundaries. Determine whether objects allocated by Python can be freed by Julia or vice versa under Python 3.13, and document a reproducible compatibility result or the required ownership rule.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia, python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100