Fork me on GitHub
#clojurescript
<
2019-02-10
>
pepas05:02:40

I'm on a yak shave to see if I can get clojurescript supported on some old ARM hardware. V8 dropped ARMv5 with 3.18 (they started requiring the vfp cpu feature, which I think is ARMv6+ only). This corresponds to the node 0.11.1 release, I believe.

pepas05:02:04

clojurescript requires 0.12.x. However, it looks like at one point it only required 0.10.x: https://groups.google.com/forum/#!topic/clojurescript/a80RbwUHhZ0

pepas05:02:25

Is anyone familiar with what was needed in 0.12 which wasn't available in 0.10?

pepas05:02:10

(the other option might be to see if node 0.12 will actually work with V8 3.17)

thheller10:02:42

@jasonpepas there isn't anything in clojurescript itself that requires a particular node version. I'm still running node 8 on one machine and its fine

thheller10:02:53

depends on which libraries you use of course but clojurscript alone emits ES3 code which was basically supported since node v1

henrik11:02:09

Are all updates of the standard since ES3 basically syntactic sugar? No performance benefits or anything like that?

borkdude11:02:16

@john I believe you showed a trick a while ago with using a data reader to make the CLJS ns form more dynamic?

mfikes13:02:49

@jasonpepas Is your ARM hardware Linux-based? (If JavaScriptCore binaries are available, one interesting path is to compile Planck on it, given that Planck is really some fairly portable C along with some JavaScript runtime—which can actually be generated on a beefier box first.)

john15:02:54

@borkdude yeah, I'll post it up here soon /afk

john15:02:31

@henrik I'm seeing that typed arrays are es6, and fwiu they're required for certain high performance code

pepas15:02:24

thanks @thheller! @mfikes yes, I'll check out planck!

pepas16:02:36

oh, I see, planck uses JavascriptCore instead of node

mfikes16:02:35

Yeah, so no npm deps, but I’ve heard of people getting it to work on tiny computers like the Pi :)

mfikes16:02:59

JavaScriptCore binaries are available via apt for example, for Debian systems, so it is an interesting route

pepas16:02:18

ah, great!

mfikes16:02:09

You can probably also build Lumo, which is based on node

pepas16:02:49

Do you think lumo would work with node < 0.12?

mfikes16:02:17

Don’t know

pepas16:02:34

time to shave that yak then!

pepas16:02:26

(or spelunk that rabbit hole 🙂)

anmonteiro16:02:38

most likely not without many changes

👍 1
anmonteiro16:02:00

IIRC Lumo uses many newer Node.js APIs

pepas16:02:32

Is there a list of old clojure installer urls? i.e. like https://download.clojure.org/install/linux-install-1.9.0.358.sh

pepas16:02:57

it looks like the parent of that url doesn't support directory listings

pepas16:02:27

(hmm, I could probably use the wayback machine on the clojure homepage)

alexmiller16:02:29

Everything on the changelog should be there