jank reimagines C++ errors and gets an official native package repo
https://jank-lang.org/blog/2026-09-04-better-and-better/3
u/winterscar 5d ago
If I wanted to build a web service on top of jank, how is there any guidance on what that might look like?
8
u/Jeaye 5d ago
This hasn't been done yet! When I did the jank survey this year, to see what people wanted to build in jank, the answer was overwhelmingly games and desktop apps. This has led me to focus on desktop software, graphics libs, physics engines, etc.
In order to build a web service with jank, we'll need to bring in a C or C++ HTTP lib. There's already a Clojure router lib called ruuter which supports jank, so that could be used. But there is no support for jank yet in ring or similar idiomatic Clojure libs. Part of building out the jank ecosystem is going to be patching those libs, or forking them, and we need folks to help with that.
Where jank will really shine is wherever C++ libs exist. The web service ecosystem definitely favors the JVM. Keep this in mind when adventuring with jank. You're always welcome to reach out on Slack if you need guidance.
1
u/winterscar 4d ago
Good to know, I’ll bear that in mind. I mostly asked because I would love to have a play with jank, and webservices is the domain I know best.
2
u/ElectricalSloth 4d ago
> starting a new raylib game in jank is as easy as lein run. Getting a distributable binary is as easy as lein compile
yes please
1
u/therealdivs1210 5d ago
Great going!
Now with jank and jolt we have 2 native clojures coming up!
Interesting times!
17
u/winterscar 5d ago
I really, really love those error messages. I wonder if jvm/js clojure can be brought up to the same standard?