Live data from Hacker News

Show HN: I made a Clojure-like language in Go, boots in 7ms

github.com

91–100 of 106 posts

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#91

Amazing that it can run in plan9! It would be awesome if go was a first class language on 9front. I.e. ships with it. I've been messing around with a social network for plan9: https://youtube.com/watch?v=q6qVnlCjcAI&si=MBCeM0QdA0WsKAe7 It's all in rc and awk. There are places where go (or clojure!) would have been nice.

I started publishing amd64 and arm (32) binaries for Plan 9 in GH releases. I tested the amd64 one on 9front and everything seems to work. The CLI is not very Plan9-y but I'm happy to make the port more native at some point :)

Ah, awesome!

I'll head over to the releases.

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#93

Earlier quoted context omitted.

That does look pretty good. I don’t love the mixing of PascalCase / camelCase and snake_case, though.

Thats just a pragmatic design decision for Go interop, as Go went nuts with public being UpperCase. Theres no camelCase tho? Snake case and PascalCase fir Go modules interrop.

“let data = io.ReadAll(file)?”

That’s Pascal case any way. Looks sort of camel case with the “io” being lower case.

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#94
post #89

Earlier quoted context omitted.

Naming is hard but I like let-go, it's a layered pun :) (let [...] (go ...)) It lets you let in Go! Clogo is a no-go for me. Maybe you have some other ideas? I'll consider good ones :)

Gojure is simplest. Just a bit close to Glojure which is already taken. Goclo, Gophoj,Gorjure ..ok my tongue is paining now verbally trying out combos.

Changing name to Gojure now would only add to the confusion :D

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#95
post #89

Earlier quoted context omitted.

Naming is hard but I like let-go, it's a layered pun :) (let [...] (go ...)) It lets you let in Go! Clogo is a no-go for me. Maybe you have some other ideas? I'll consider good ones :)

Gojure is simplest. Just a bit close to Glojure which is already taken. Goclo, Gophoj,Gorjure ..ok my tongue is paining now verbally trying out combos.

Actually, look what I just found https://github.com/tcard/gojure 12 years!

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#96

Earlier quoted context omitted.

Thanks! Joe looks good! As for Janet - never tried it myself but I always thought it's doing its own thing instead of trying to be Clojure.

While Janet pulls from a few inspirations, the syntax is pure Clojure. I always figured that it was trying fix up the bumpy parts in Fennel to enable a programming style that was more consistently Clojure-like and functional than could be done in Fennel, since Fennel ultimately has to use Lua's semantics because Fennel compiles to Lua.

It's a bit harder as Fennel can produce pure functions, whereas basically everything in Janet's standard library outputs mutable structures etc. Janet style tends towards (elegant) imperative programming.

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#99
post #37

Earlier quoted context omitted.

You need to update the go-joker numbers, I removed the GIL yesterday or so and did some changes to the IR. ;)

I think I've pulled the latest today but will double-check and update them again tomorrow. I'm still puzzled why it doesn't run the tak function. Btw. Have you tried running my benches? I'm very curious about your results!

I got tak fixed. There was an internal logic error, IIRC. A bunch of stuff got done.

Re: Show HN: I made a Clojure-like language in Go, boots in 7ms

#100
post #39

Nice! I recently played around with a Lisp syntax for Go semantics: https://codeberg.org/veqq/Joe As far as JVM-free Clojure-like, Janet is really nice. I've been using it in production for a while: https://janet-lang.org/ There's also Fennel if you want the Lua vm and libraries.

For what types of work do you Janet in production?
Post reply on HN