Asynchronous method in newLISP

Q&A's, tips, howto's
Post Reply
csfreebird
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing
Contact:

Asynchronous method in newLISP

Post 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?

Lutz
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Asynchronous method in newLISP

Post 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 :)

csfreebird
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing
Contact:

Re: Asynchronous method in newLISP

Post by csfreebird »

Thanks, Lutz.

Post Reply