Live data from Hacker News

Clojure Dart

github.com

41–43 of 43 posts

Re: Clojure Dart

#41
post #36

Exciting! Clojure is one of the few modern languages (someone please point out the others!) that you can use on top of any major platform: * web, via Clojurescript * mobile, via React Native * JVM server-side, via reg' ol' Clojure * .NET, via Clojure CLR * microcontrollers, via https://ferret-lang.org/ (seems dead, tho) and now Dart. Of course, being a hosted language has its own pros/cons, but it's truly impressive…

Thanks to babashka also for command line tools and other use-cases (serverless?) where startup time matters: https://babashka.org

There's also NBB (Node Babashka) also by borkdude, which could also be a good option for serverless.

https://github.com/babashka/nbb

Re: Clojure Dart

#42
post #14

It's important to provide context for why this project was created. It's sponsored by Roam Research. Roam Research has a complex web app (a note taking tool) written in Clojure. They also wanted to build a mobile app for iOS and Android. So instead of re-implementing everything from scratch in a new language they sponsored this project to compile Clojure to Dart. That way they can re-use lots of code they've already…

I wonder why they didn’t simply opt to use ClojureScript with React Native. That seems like a much more pragmatic move than creating and supporting your own compiler to Dart just so you can use Flutter.

worth to add that this is a text-based app, there doesn't seem to be a lot of benefit to the flutter way of rendering things

Re: Clojure Dart

#43

Earlier quoted context omitted.

> I love LISP but this is too much to digest What? Is Clojure too much to digest as well? Or ClojureScript? They are basically the same thing as this project, except they compile to JVM/JS code instead of Dart. > Just because you can, you shouldn't do it. Fuck that. If you can, have the time and have the resources, go for it! The world will be a better place if you do it and publish whatever comes out of it, success…

Obviously, you have no experience with flutter SDK and development tools ? Do you ?

Instead of answering with a question regarding my experience, why don't you answer my questions?

It's still unclear to me what actually is hard to digest here. Clojure? Dart? Flutter? ClojureDart?

Post reply on HN