[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unsafe Conversions and Inlining
From: |
Christopher Howard |
Subject: |
Unsafe Conversions and Inlining |
Date: |
Sat, 22 Feb 2020 16:18:37 -0900 |
Hi, I'm doing a project with SDR involving a lot of number crunching,
as SDR usually does, with Guile 3.0 embedded in a C application. Of
course, the idea is to have the C functions handle the low-level
number crunching. But it some places it is difficult to get around
performance hits from required scheme conversions, e.g.: scheme
bytevector -> scheme pointer -> C pointer. Of course, working on
reducing those, but wondering...
(1) Do I have any options for unsafe conversions, e.g., some guile
library out there which would convert bytevector to C pointer without
typechecking?
(2) Is there anything I can do as far as inlining those core conversion
functions that might be useful?
--
Christopher Howard
p: +1 (907) 374-0257
w: https://librehacker.com
social: https://gnusocial.club/librehacker
gpg: ADDEAADE5D607C8D (keys.gnupg.net)
- Unsafe Conversions and Inlining,
Christopher Howard <=