chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
2019-09-19T01:50:28.066800Z

at what point do you all have scrolling perf issues with atom?

2019-09-19T01:50:38.067200Z

not sure if it's my config or an atom issue.

seancorfield 2019-09-19T01:53:58.068200Z

@gerred I find it can be a bit laggy if I've switched away and been doing a bunch of other stuff, and then switch back to Atom... but it soon seems to perk up and be responsive again. Can you be a bit more specific about what you're seeing?

2019-09-19T01:54:47.068700Z

yeah, I'm in a 120 line file right now and it's noticeably just...less fluid (lower FPS?) than scrolling in vscode or emacs.

2019-09-19T01:55:02.069Z

with actually fewer visual signals, I just turned off indent guides to see if that would help

2019-09-19T01:55:21.069400Z

atom is slower on display for sure, but this doesn't feel like a huge file.

2019-09-19T01:55:55.069700Z

might actually be rainbow-delimiters come to look at it.

✔️ 1
seancorfield 2019-09-19T01:58:53.070Z

Ah, yeah, rainbow delimiters is nasty like that.

seancorfield 2019-09-19T01:59:24.070700Z

I've installed it and quickly uninstalled it again multiple times, hoping it will get better... sufficiently better that I can live with it.

2019-09-19T14:27:53.072Z

@mauricio.szabo I'm thinking for portability and raw performance's sake I'm considering doing replacement core lib for paredit/parinfer exported as WASM.

2019-09-19T14:28:30.072600Z

i'll spike it out in cljs and once we have a good ruleset, do it in rust+wasm, and then we can import that into lisp-paredit-redux via shadow-cljs and chlorine for you to consume

2019-09-19T14:29:32.073300Z

there's already a rust-based parinfer doing this and it can be built w/ wasm: https://github.com/eraserhd/parinfer-rust

2019-09-19T14:30:37.074300Z

and then maybe convince @pez to pull in some sweet performant wasm action too for some of that in Calva. once GraalVM ships with wasm support we could always pop it back into cljs entirely. 😉

mauricio.szabo 2019-09-19T14:34:19.075100Z

Is there a considerable performance improvement on using WASM over Electron?

2019-09-19T14:36:01.075300Z

you'd use electron still

2019-09-19T14:36:16.075700Z

but you'd bring in a WASM module instead of a JS one and get near native speed for that particular module.

2019-09-19T14:40:59.076200Z

i think with shadow-cljs and a webpack addition you'd be able to directly require that wasm module and benefit from the performance, but get the JS-level exports out of it.

2019-09-19T14:44:46.077Z

i do want the same general editing libs available in multiple worlds since I'm using both socket repl and nrepl depending on my mood and what I'm doing. 😉

mauricio.szabo 2019-09-19T14:51:51.077100Z

Just for the record, it is really easy to add nREPL protocol to Chlorine, if you want 🙂

mauricio.szabo 2019-09-19T14:54:31.077300Z

But I've asked about the WASM because I know that some old versions of electron had some issues with WASM, and Atom's electron version is kinda old...

2019-09-19T14:55:28.077500Z

fair. 😄 yeah, I don't want to. @seancorfield has convinced me on doing the simplest thing possible with clojure tooling for situations, but that's an aside haha.

2019-09-19T14:55:29.077700Z

oh sure.

2019-09-19T14:55:34.077900Z

it just hit electron 4

2019-09-19T14:55:46.078100Z

😞

mauricio.szabo 2019-09-19T14:56:03.078300Z

Oh, well... Atom is on 3.1 yet...

2019-09-19T14:56:26.078500Z

no i mean atom is 4.0.0 now isn't it?

2019-09-19T14:56:33.078700Z

as of 1.40.1

2019-09-19T14:56:46.078900Z

ohh

2019-09-19T14:56:49.079100Z

1.41 is electron 4.x and that's still a beta

2019-09-19T14:56:51.079300Z

darn.