Hello Wes
Wes Garland schreef op 2014-11-24 22:05:
Are you trying to write a C module for APE, or C bindings for
Javascript?
Was your question for me or for Edward?
My mongo and postgresql adapters were added to the spidermonkey module
(C bindings for javascript) as the mysql-adapter lived there as well.
It would be also possible to add them as a seperate C Module for APE,
but then the module loading and init should be splitted. I saw a commit
or issue for that somewhere on github, but I cannot find it right now.
Edward Finlayson schreef op 2014-11-22 11:39:
Does anyone have any documentation regarding adding C based
modules,
1) for the C bindings for javascript look at
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
2) for the C module for APE look at the older versions:
https://github.com/APE-Project/APE_Server/tree/fbd802b5d60720aefccf5fce684538b039ba8266/modules
If I remember correctly the internals were change way before this
commit, but the basic idea stays the same.
I played with the thought to make whooping module in another language
but
- the spidermonkey module allready kicks ass
- the browser is javascript, to have javascript on the server, it is
easier for my tormented brain.
- the spidermonkey interpreter is not bad;
https://www.mozilla.org/en-US/firefox/desktop/fast/ is even faster, if
we would upgrade.
Peter
Wes Garland schreef op 2014-11-24 22:05:
Are you trying to write a C module for APE, or C bindings for
Javascript?
On 24 November 2014 at 11:55, <[email protected] [21]>
wrote:
Hello Edward
I played around with a mongo adapter in the spidermonkey module.
It was more a proof of concept. I also played with a postgres
adapter, real async/non-blocking.
https://groups.google.com/forum/#!searchin/ape-project/mongo/ape-project/imoREM7eMBA/VnFK7hnKsEgJ
[13]
In the mean time I learned a lot, and would do some things
differently (better :-)).
At that time there was not much response from the community,
therefor i did not continue.
Now that the json features in postgresql have landed in 9.3+; There
might be fresh interest now. Should I pick this up again?
Peter Reijnders
Edward Finlayson schreef op 2014-11-22 11:39:
Does anyone have any documentation regarding adding C based
modules,
for example a no-sql client. From the looks of the mysql one,
there is
a long running bug in it which make is worth significantly less
because it crashes it he mysql server returns a null dataset.
If there is any documentation at all available I will attempt to
create a patch which will bring the MySQL lib offering up to the
latest version (which is known to be stable)
--
--
You received this message because you are subscribed to the
Google
Groups "APE Project" group.
To post to this group, send email to
[email protected] [1]
To unsubscribe from this group, send email to
[email protected] [2]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en [3] [1]
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/ [4] [2]
Git Hub : http://github.com/APE-Project/ [5] [3]
---
You received this message because you are subscribed to the
Google
Groups "APE Project" group.
To unsubscribe from this group and stop receiving emails from
it,
send an email to [email protected] [6]
[4].
For more options, visit https://groups.google.com/d/optout [7]
[5].
Links:
------
[1] http://groups.google.com/group/ape-project?hl=en [8]
[2] http://www.ape-project.org/ [9]
[3] http://github.com/APE-Project/ [10]
[4] mailto:[email protected] [11]
[5] https://groups.google.com/d/optout [12]
--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
[14]
To unsubscribe from this group, send email to
[email protected] [15]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en [16]
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/ [17]
Git Hub : http://github.com/APE-Project/ [18]
--- You received this message because you are subscribed to the
Google Groups "APE Project" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] [19].
For more options, visit https://groups.google.com/d/optout [20].
--
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102
--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en [22]
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/ [23]
Git Hub : http://github.com/APE-Project/ [24]
---
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] [25].
For more options, visit https://groups.google.com/d/optout [26].
Links:
------
[1] mailto:[email protected]
[2] mailto:ape-project%[email protected]
[3] http://groups.google.com/group/ape-project?hl=en
[4] http://www.ape-project.org/
[5] http://github.com/APE-Project/
[6] mailto:ape-project%[email protected]
[7] https://groups.google.com/d/optout
[8] http://groups.google.com/group/ape-project?hl=en
[9] http://www.ape-project.org/
[10] http://github.com/APE-Project/
[11] mailto:ape-project%[email protected]
[12] https://groups.google.com/d/optout
[13]
https://groups.google.com/forum/#!searchin/ape-project/mongo/ape-project/imoREM7eMBA/VnFK7hnKsEgJ
[14] mailto:[email protected]
[15] mailto:ape-project%[email protected]
[16] http://groups.google.com/group/ape-project?hl=en
[17] http://www.ape-project.org/
[18] http://github.com/APE-Project/
[19] mailto:ape-project%[email protected]
[20] https://groups.google.com/d/optout
[21] mailto:[email protected]
[22] http://groups.google.com/group/ape-project?hl=en
[23] http://www.ape-project.org/
[24] http://github.com/APE-Project/
[25] mailto:[email protected]
[26] https://groups.google.com/d/optout
--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
---
You received this message because you are subscribed to the Google Groups "APE Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.