newLISP Fan Club

Forum => newLISP in the real world => Topic started by: csfreebird on April 26, 2014, 07:31:49 AM

Title: Asynchronous method in newLISP
Post by: csfreebird on April 26, 2014, 07:31:49 AM
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?
Title: Re: Asynchronous method in newLISP
Post by: Lutz on April 27, 2014, 07:01:09 AM
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 :)
Title: Re: Asynchronous method in newLISP
Post by: csfreebird on April 27, 2014, 08:02:38 AM
Thanks, Lutz.