Fork me on GitHub
#clojure-dev
<
2021-07-26
>
vlaaad16:07:17

Is Clojure on Dart VM a thing?

vlaaad16:07:27

I think I heard something somewhere..

kenny16:07:30

Baptiste and Christophe are working on that. Not public yet.

cgrand16:07:32

True. We hope to make it public before the end of the year.

clojure-spin 19
vlaaad16:07:07

Sweet! I'm curious if that's going to be possible to have the same UI codebase both for JVM and web

cgrand16:07:08

While dart/web is not our primary goal we have designed hashes and bitops to work with uint32s to be safe.

vlaaad16:07:01

Not sure what that means :) If not dart/web, then what's the main goal if you don't mind sharing details?

cgrand16:07:28

I was confused by the fact that you were talking about the JVM and the web. So I assumed Dart VM and the web. :man-shrugging: Primary goal is mobile. Integers don’t behave consistently on mobile and web (mobile you have int64, web you have whatever JS gives you) so we take care to work at the intersection of both even if dart/web isn’t our main goal. (Edited as the message was sent too early.)

vlaaad17:07:18

Ah, now I see what you mean! I meant running dart inside JVM, not dart vm, quick googling didn't give much results though. I hoped it would be possible to have same UI both for web and JVM without having to deal with ensuring compatibility and sameness in behavior..

cgrand17:07:48

Well in theory with Flutter and CLJDart you should be able to target mobile, desktop and web with a single codebase.