What is better for an HTTP server? Clojure or Clojurescript + Node.js?
Discussion
Also consider Babashka for a simple server. Clojure for a more advanced server.
I would look at Clojure + ring first, less things to think about.
Clojure isn't worth bothering with. Check out the article where Discord used Rust to speed up a Clojure data structure. Why bother with Clojure when you can use Rust directly and still get the same level of type correctness? I'd recommend Tokio + Axum server for a modern app. Dioxus for frontend.
Axum 🤌🏻 *chefs kiss*
Haven’t checked out Dioxus recently, is it suitable for production? I looked at Yew and Leptos a while back. Wasn’t convinced they’re mature enough to replace Vue in my commercial project
I've been following Dioxus for a year now, and I'd say it's more production-ready than I've ever seen it. I'll have to try it out again in our BitMask wallet at some point, but I would recommend it over Yew and Mogwai. Never used Leptos. Iced is cool, and I would really like to try that first, but my fallback would be Dioxus.
Ktor 😎
what's the purpose of the http server? depends i would say
Geez. I’m old school. LAMP stack with NGINX as a proxy.
Httpkit works in both and is a lot less arcane than ring (but compatible I believe)
Don't understand how people use clojure, syntax looks cancerous
don’t let #[4] hear you say that
Oh son... son. Clear your mind and feel the power of the force!
>From: Jack1<-mikedilger at 02/24/23 07:10:37 on wss://filter.nostr.wine/npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft?broadcast=true
>---------------
>Don't understand how people use clojure, syntax looks cancerous
Poll Result: Rust 100%
How about Openresty? Nginx + Lua.
To me it depends on which ecosystem has the libraries that will best help me accomplish what I am working towards. And perhaps which concurrency model you want to work with if that matters.
Does Clojurescript run on Bun?
The clojure HTTP ecosystem is easier to grasp.
Clojure script is really good, but add more layers of complexity.
Just a warning: once you feel the power of the parenthesis and data as code, there’s no way back.
Take a look in the channel “on the code again” in YouTube for some really nice videos
F… code as data**