What does HackerNews think of clojure-scheme?

Clojure to Scheme to C to the bare metal.

Language: Clojure

For me it's microcontrollers, however I've heard in spite of the unmaintained status, clojure-scheme[1] is very usable. It uses gambit to produce C-code you can compile anywhere.

https://github.com/takeoutweight/clojure-scheme

> But wouldn't it make more sense to first rewrite Clojure itself in some small/minimal scheme-y subset of Clojure

How about Scheme?: https://github.com/takeoutweight/clojure-scheme

Note that this project is unmaintained and the last updates are ~10 years old.

Yes, at least one, and I don't know how well it works. But here it is:

https://github.com/takeoutweight/clojure-scheme

There have been some that target C. I haven't looked into them other than searching for them.

- https://github.com/takeoutweight/clojure-scheme

- https://news.ycombinator.com/item?id=4217898

Clojurescript is the more "all the way down" of the two. It managed to self-host a few months ago so in theory you could write a backend and cross compile to your computing platform of choice. I know of a number of alternative targets but they all predate the self-hosting and none are actively maintained:

[1] https://github.com/takeoutweight/clojure-scheme [2] https://github.com/raph-amiard/clojurescript-lua

I think it'd be a fun project to get cljs-lua working and build a system for developing OpenResty apps but it's so low on my priority list I don't anticipate ever making it happen.

For the native target, LLVM might not necessarily be the best choice. clojure-scheme [1] is an interesting approach, there might be some other suitable target that produces native executables as well.

1. https://github.com/takeoutweight/clojure-scheme