News for hackers. Stuff that matters.
Re:Clojure Web Development Evolved [video] by valbaca on Friday July 29, 2022 @09:21PM (#32283477)
You might be more interested in this video:

https://www.youtube.com/watch?v=3HxVMGaiZbc

"ClojureScript in the Age of TypeScript — David Nolen"

Skip to 30:00 for the live coding demo: https://youtu.be/3HxVMGaiZbc?t=1800

Re:Clojure Web Development Evolved [video] by ilrwbwrkhv on Friday July 29, 2022 @10:07PM (#32283676)
Ok this is excellent stuff.
Re:Clojure Web Development Evolved [video] by inferiorhuman on Saturday July 30, 2022 @01:36AM (#32284524)
Meh. ClojureScript is just as leaky as Clojure. Clojure brings all the XML pain of Java dependencies and slow start times, ClojureScript gets callback hell. They're fantastic languages but I couldn't help but wonder if there were a better VM to base them on.
Re:Clojure Web Development Evolved [video] by robertfw on Saturday July 30, 2022 @02:25AM (#32284748)
What XML pain are you referring to? It's not something I've had to deal with in ~3-4 years of professional Clojure work

The slow start times are meaningless for long lived servers, which Clojure is best suited for. For fast startup time there is now Babashka which is great for many tasks, and GraalVM as another option.

Re:Clojure Web Development Evolved [video] by kaba0 on Saturday July 30, 2022 @04:57AM (#32285342)
Where the hell do you see XML in java development anymore, let alone in Clojure?
Re:Clojure Web Development Evolved [video] by dekelpilli on Saturday July 30, 2022 @11:23AM (#32287505)
Presumably in Maven POM files for Java
Re:Clojure Web Development Evolved [video] by heretoo on Saturday July 30, 2022 @03:29AM (#32285006)
> ClojureScript is just as leaky as Clojure

By leaky, I assume you are refering to the interop with the host platform. Overall, this seems like a benefit, simply for having access to many more libraries than would otherwise exist in Clojure(script).

> Clojure brings all the XML pain of Java dependencies

Do you mean pom.xml?

> better VM

The JVM seems extremely powerful with regards to performance and memory management, with 20+ years of backwards compatibility (mostly), and improvements still being made with GC and JIT.

Re:Clojure Web Development Evolved [video] by jffry on Saturday July 30, 2022 @09:08AM (#32286490)
> Clojure brings all the XML pain of Java dependencies

You don't have to use pom.xml for Clojure projects. The default, included-with-the-clojure-cli support to define your dependencies in deps.edn makes dependency management extremely simple

  ;deps.edn
  {:deps {org.postgresql/postgresql {:mvn/version "42.4.0"}}}
Re:Clojure Web Development Evolved [video] by jgalt212 on Saturday July 30, 2022 @08:01AM (#32286134)
and React brings all the XML pain into HTML templates.
Re:Clojure Web Development Evolved [video] by yogthos on Saturday July 30, 2022 @08:15AM (#32286200)
And Reagent removes all that pain in ClojureScript https://reagent-project.github.io/