planck

Planck ClojureScript REPL
tianshu 2019-05-11T13:11:17.009700Z

it tooks a long time to compile planck:joy:(install on archlinux)

tianshu 2019-05-11T13:11:21.009900Z

still in the stage 2

mfikes 2019-05-11T13:11:46.010300Z

@doglooksgood One thing you can do is script/build --fast

mfikes 2019-05-11T13:12:10.010800Z

(That skips the step where it applies :simple optimizations to the bundled code.)

tianshu 2019-05-11T13:13:12.011900Z

emm, I'm installing using archlinux package manager. I can still wait

tianshu 2019-05-11T13:13:23.012200Z

why there're stages

tianshu 2019-05-11T13:13:36.012500Z

is some optimizations or something?

mfikes 2019-05-11T13:13:58.012800Z

This describes why there are stages: https://blog.fikesfarm.com/posts/2016-02-03-planck-macros-aot.html

tianshu 2019-05-11T13:16:29.013Z

clearly

tianshu 2019-05-11T13:38:03.014300Z

@mfikes is there a prebuild release to download?

mfikes 2019-05-11T13:38:42.014800Z

Not for Arch, as far as I know. There are binaries for Ubuntu available as PPA.

tianshu 2019-05-11T13:44:05.015700Z

okay, I was thinking the binaries for different linux distro should be the same.

mfikes 2019-05-11T13:46:52.018100Z

Sometimes it is possible to pull that off, but they tend to link to different things. For example on Ubuntu 14 Planck links to the JavaScriptCore available on that OS (JavaScriptCore 3), but on Ubuntu 16 it links to JavaScriptCore 4. And with NixOS, things are crazier. Anyway, I saw a recent talk where Linus harps on the binary compatibility problem as being the primary reason Linux is failing to gain traction as a mainstream desktop OS, with him blaming the distro folk, FWIW.

tianshu 2019-05-11T13:48:56.019100Z

ok, I decide to build from source. since the one on AUR is not the lastest version. thanks for the help!

mfikes 2019-05-11T13:49:15.019400Z

Ahh, cool, is there a version of Planck on AUR?

mfikes 2019-05-11T13:49:44.019800Z

Ahh, I see it there. Maybe whoever maintains it could rev the version.

mfikes 2019-05-11T13:50:15.020Z

Oh, it got orphaned... hrm.

tianshu 2019-05-11T13:52:06.020300Z

yes, there's one on AUR but it still 2.19

mfikes 2019-05-11T13:52:57.020900Z

I don't know how AUR works. With Homebrew, for example, anyone can update the formula to the latest.

mfikes 2019-05-11T13:57:55.023200Z

@doglooksgood There is a Debian build I make, maybe its binary would work for you.

tianshu 2019-05-11T13:58:37.023900Z

I'm on the way building on my machine.

tianshu 2019-05-11T13:59:33.025300Z

one more thing I want to know about compatibility.

tianshu 2019-05-11T13:59:49.025700Z

is the kernel version matter?

mfikes 2019-05-11T14:01:00.027200Z

It could. That's why I just throw in the towel and build for the target box. ๐Ÿ™‚

mfikes 2019-05-11T14:01:28.027800Z

Lumo, on the other hand, makes a cross-distro binary.

tianshu 2019-05-11T14:01:40.028100Z

that's a big problem, archlinux user may use different kernels

mfikes 2019-05-11T14:02:04.028800Z

There isn't really anything kernel-specific in Planck... it is fairly portable code FWIW.

tianshu 2019-05-11T14:02:36.029200Z

I was wondering if I can upload binary to AUR, current orphans repo is building from source.

mfikes 2019-05-11T14:04:22.030200Z

I know that PPA's insist on being built from source on the Ubuntu build boxes. That way things are a bit more secure / inspectable / reproducible, etc. Taking a binary from someone brings in lots of issues ๐Ÿ™‚

mfikes 2019-05-11T14:04:39.030600Z

For example, with that Debian binary above, you essentially have to trust me.

mfikes 2019-05-11T14:05:15.031400Z

With the PPA, you can see all the source, etc.

mfikes 2019-05-11T14:06:25.032600Z

There is a "Flag package out-of-date" link on the AUR page. Maybe you can poke the maintainer that way. ๐Ÿ™‚

tianshu 2019-05-11T14:07:03.033200Z

but a lot things on AUR usually have two version.

~ ยป yaourt planck
1 aur/planck 2.19.0-1 (3) (0.07)
    A stand-alone ClojureScript REPL
2 aur/planck-git r1579.47b9eec-1 (2) (0.00)
    A stand-alone ClojureScript REPL

mfikes 2019-05-11T14:29:03.034200Z

@doglooksgood FWIW, I just built Planck on ArchLinux 2019.04.05 and it passes all tests. โœ…

mfikes 2019-05-11T14:44:49.034800Z

Since these take so long to build, maybe I'll put binaries for a few popular OSs up on the Planck REPL website.

tianshu 2019-05-11T15:24:38.035100Z

@mfikes that will be really nice.

tianshu 2019-05-11T15:25:27.036Z

there's a growth popularity on archlinux, manjaro linux is really popular.

mfikes 2019-05-11T15:26:52.036600Z

Cool. @doglooksgood I think I'll put together a "binary downloads" page with prebuilt binaries. That might be usefult.

๐Ÿ‘ 2
1
mfikes 2019-05-11T17:28:46.037700Z

@doglooksgood Hopefully this helps: https://planck-repl.org/binaries/

tianshu 2019-05-11T17:44:54.038Z

great, downloading

tianshu 2019-05-11T17:57:55.038300Z

@mfikes It works

mfikes 2019-05-11T17:58:00.038500Z

Cool!

tianshu 2019-05-11T17:59:04.039300Z

wondering if rebel-readline-cljs will be used in the next release of planck. see the issue on github:star-struck:

mfikes 2019-05-11T17:59:54.039700Z

Well, it can't directly. (It is written in Clojure.)