News for hackers. Stuff that matters.
Re:Thoughts on Clojure UI framework by mosdl on Thursday September 09, 2021 @02:30PM (#28472985)
Hates on Electron and bloat, but is fine using vdom which also adds memory bloat? Seems like a wierd combo.
Re:Thoughts on Clojure UI framework by didibus on Thursday September 09, 2021 @07:02PM (#28475722)
I wouldn't say the OP hated on Electron, they provided criticism:

    - lack of threads
    - stuck using JavaScript
    - can't do your own layout
    - can't render 144Hz animation
    - adds 150mb to app bundle
    - memory hog
Apart for the last two, I think he's approach would solve those problems.
Re:Thoughts on Clojure UI framework by speedgoose on Friday September 10, 2021 @12:57AM (#28477957)
My experience playing the Java Minecraft tells me that it's going to be a challenge to render smooth and consistent animations on top of the JVM. The garbage collector tends to create huge frame drops. And 144Hz and more is definitely possible in Chrome/Edge.
Re:Thoughts on Clojure UI framework by kaba0 on Friday September 10, 2021 @10:35AM (#28482142)
Minecraft is (used to be?) a badly optimized game, you can hardly take away any conclusion from that.

And the JVM has multiple of the best GCs out of any runtime, with a specific low latency one which promises <1 ms stops, at which point the OS’s scheduler will have more latency. Also, it’s not like JS is not a GCd language..

Re:Thoughts on Clojure UI framework by honko on Thursday September 09, 2021 @02:38PM (#28473072)
I imagine the bloat from a vdom vs the bloat from chromium is somewhat different.
Re:Thoughts on Clojure UI framework by zerr on Thursday September 09, 2021 @03:38PM (#28473757)
The bloat from the JVM...