-
Rust has a handy `#[deprecated]` attribute. Would it be possible to use something like that to pass to the code generation for the R version of a function?
Let's say I made this function:
```rs
…
-
I'm writing an FDW using pgx and profiling it i've noticed some significant time spent in `__sigsetjmp` and friends. I gather this is due to postgres utility functions exposed by `pgx_sys` and heavil…
-
[Playground](https://play.rust-lang.org/?gist=9bd04b79e73bc1b440e7c7eeb34837a6&version=nightly&mode=debug&edition=2015):
```rust
pub struct X2(T, T);
impl X2 {
pub fn foo(self, a: *mut T) …
-
There are three crates out there:
- https://crates.io/crates/duktape
- https://crates.io/crates/duktape_sys
- https://crates.io/crates/duktape_ffi
could you please explain the differences?
-
Please let me know if a "discussion" would be a better fit...
Every C function requires to be wrapped by an unsafe block, otherwise rust complains about it because it considers C unasfe.
What I …
je-vv updated
5 months ago
-
How should it work? I don't think it's possible to render WebGPU frames into window using minifb without a lot of copying going on, thought the output I got is pretty impressive, still runs like 11-12…
-
Could there be an os independent wrapper around things like Py_SetPythonHome? It's not the most rustic of ffi interfaces and the sizes change between windows and linux.
-
The topical issue is that it is common for FFI libraries (and even pure-Rust libraries, sometimes) to use `&()`, `&[Align; 0]`, `&c_void`, or some newtype wrappers of such as an opaque shared pointer …
CAD97 updated
2 years ago
-
I would love to create, maintain, and use `sokol-gfx` Haskell bindings. There appears to be `bindgen` - are there any docs or guidance on using that?
-
Currently rust api and implementation of the library isn't idiomatic rust code, which makes it awkward to read and understand.
I think we can change the library so it is like a normal rust library,…