Selfers,
Matter of style question, I am building a kqueue binding for a web service app I'm building and was wondering if it would be preferred to be integrated in the os unix space along side select with glue code to implement it as a foreign function object, or would it be better to extend the base VM and make it more primitive?
If anyone else already has an implementation I would love to steal their btw.
Dave
-=-=- dave@.com -=-=-
I don't know enough details, but ceteris paribus, I would go the foreign function route.
- David
On Dec 30, 2010, at 3:25 PM, David Goehrig wrote:
Selfers,
Matter of style question, I am building a kqueue binding for a web service app I'm building and was wondering if it would be preferred to be integrated in the os unix space along side select with glue code to implement it as a foreign function object, or would it be better to extend the base VM and make it more primitive?
If anyone else already has an implementation I would love to steal their btw.
Dave
-=-=- dave@.com -=-=-
Hi Dave,
Does this mean you are running Self on FreeBSD? And if so did you need any changes to the build process?
- Russell
On 31/12/2010, at 10:25 AM, David Goehrig dave@nexttolast.com wrote:
Selfers,
Matter of style question, I am building a kqueue binding for a web service app I'm building and was wondering if it would be preferred to be integrated in the os unix space along side select with glue code to implement it as a foreign function object, or would it be better to extend the base VM and make it more primitive?
If anyone else already has an implementation I would love to steal their btw.
Dave
-=-=- dave@.com -=-=-
The kqueue mechanism is available on MacOS X (since 10.3, I think).
Sekhar
2010/12/31 Russell Allen mail@russell-allen.com
Hi Dave,
Does this mean you are running Self on FreeBSD? And if so did you need any changes to the build process?
- Russell
On 31/12/2010, at 10:25 AM, David Goehrig dave@nexttolast.com wrote:
Selfers,
Matter of style question, I am building a kqueue binding for a web service app I'm building and was wondering if it would be preferred to be integrated in the os unix space along side select with glue code to implement it as a foreign function object, or would it be better to extend the base VM and make it more primitive?
If anyone else already has an implementation I would love to steal their btw.
Dave
-=-=- dave@.com -=-=-
Russell asked:
Does this mean you are running Self on FreeBSD? And if so did you need any changes to the build process?
Nope just a Mac. The Mac and FreeBSD share a compatible implementation of kqueue and I believe kqueue64. Kqueue and mmap are the only two system calls outside of what's already in the self tools you need to build a high performance server on the BSD variants.
I did run into some build issues where the build targets were failing to run one of the custom scripts. Fixing it was a matter of just setting the proper defines in the C C++ compile options.
One bit that hung me up was the makeDeps program. Going the straight make route was another dead end. The final bit problem I had was the final build world script ran and then crashed right before saving an image. I could load and run all of my old images, but I could not build from scratch.
-=-=- dave@nexttolast.com -=-=-
Ah OK. I hadn't realised kqueue was on Macs.
I'm interested in the build problems - in the words of the poet, it works for me. It would be great if you could share any build tips/changes you make.
- Russell
On 01/01/2011, at 1:27 AM, David Goehrig wrote:
Russell asked:
Does this mean you are running Self on FreeBSD? And if so did you need any changes to the build process?
Nope just a Mac. The Mac and FreeBSD share a compatible implementation of kqueue and I believe kqueue64. Kqueue and mmap are the only two system calls outside of what's already in the self tools you need to build a high performance server on the BSD variants.
I did run into some build issues where the build targets were failing to run one of the custom scripts. Fixing it was a matter of just setting the proper defines in the C C++ compile options.
One bit that hung me up was the makeDeps program. Going the straight make route was another dead end. The final bit problem I had was the final build world script ran and then crashed right before saving an image. I could load and run all of my old images, but I could not build from scratch.
-=-=- dave@nexttolast.com -=-=-
self-interest@lists.selflanguage.org