Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Jeaye
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
Jeaye
2y ago
Along the lines of scripting is interactive programming. I'm working on a native Clojure dialect on LLVM with C++ interop, qalled jank. It can JIT compile C++ code, can be embedded into any C++-compatible application, and is a full Clo
122.
▲
by
Jeaye
2y ago
Farseer trilogy, by Robin Hobb. I often read fantasy fiction and someone recommended Hobb for having a joker/fool character along the lines of Wit in Sanderson's Cosmere universe. Well, it turns out Hobb is brutal when it comes to
123.
▲
Heart of Clojure: Announcing First Speakers
(gaiwan.co)
4 points
by
Jeaye
2y ago
|
0 comments
124.
▲
by
Jeaye
2y ago
I definitely asked for it. I'm using Cling for JIT compiling my native Clojure dialect: https://github.com/jank-lang/jank Without Cling, this sort of thing wouldn't be feasible in C++. Not in the way which Cl
125.
▲
by
Jeaye
2y ago
I'm using Cling for JIT compiling my native Clojure dialect: https://github.com/jank-lang/jank Trying to bring C++ into the Clojure world and Clojure/interactive programming into the C++ world.
126.
▲
by
Jeaye
2y ago
No. That in itself shouldn't be a cause for concern. Local users can do anything to their own machines already. It would be a concern if you persist this to then later be loaded by someono else's machine.
127.
▲
by
Jeaye
2y ago
Oh for sure. That's not the tough part. :) jank uses immer for that: https://github.com/arximboldi/immer
128.
▲
jank development update – Lazy sequences
(jank-lang.org)
3 points
by
Jeaye
2y ago
|
0 comments
129.
▲
jank development update – Syntax quoting
(jank-lang.org)
1 points
by
Jeaye
3y ago
|
0 comments
130.
▲
by
Jeaye
3y ago
It does have plugin support: https://koreader.rocks/user_guide/#plugins
131.
▲
by
Jeaye
3y ago
Thanks for building and sharing this! As a feature request, which would likely be the decider for me using this, would you please consider an integration into koreader? As far as I know, koreader is the #1 open source app for ereaders. If a
132.
▲
jank development update – Dynamic bindings and more
(jank-lang.org)
2 points
by
Jeaye
3y ago
|
1 comments
133.
▲
by
Jeaye
3y ago
It's my understanding that The Finals was made using an in-house engine built in Rust.
134.
▲
by
Jeaye
3y ago
Clojure sits on top of the JVM and allows for Java interop, but the language itself does not losslessly encode all of the semantics of Java. Same goes for ClojureScript and the other dialects. The difference here is that the lisp's AST
135.
▲
by
Jeaye
3y ago
I'm not sure if it's doing exactly that, but it looks like it could be! Very neat. It'd be nice to see it for other langs, if Hy proves viability in the approach.
136.
▲
by
Jeaye
3y ago
This is one of the hills to climb when learning a lisp. Seasoned lispers don't edit text, or traverse text; they edit and traverse lisp forms (AST nodes). In my experience, vim/neovim work very well for this, due to their notion o
137.
▲
by
Jeaye
3y ago
I appreciate the shout out to jank, the native Clojure dialect on LLVM with C++ interop. :) Lisp has such a colorful history and Clojure, in my opinion, made it even more accessible and practical. People complain about Clojure's error
138.
▲
by
Jeaye
3y ago
There will be a lot of room for this, once I build out more of the features. In particular, there will be a lot of Clojure libraries which need to gain jank support. Clojure doesn't require "porting", so to speak, since it ha
139.
▲
by
Jeaye
3y ago
The shameless plugging pays off! One more HN reader converted. :D Check it out, join our Slack, and stay tuned. jank's still under heavy development right now, and not ready for AOC this year, but it's getting close. The blog is t
140.
▲
by
Jeaye
3y ago
Exactly as nlitened mentioned, Clojure has a few difference reference types, which are boxes that hold pointers to more immutable values. The values within those boxes can be changed transactionally. This allows for cyclical references.
141.
▲
by
Jeaye
3y ago
I'm using C++ to build jank, a native Clojure dialect on LLVM with C++ interop. All of Clojure's runtime objects are dynamically allocated and the churn of reference counting is far too slow, compared to garbage collection. I had
142.
▲
by
Jeaye
3y ago
I have been using the Boehm-Demers-Weiser GC for jank [1], the native Clojure dialect on LLVM with C++ interop. Since jank is a Clojure dialect, and Clojure is built primarily on persistent, immutable data structures, there are potentially
143.
▲
by
Jeaye
3y ago
I find myself writing a great deal of C++ these days, building jank (the native Clojure dialect on LLVM with C++ interop). Even with modern practices, and Rust-like semantics (i.e. `result<R, E>`, `option<T>`, etc), every large
144.
▲
by
Jeaye
3y ago
I understand that frustration. Fortunately, Clojure (and jank) gets around this entirely. Functions can be redefined at any time, even with different signatures, globals as well. References to the will stay intact and will use the latest va
145.
▲
by
Jeaye
3y ago
Folks interested in this should absolutely look at the open source Cling project, which uses Clang/LLVM to JIT compile C++ in-process. https://github.com/root-project/cling I'm using Cling, as part of jank, a
146.
▲
jank's new persistent string is fast
(jank-lang.org)
4 points
by
Jeaye
3y ago
|
0 comments
147.
▲
by
Jeaye
3y ago
Ah, I'm familiar with Alexandrescu. Thanks for this suggestion!
148.
▲
by
Jeaye
3y ago
Perfect. Thank you!
149.
▲
by
Jeaye
3y ago
I'm hijacking a bit, but one thing I've been really wanting is some advanced optimization material for C++. There's so much that goes into data locality, branch elimination, faster ways to copy word-aligned data, and so on. I
150.
▲
jank development update – Module loading
(jank-lang.org)
2 points
by
Jeaye
3y ago
|
0 comments
More ›