Great talk, thanks for all this wisdom - pure gold distilled here. Wishing you luck and success in your current mission. 🇺🇦
@aloha_holahola Жыл бұрын
Londrina Solid and clojure backends! This is my jammmm!
@nem0ra Жыл бұрын
nice talk! , questions: 1) do you have a fancy way to live-add :deps or was your deps.edn pre-prepared? and 2) any particular reason for the java-class, has it better performance than proxy/proxy-super ?
@AlexanderYakushev Жыл бұрын
Thank you! 1. In this demonstration, I had all the necessary dependencies in place ahead of time. But I, in fact, indeed have a fancy way to add dependencies on the fly. It is quite brittle at the moment, so I can't really recommend it. However, this is about to change since the latest version of Clojure ships some functions for dynamic deps loading, so we will have an official way to do that soon. 2. I planned to show the proxy solution too but had to cut it out due to lack of time. Calling proxy-super brings noticeable overhead because it calls `update-proxy` internally and modifies some immutable maps. You are welcome to try for yourself! I think, gen-class could be used here for the same performance as pure Java solution, but I also wanted to use this as a usecase for showing off Virgil.