You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/news/2025-11-24-release.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ ClojureScript, outside of a few small exceptions, has generated https://www.ecma
20
20
21
21
Nine years have passed since the https://262.ecma-international.org/7.0/[ECMAScript 2016] was released and the major JavaScript virtual machines now offer great performance across the specification. While language constructs like `let` surprisingly https://vincentrolfs.dev/blog/ts-var[fail] to deliver much value for ClojureScript, features like https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy[Proxy] and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect[Reflect] solve real problems at low, low prices.
22
22
23
-
ClojureScript will use ES2016 moving foward where it delivers value and performance benefits.
23
+
ClojureScript will use ES2016 moving forward where it delivers value and performance benefits.
24
24
25
25
##`cljs.proxy`
26
26
@@ -77,11 +77,11 @@ Not all programs we might want to write require ambition. There are light script
77
77
78
78
How to break the 20K compressed wall? After some time in the hammock, we decided to travel back to 2011 and resurface the original data structures that Rich Hickey and co. included in the standard library. While not as efficient, they are decoupled and smaller. Setting the new `:lite-mode` compiler flag to `true` makes the ClojureScript compiler emit calls to the older constructors and tree-shaking can eliminate the heavier persistent implementations.
79
79
80
-
Printing is another blocker for very compact artifacts. Many simpler programs will never recursively print EDN. The `:elide-to-string` compiler flag removes the `toString` implementations leading to better tree-shaking.
80
+
Printing is another blocker for very compact artifacts. Many simpler programs will never recursively print EDN. The `:elide-to-string` compiler flag removes the `toString` implementations leading to improved tree-shaking.
81
81
82
-
Combining these two experimental flags cuts the starting artifact size by two thirds. It's important to understand these flags cannot be used to make large ClojureScript programs smaller - once you have enough dependencies or rely on enough features, the savings provided are a wash.
82
+
Combining these two experimental flags cuts the initial artifact size by two thirds. It's important to understand these flags cannot be used to make large ClojureScript programs smaller - once you have enough dependencies or rely on enough features, the savings are a wash.
83
83
84
-
But for people who know that they want to build something very compact, yet not give up on useful bits of `cljs.core` and Google Closure Library, these two new flags deliver more control.
84
+
But for people who know that they want to build something very compact, yet not give up on useful bits of `cljs.core` and Google Closure Library, these two new flags provide more control.
85
85
86
86
The following program is 6K Brotli compressed with `:lite-mode` and `:elide-to-string`.
0 commit comments