dgrunwald/rust-cpython
View on GitHub ↗ ★ 1,837 Rust
Rust <-> Python bindings
9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2015-05-27 · latest 2020-04-18
20082026
-
…macros to encode/decode pickled object [3]. This article is just a fun hack using Rust macros. [1] https://github.com/dgrunwald/rust-cpython [2] http://dgrunwald.github.io/rust-cpython/doc/cpython/macro.py... [3]…
comment by akiselev · 2020-04-18 · in Writing Python inside Rust -
The rust library interfacing with python is https://github.com/dgrunwald/rust-cpython This library understand things like python arrays, objects, etc. and provides nice rust interfaces to them. Basically I just have to write a macro that…
comment by gpm · 2018-08-21 · in Parallel Programming with Python -
…it out by reverse engineering the code, and I honestly wonder if Python is actually "faster".) [1]: https://github.com/dgrunwald/rust-cpython/issues/59
comment by deathanatos · 2018-02-07 · in Python’s Weak Performance Matters -
…a show-stopper for me. It isn't clear to me if PyO3 is also affected by this issue. [1]: https://github.com/dgrunwald/rust-cpython/issues/59
comment by deathanatos · 2018-02-07 · in Python’s Weak Performance Matters -
Have you seen this one: https://github.com/dgrunwald/rust-cpython The extension-module feature might give you what you want
comment by stusmall · 2017-07-05 · in Rust's 2017 roadmap, six months in -
…in python: it's easy to create python-native modules & interfaces with tools like rust-cpython ( https://github.com/dgrunwald/rust-cpython ).
comment by cmyr · 2016-12-23 · in Show HN: Rocket – Web Framework for Rust -
There's rust-cpython that works like this: https://github.com/dgrunwald/rust-cpython/
comment by pcwalton · 2016-10-20 · in Fixing Python Performance with Rust -
Yes, here's a python module written in Rust: https://github.com/dgrunwald/rust-cpython/blob/master/extens... But anything more complicated than that (defining extension types etc.) isn't yet supported by the high-level bindings, and would…
comment by ynik · 2015-05-27 · in Rust for Python Programmers