hundreds-father-404
02/03/2021, 9:53 PMaverage-vr-56795
02/03/2021, 9:57 PMhundreds-father-404
02/03/2021, 9:58 PMaverage-vr-56795
02/03/2021, 9:59 PMhundreds-breakfast-49010
02/03/2021, 10:03 PMPyObject
(ignoring the places we're still using Value
)libengine.so
file and getting python to understand it correctlyhundreds-father-404
02/03/2021, 10:08 PMI wonder if there are intersting things to say about the rust build problem of creating the libengine.so file and getting python to understand it correctlyI don't think I'll want to spend a ton of time on this part because using an
.so
file is pretty common via Cython
I think in the "How we use it" part, I'd include like 30 seconds explaining we compile an .so executable via Rust, then load it simply by ensuring the resource file is in the right place and importing like normalaverage-vr-56795
02/03/2021, 10:09 PMwitty-crayon-22786
02/03/2021, 10:30 PMcpython
handles the conversion.FromPythonObject
and ToPythonObject
traits… which we could implement for more thingsPyObject
in your method signatures.cpython
crate vs py03
crate… we used cpython
at the time because py03
required nightly rust. you don’t need to go any deeper than that though… afaik, py03
started as a fork of cpython
, and they’re relatively similar in design still.busy-vase-39202
02/03/2021, 11:13 PMwitty-crayon-22786
02/03/2021, 11:21 PMaverage-vr-56795
02/03/2021, 11:46 PMhundreds-father-404
02/04/2021, 7:02 AMflat-zoo-31952
02/04/2021, 7:21 PMwitty-crayon-22786
02/04/2021, 7:22 PMflat-zoo-31952
02/04/2021, 7:25 PMwitty-crayon-22786
02/04/2021, 7:28 PMcpython
crate is really, really solid.flat-zoo-31952
02/04/2021, 7:29 PMwitty-crayon-22786
02/04/2021, 7:29 PMflat-zoo-31952
02/04/2021, 7:29 PMwitty-crayon-22786
02/04/2021, 7:31 PMflat-zoo-31952
02/04/2021, 7:31 PMwitty-crayon-22786
02/04/2021, 7:32 PMflat-zoo-31952
02/04/2021, 7:32 PMhundreds-father-404
02/04/2021, 8:10 PM"why use rust to extend python rather than C/C++?"cokeCarina and I were talking about this at the exact time you sent that suggestion, @flat-zoo-31952! We realized that is really what I wanted to make this talk about, and it was getting a bit muddied into making Pants the subject of the talk, rather than only something that guides the talk I'll be rewriting this before the deadline next week
busy-vase-39202
02/04/2021, 8:59 PMhundreds-breakfast-49010
02/04/2021, 9:04 PMbusy-vase-39202
02/04/2021, 9:05 PM