unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#75761: request make-bytevector/pointers
@ 2025-01-22 15:05 Matt Wette
       [not found] ` <handler.75761.B.173755833028008.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Wette @ 2025-01-22 15:05 UTC (permalink / raw)
  To: 75761

make-bytevector allocates pointerless memory.

For using bytevectors to store structures used with C libraries we 
really need pointer-search, I believe.

Please add.

Matt






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#75761: Acknowledgement (request make-bytevector/pointers)
       [not found] ` <handler.75761.B.173755833028008.ack@debbugs.gnu.org>
@ 2025-01-22 15:11   ` Matt Wette
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Wette @ 2025-01-22 15:11 UTC (permalink / raw)
  To: 75761

Another option would be to add a procedure to add "watch location" in a 
bytevector.
The GC could just look at those locations.

Matt






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-22 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 15:05 bug#75761: request make-bytevector/pointers Matt Wette
     [not found] ` <handler.75761.B.173755833028008.ack@debbugs.gnu.org>
2025-01-22 15:11   ` bug#75761: Acknowledgement (request make-bytevector/pointers) Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).