3 ms·
I wonder if there's any interest from the ClojureScript community in pairing it with Deno for an easy-to-deploy Clojure alternative.
by andrenth 5y ago
I wonder if there's any interest from the ClojureScript community in pairing it with Deno for an easy-to-deploy Clojure alternative.
- diggan 5y agoGuess I'm a part of the ClojureScript community, what exactly would Deno bring me? Seems Deno is just NodeJS + TypeScript so little to gain there. Dependency management is even worse in Deno than NodeJS as well, something I didn't think I'd see in my lifetime. It hardly gets easier than deploying JAR files either, even for someone like me with 0% Java experience.
- andrenth 5y agoWell, you'd get single binary deployment with no other requirements on the server using deno compile [1]. I understand there is an alternative for that with GraalVM, but Deno feels more lightweight. [1] https://deno.land/manual/tools/compiler https://deno.land/manual/tools/compiler
- diggan 5y ago> no other requirements on the server Seems not quite right, the binary does have some dependencies at least. It's no Java, I give you that. $ deno compile https://deno.land/std/examples/welcome.ts Check https://deno.land/std/examples/welcome.ts Bundle https://deno.land/std/examples/welcome.ts Compile https://deno.land/std/examples/welcome.ts Emit welcome $ ldd welcome linux-vdso.so.1 (0x00007ffefc6de000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fc154c63000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc154c48000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fc154c3d000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc154c1c000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fc154ad8000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fc15490c000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fc1586b2000) The question is, is it worth using Deno just because it can produce binaries? For me, it's not. If I want that I'd go for Golang or Rust, but in general I just want it to be simple to program and maintain, so I always go for Clojure and ClojureScript as both are miles ahead any other programming language I've tried. TypeScript would probably be in the bottom of languages to use :)