Joy: Web framework with Clojure syntax, fast startup and low memory usage
joyframework.com
joyframework.com
What I'm really missing from spec is ability to disable it with flag or property, like "assert" macro. Sometimes I just want piece of code to run as fast as possible with less bytecode and instructions executed.
So doing `export JANET_PATH=$pwd/packages` would put them into `./packages` from your current working directory.
I decided not to use my beloved Clojure and re-frame because it seemed like I was going to end up wrestling with Three's imperative API.
Others inclined toward projects like the OP and the Clojure ecosystem more generally: how have you approached similar projects before? Where there's a very non-Clojure-native library that will be critical?
I ended up with TypeScript, React, and Redux instead of re-frame.
Started playing around with Arcadia which is Clojure-CLR + Unity3D tooling/library. Basically used for make some interactions with the Unity3D framework easier.
While most of the code is using interop, having the repl flow is something that for me, after using Clojure professionally for a while, is really really hard to give up. I've tried getting into game development before, but the slow iteration cycles on "make change -> save -> do thing to test" just sucks all the fun out of it.
If I were to use Three.js in a project, I'd approach it the same way. As I try to stay far away from any other languages, I'd write a small layer between my CLJS code and the Three.js API, the smaller the better, and then use that.
Because giving up on being able to eval whatever and having access to a repl is not worth it in the projects I work with.
Basically, any hurdle (like basing my project around a non-CLJS library) is easier to overcome than having to deal with something like TypeScript again.
Seems the inspiration for the name comes from The Good Place, and the logo seems different enough that they won't sue the owner of the project, as the face in the logo is not that similar to Janet from the TV show.
> Why Janet? Janet is named after the almost omniscient and friendly artificial being in The Good Place
Anyone know if there’s a preferred way to implement this?
Clojurescript is not some kind of scripting language on top of clojure, it is the clojure language that compiles to JavaScript, usually for running on the front end.
Being super pedantic (probably unnecessarily), it's the Clojure syntax for a subset of the Clojure language, plus some additional syntax and functionality specific to JavaScript interop.
What's weird to me about this one is that it's "with Clojure syntax" but isn't just a ClojureScript library? I guess the Lisp syntax makes the parsing step easy, at least.
Any plans for auth? It is a weakness of a lot of web frameworks.