Asynchronous method in newLISP

Q&A's, tips, howto's

Asynchronous method in newLISP

Postby csfreebird » Sat Apr 26, 2014 2:31 pm

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?
csfreebird
 
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing

Re: Asynchronous method in newLISP

Postby Lutz » Sun Apr 27, 2014 2:01 pm

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 :)
Lutz
 
Posts: 5276
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: Asynchronous method in newLISP

Postby csfreebird » Sun Apr 27, 2014 3:02 pm

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


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest