Fork me on GitHub
#lumo
<
2018-09-28
>
richiardiandrea02:09:41

@anmonteiro nobody, me included, said abandoned πŸ™

richiardiandrea02:09:08

Please @viebel let's not spread fud pretty please πŸ˜ƒ

richiardiandrea02:09:35

Apologize if it seemed so on my side

richiardiandrea02:09:26

Super busy for any OSS at the moment except here and there actually

richiardiandrea02:09:41

I should have refrained from writing that post on Reddit, things are always misinterpreted

Yehonathan Sharvit05:09:07

@anmonteiro my goal was exactly to make @anmonteiro clarify that post on Reddit

futuro14:09:30

@vigilancetech marrying in what way?

futuro14:09:32

Wrt to node, lumo runs on node, so that’s pretty well married.

bhurlow15:09:55

@vigilancetech I think you can just (js/require "electron-stuff") as needed from a lumo project

vigilancetech18:09:16

okay, well, obviously I'll have to play with it. I guess I was misperceiving how electron worked. I think I was thinking that lumo ran atop its OWN node interpreter and electron had another one with a DOM/browser. Do "nodes" have their own bytecode somewhat akin to the JVM? Because lumo compiles directly from cljs to a node executable w/o going thru the js stage, right? And that's why its so fast?

mfikes19:09:38

Yeah, Electron is its own thing which runs JavaScript. It would be an interesting idea if instead a modified version were created that directly ran self-hosted ClojureScript source.

πŸ‘ 4
mfikes19:09:23

When in REPL mode, Lumo compiles directly from ClojureScript to JavaScript, evaluating that JavaScript in the V8 engine it is running.

πŸ‘ 4
mfikes19:09:16

Lumo is fast in that is has low latency in starting up. But otherwise, self-hosted ClojureScript, considering raw compilation speed, is slower than JVM ClojureScript. (This is true for both Lumo and Planck.)

πŸ‘ 4
pandeiro21:09:20

Is there a good story for using the Lumo REPL from Emacs? I tried installing inf-clojure, starting a Lumo socket REPL with -d and -n 5555 and connecting to it with M-x inf-clojure-connect and then (setq inf-clojure-repl-type "lumo") (or "Lumo"), but it's still a pretty rough experience. Are there step-by-step instructions somewhere aside from the inf-clojure README (those only got me this far)?

pandeiro21:09:02

I'll clarify what I mean by "rough": hitting Enter with an empty line doesn't read/eval/print/loop; typing a valid clojure.core symbol such as "map" outputs an error "WARNING: Use of undeclared Var cljs.user/Throwable at line 1 ... <+30 lines of stack>" unless I disable company-mode.

pandeiro21:09:24

Usable, just wondering if someone has already smoothened these things out somehow.

mfikes21:09:01

@pandeiro Planck is similar to Lumo in its support for -d and -n so perhaps the instructions at http://planck-repl.org/ides.html are relevant. (I don't use Emacs, so can't vouch for the experience.)

pandeiro21:09:59

Thanks @mfikes I hadn't thought to check the Planck docs

mfikes21:09:24

Yeah, Planck and Lumo are similar in many respects. :)

richiardiandrea21:09:40

@pandeiro I have used that combo for at least one full year

richiardiandrea21:09:56

So please open an issue if you find any I will have a look

pandeiro21:09:37

Thanks @richiardiandrea I will follow up if I make progress or get blocked