Comments (4)
That function is not supported in ChezScheme --- https://docs.racket-lang.org/foreign/foreign_pointer-funcs.html#%28def._%28%28quote._~23~25foreign%29._make-sized-byte-string%29%29
from zeromq.
Are there any plans to add compatibility to this project to support socket-recv!
in ChezScheme?
from zeromq.
I have no plans and I assume that @mflatt can't support make-sized-byte-string
. If you find a way to make something similar works, I'd merge it!
from zeromq.
It looks like the use here
(make-sized-byte-string (msg-data-pointer m) (msg-size m))
could be replaced with
(let ([s (make-bytes (msg-size m))])
(memcpy s (msg-data-pointer m) (msg-size m))
s)
This copies data out of the message instead of pointing inside message. But socket-recv!
was copying anyway, and the bytes-copy
there could be removed.
from zeromq.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeromq.