Page 1 of 1

Asynchronous method in newLISP

Posted: Sat Apr 26, 2014 2:31 pm
by csfreebird
Hi, Lutz:
I wan to develop dynamic library(.so or other format) using newLISP. For example, I want to let Java code to call my newLISP library on Andorid, my newLISP code will send some tracking data to my log server.
But I do not want to block caller when my newLISP code is running, in other languages, asynchrous method is popular solution. I know newLISP does not support multi-thread, it only supports multi-process. Do you have some other choices for my case?

Re: Asynchronous method in newLISP

Posted: Sun Apr 27, 2014 2:01 pm
by Lutz
The Java based IDE uses asynch communications with newlisp using TCP/IP.

To your earlier question about AI and machine learning, learn more about the newlisp functions bayes-train, bayes-query and kmeans-train, kmeans-query and about net-eval for distributed processing of bigger data tasks.

ps: I am currently only mobile with an iphone over 4G, so writing anything is a bit of a pain :)

Re: Asynchronous method in newLISP

Posted: Sun Apr 27, 2014 3:02 pm
by csfreebird
Thanks, Lutz.