News for hackers. Stuff that matters.
Re:Tiny Treeshaker: JavaScript tree shaking in 200 lines of ... by geokon on Tuesday June 29, 2021 @08:13AM (#27674743)
That's an important distinction. I guess my annoyance is mostly cosmetic. The app is pretty small and does a simple data processing task. Had I written the app in C++ it would have been a couple of megabytes (and it would have taken me 10 times longer to write..). But with Clojure/Java/JVM/jdeps it comes out as some monstrous 100MB installer. It just feels a bit gross ...

End user apps are second class citizens on the JVM (except weirdly on Android.. but they're in a weird bubble of their own)

Re:Tiny Treeshaker: JavaScript tree shaking in 200 lines of ... by kaba0 on Tuesday June 29, 2021 @09:46AM (#27675708)
Perhaps give native compilation a try? Not sure how well does it work with Clojure, but that might shrink the app size a bit as well?