Is it possible to use ClojureScript for end machines based on the core.async core in Clojure and not in a Clojure streaming implementation? I would like to be able to use core.async in the JVM, but without using threads.
This is currently not possible, but nothing prevents you from modifying core.async to support a single-threaded model. All dispatching is handled via clojure.core.async.impl.dispatch/runChange this function to use some other dispatch method, and everything should work. The core.async version for ClojureScript has a different version dispatch/runthat uses setTimeout (or other things that might be faster). Copy this code and modify it to work on your virtual machine, and it should not be difficult.
clojure.core.async.impl.dispatch/run
dispatch/run
core.async JVM , threadpool, go , .
go
, edbond , Clojure core.async go s. , + 42, go .
JVM core.async thread, go, , (<!!, >!! ..), , . , ; go , core.async - threadpool.
thread
<!!
>!!
Source: https://habr.com/ru/post/1526516/More articles:GridView with incomplete row number does not scroll - androidCSS inline block offset - htmlHow to view the contents of a method in PhpStorm - intellij-ideaMySQL secure password on shared hosting - javascriptedit text accepts only numbers, not decimal numbers in android - javaNode.js and mongodb TypeError: undefined is not a function - javascriptjQuery deleting an element and its brother - jqueryGo to String Constants - benchmarkingProblems creating Open Graph reports: “unable to create history” and “failed to create preview,” - androidhow to run more than one angular directory modules in Pprod - javascriptAll Articles