Asynchronous method in newLISP

Started by csfreebird, April 26, 2014, 07:31:49 AM

Previous topic - Next topic

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?

Lutz

#1
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 :)

csfreebird

#2
Thanks, Lutz.