https://pantsbuild.org/ logo
#development
Title
# development
a

aloof-angle-91616

12/07/2018, 9:32 AM
merged this to unblock myself, or something: https://github.com/pantsbuild/pants/pull/6869
🎉 1
h

hundreds-father-404

12/07/2018, 3:26 PM
Woah that’s awesome. Good idea to look for a crate
a

aloof-angle-91616

12/07/2018, 4:46 PM
i've used
bindgen
itself (that goes the other way around to produce rust bindings from a header) and i'm obviously ridiculously interested in ways to make native code more composable so i was actually looking to completely redo the native code bootstrapping in pants and one of the motivations was the FFI having like 3 or 4 redundant definitions so i got lucky and the "community" converged on
cbindgen
recently too (other crates have all marked themselves as deprecated in their readmes)
❤️ 1
so it was good timing too
rust build scripts are very very cool i have another one that will build any autotools project and make it available to your rust code which uses
bindgen
(the other direction)
this is why i wanted to redo the native bootstrap process because if we can get mozilla working on our tools we would reach the theoretical limit of human productivity
h

hundreds-father-404

12/07/2018, 4:54 PM
What a great community where everyone is willing to converge on one library and mark their own as deprecated. You all making me want to learn Rust, especially with Rust 2018 🦀
a

aloof-angle-91616

12/07/2018, 5:15 PM
i love rust
i'm one of the weirdos who likes c++ and i love that the approach with rust seems to be not to like destroy existing code but to make it work
and that's the kind of thing that literally won't come out of companies like google
(or amazon)
(etc)
h

hundreds-father-404

12/07/2018, 5:17 PM
Modern C++ changed my mind with move semantics
I still hate working with C
a

aloof-angle-91616

12/08/2018, 1:42 AM
move semantics are fine i just didn't get what the heck anyone was talking about with move semantics until i started using rust because rust enforces it and i could tell you what a move ctor does but could i tell you why? no
i hate working with a C codebase that shouldn't be C
i think the linux kernel is nice
but it's often the lowest common denominator of like the languages people know that like work with tensorflow or something
so of course horrifically misused
or something