ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • How To Package A Clojure Desktop App For Mac
    카테고리 없음 2020. 3. 1. 22:49

    I had a pretty good experience using the template. I would recommend going with the Electron approach for a number of reasons. Being able to use reagent/re-frame to develop the UI is extremely nice. It also means that you can reuse the UI for a web version of the app if you need one. Electron starts up fast, and uses less resources than the JVM in many situations. This will likely lead to a better user experience for your app. While you can't leverage the JVM ecosystem with ClojureScript, the Node.js ecosystem is quite large as well, and I find that you can quickly find libraries for pretty much anything you need using it.

    1. How To Package A Clojure Desktop App For Mac Free
    2. How To Package A Clojure Desktop App For Mac Download

    It also means that you can reuse the UI for a web version of the app if you need one. Electron starts up fast, and uses less resources than the JVM in many situations. This will likely lead to a better user experience for your app. A good option is to have Clojure code dynamically implement an aleady-compiled Java interface via reify. I've found it pretty easy to develop and package an app in a single jar containing both Clojure and Java code using Eclipse/Maven. The Clojure code can simply be put in src/main/resources and gets loaded / compiled at runtime.

    How To Package A Clojure Desktop App For Mac

    Note that ClojureScript support for core.matrix is still. I'm not sure what the performance of linear algebra libraries for node is like unfortunately. There are some mature libraries such as though.

    I found the REPL experience to be pretty good using Figwheel. I'm currently working on a, and I have Fighweel set up in the template. Basically, the way it works is that Fighweel starts the nREPL server you connect to. Then, you bootstrap ClojureScript REPL from there. Once you've done that, it works pretty much the same way as the regular REPL.

    The code for starting the ClojureScript REPL, and the Figwheel config for it.

    Which technologies from the clojure ecosystem can be recommended to develop a standalone desktop application? The technology I am looking for should have support for. access to the local file system (e.g file dialogs). access to the web via http/https.

    support for updating the desktop application. async support (running multiple threads). cross platform (no need for smartphones though). interop support to native libs (not 100% required, but it's a risk if it doesn't have support for it).

    How To Package A Clojure Desktop App For Mac Free

    reasonable ecosystem. I need to validate xml files to xsd's, eventually I need to make some linear algebra calculations. The following alternatives come to my mind: clojure/seesaw:. requires java runtime. standard swing look/feel might be a disadvantage.

    How To Package A Clojure Desktop App For Mac Download

    robust java platform. huge ecosystem. interop support is not an issue. core.async clojurescript/html5/css:. can be used with node-webkit or appjs to deliver standalone desktop app. flexible look/feel via css.

    robust platform. smaller ecosystem. What about handling xml files or support for math libraries?. interop support might be an issue. Can i call e.g.

    Native libs from node-webkit?. single threaded enviroment, what about async support?. unclear how to update the application. Pedestal. simplifies developing the application architecture.

    not sure it can be deployed as node-webkit app or appjs.

Designed by Tistory.