Fork me on GitHub
#joker
<
2021-08-26
>
Ben yjz04:08:46

I tried a bit with atoms..

Ben yjz04:08:24

is there a kind of a list of missing features .. I was missing add-watch

Ben yjz23:08:29

"The following features are not implemented: protocols, records, structmaps, chunked seqs, transients, tagged literals, unchecked arithmetics, primitive arrays, custom data readers, transducers, validators and watch functions for vars and atoms, hierarchies, sorted maps and sets."

Candid00:08:59

correct. Specifically, watch functions for atoms are not implemented. In general Joker is single threaded so everything related to state management in multi-threaded environments doesn’t apply to Joker.

Ben yjz00:08:29

I am wondering about a dialect which leverages golang in all aspects in particular channels, the build system, wasm etc. I like clojure, but in my environment JVM is not an option. I find the thought of having fast upstart time and native capabilities exciting.

Ben yjz00:08:34

clojure.async was more of an afterthought and not core part of the language.

jcburley10:08:13

My gostd fork/branch still has a ways to go to meet these objectives, but I’m hoping to take it there! Funnily enough, I got very basic function-wrapping (fns with no args and no return value) working in my private repo, and quickly discovered the one API I tested on it invokes the function on a separate thread, so…I guess that might be the first case of a Joker program running “multithreaded”, even though Joker itself isn’t really designed for it yet? (IIRC, @U75LX44UA asked me about MT support in Joker a long time ago, and though I don’t recall responding, I’ve been thinking about it on a back-burner basis ever since….)

Ben yjz12:08:48

thats cool. with "multithreaded" I assume you mean support for go routines?

Ben yjz12:08:43

also a datomic clone on golang could be really great.. I am bit surprised wider clojure community is not picking up more on it

jcburley21:09:35

The footprint of a Joker script, versus a Clojure script/program, running a simple web service, is so much smaller that it makes much more sense for “modest” network servers like mine, which is a VM.