Better HN
topnewbestaskshowjobs
Log inSign up

Borkdude

1,857 karma · joined Dec 11, 2011 (14y ago) · 316 submissions

Submissions

1.

Babashka vs. Cream(blog.michielborkent.nl ↗)

1 points · by Borkdude · 2w ago · discuss

2.

Tree shaking squint on the server with esbuild(blog.michielborkent.nl ↗)

1 points · by Borkdude · 2mo ago · discuss

3.

Multi-Player Snake(multi-snake.michielborkent.nl ↗)

2 points · by Borkdude · 3mo ago · discuss

comment 3mo ago · link · parent

Author here!

I'd use this when you need a smaller binary than Node.js, Bun or Deno. Performance of QuickJS isn't as good (no JIT) but still perfectly fine for hosting personal projects on a VPS. With local measurements I got 30k requests/s in the server. It uses less memory in a Hono app compared to Node.js and Bun.

So use this as a smaller (size and memory) lighter alternative to Node.js, I'd say with the trade-off of performance (similar to babashka I guess).

Perhaps this is also better suited for running stuff on a Raspberry PI etc.

5.

Show HN: Choq: Cherry (ClojureScript) on QuickJS(github.com ↗)

3 points · by Borkdude · 3mo ago · 1 comment

comment 4mo ago · link · parent

I'm the author of cljbang.el.

Cljbang.el is a small but powerful emacs package, letting me use the things from Clojure that I like most, in an Emacs/Elisp context, with a small footprint.

7.

Show HN: Cljbang.el – A Clojure-like language that runs as Emacs Lisp(github.com ↗)

5 points · by Borkdude · 4mo ago · 1 comment

comment 6mo ago · link · parent

This is about using a JS feature without bringing in any additional dependencies like core.async. You don't have to use it and you can still use core.async. This was the most asked for feature in the recent ClojureScript survey.

9.

ClojureScript Gets Async/Await(clojurescript.org ↗)

279 points · by Borkdude · 6mo ago · 73 comments

comment 9mo ago · link · parent

Author here. This is an experiment to run the Clojure compiler in a GraalVM native-image with Crema enabled. Crema is a new way to dynamically load JVM bytecode in a native-image using an interpreter.

More info about Crema: https://github.com/oracle/graal/issues/11327

I'm also the author of babashka, a native fast-starting scripting tool for Clojure. For me it's interesting to contrast both approaches and learn more about the pros/cons of each.

comment 9mo ago · link · parent

Thanks :)

comment 9mo ago · link · parent

Author here. Babashka is a native Clojure interpreter for scripting, it starts in ~5-20ms instead of the usual JVM startup. This release adds JLine3 for building TUIs, a completely revamped console REPL, and a bunch of library compatibility improvements. The charm.clj counter example in the post is a single-file script you can run right away to get an idea of the new TUI capabilities. Have fun scripting!

13.

Babashka 1.12.215: Revenge of the TUIs(blog.michielborkent.nl ↗)

24 points · by Borkdude · 9mo ago · 4 comments

comment 10mo ago · link · parent

Babashka now has a built-in markdown library. Babashka now also has a built-in HTML parsing library: Jsoup.

Why does bb carry too much baggage? Because it has useful libraries like the above?

15.

Build a ClojureScript native desktop app in 5 minutes [video](youtube.com ↗)

3 points · by Borkdude · 1y ago · discuss

16.

Building Browser-Native Presentations with Scittle / ClojureScript(clojurecivitas.github.io ↗)

2 points · by Borkdude · 1y ago · discuss

comment 1y ago · link · parent

Reagami author here!

comment 1y ago · link · parent

Github repo here: https://github.com/borkdude/reagami

19.

Reagami: A Reagent-like library in less than 100 lines of Squint CLJS(blog.michielborkent.nl ↗)

1 points · by Borkdude · 1y ago · 1 comment

comment 1y ago · link · parent

You kinda can:

https://github.com/babashka/babashka/wiki/Self-contained-exe...

comment 1y ago · link · parent

Blog post here:

https://mccormick.cx/news/entries/i-replaced-react-reagent-w...

22.

Eucalypt: <10kb Reagent UIs with Squint ClojureScript [video](youtube.com ↗)

2 points · by Borkdude · 1y ago · 2 comments

23.

I Replaced React and Reagent with 720 Lines of Slop-Coded Squint-Cljs(mccormick.cx ↗)

2 points · by Borkdude · 1y ago · discuss

24.

Tiny Reagent-compatible UIs with no React(chr15m.github.io ↗)

2 points · by Borkdude · 1y ago · discuss

comment 1y ago · link · parent

The title didn't say compiler, it just said "Google Closure". The article I linked to is very clear that it's about the library.

comment 1y ago · link · parent

Updated the title

comment 1y ago · link · parent

This is not about maintaining compatibility with a Java version. As you can read in the post, Java 21 will be the minimum required Java version even. It's about the Google Closure Library on which many ClojureScript programs depend.
12345
11