lumo 2018-09-28

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

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

Apologize if it seemed so on my side

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

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

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

@vigilancetech marrying in what way?

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

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

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?

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.

πŸ‘ 1

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

πŸ‘ 1

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.)

πŸ‘ 1

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)?

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.

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

@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.)

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

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

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

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

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