5 ms·
I'd use cljs for Serverless architectures. There's JVM support in e.g. AWS Lambda, but JS is a more popular and lightweight target.
by vemv 9y ago
I'd use cljs for Serverless architectures. There's JVM support in e.g. AWS Lambda, but JS is a more popular and lightweight target.
- frou_dh 9y ago"MACCHIATO: ClojureScript arrives on the server" Perfect for "Serverless" I want off this ride!
- vemv 9y agoServerless stacks do run on servers, and on node.js in this case.
- frou_dh 9y agoWe're drowning in obfuscation.
- benatkin 9y agoIt's on the server side, but you don't manage any servers. Serverless means you don't manage any servers, directly or indirectly. It's a step further towards where you don't own any servers. It's part of an evolution that has gone from being more aware of servers to being less aware: on-site servers -> colocated physical servers -> dedicated servers -> virtual private servers -> cloud virtual private servers -> autoscaled cloud VPS -> cloud functions where you you aren't billed by, or even aware, of the number of servers running I don't think "serverless" is a terrible term.
- vikeri 9y agoHow's that working for you compared to vanilla node on serverless? And are you using it for an API or just minor services?
- vemv 9y agoThanks for the question but I haven't tried it myself (yet). With Clojure(Script) whole categories of complexities tend to disappear, so I'd expect that to be the case in this scenario too.
- _sdegutis 9y agoThat seems strange. Having used clojurescript and clojure in production for years, it’s a very niche language that only makes sense for a small subset of use cases, similar to elm’s story. And all of those use cases benefit from the JVM specifically. The slimmer node environment is not a plus in situations when clojure or clojurescript would make sense.
- nogridbag 9y agoAs someone learning Clojure, I'm curious why you feel Clojure is not applicable to most use cases. From an outsider's perspective, it seems like a great fit for most enterprisey type applications which seem to make up the majority of apps. Would love to hear more about your experience with Clojure.
- vemv 9y agoClojure(Script) is a general-purpose language.