Clojure Hosted on Go
21–28 of 28 posts
Re: Clojure Hosted on Go
#22Re: Clojure Hosted on Go
#23Re: Clojure Hosted on Go
#24From what I can gather from the site it has no security or sandboxing features. Or am I missing something? I'm asking because I'm thinking about R7RS Wile scheme[1] as an embedded language, which has some basic security features. But it's heavily vibe-coded and that puts me off a bit, so I'm looking for other Lisp or Scheme dialects in Go. [1] https://github.com/aalpar/wile
A Go executable is self-contained. You can put it in a Docker container with very little overhead. That would give you some sandboxing at least.
Re: Clojure Hosted on Go
#25Re: Clojure Hosted on Go
#26From what I can gather from the site it has no security or sandboxing features. Or am I missing something? I'm asking because I'm thinking about R7RS Wile scheme[1] as an embedded language, which has some basic security features. But it's heavily vibe-coded and that puts me off a bit, so I'm looking for other Lisp or Scheme dialects in Go. [1] https://github.com/aalpar/wile
My current choice of Go interpreter for untrusted code is Starlark in Go (https://github.com/google/starlark-go/). Since Starlark is a dialect of Python, it's occurred to me it might be fun to put a Hy-like (https://hylang.org/) layer on top.
Re: Clojure Hosted on Go
#27I believe this is the most promising Clojure hosted on Go, as their has been a few recently, this is the only one with full proper interop.
https://github.com/nooga/let-go has been making huge leaps in terms of perf and interop since its launch.
> I think Gloat/Glojure has the best hosted runtime story because of its AOT to Go src pipeline - you can grab anything Go at compile time. OTOH let-go can roundtrip any Go value including structs, functions and channels but it does not allow pulling arbitrary go libs without wrapping them up first - they'd need to be built into the runtime for this.
Re: Clojure Hosted on Go
#28There’s also typed fp on Go: https://lisette.run/ The Go runtime, toolchain, and ecosystem are great- it makes sense to target it.
Looks like a nice language. They market it as a Rust-like looks more like an ML to me.