Top Tweets for #clavascript
#clavascript is a name I could not get used to.
It is continuing as squint!
https://t.co/Wf117KwLm5
#squintcljs #clojure #clojurescript
Machine learning in JS on Bun
https://t.co/IEvG19OoGN
Could be interesting to use with #nbbjs (REPL), #cherrycljs or #clavascript
#clojure #clojurescript

@jarredsumner Holy crap... could I insert my #clavascript compiler here as a loader for `.cljs` files?
Immutability on the cheap with immer and #clavascript:
(ns immer (:require ["immer$default" :as produce]))
(def v1 {:a 1})
(def v2 (produce v1 #(assoc! % :b 2)))
;; will crash:
;; (def v3 (assoc! v2 :foo :bar))
(prn v1 v2 (= v1 v2))
Minified + bundled: 11kb.
#clojurescript
![borkdude's tweet photo. Immutability on the cheap with immer and #clavascript:
(ns immer (:require ["immer$default" :as produce]))
(def v1 {:a 1})
(def v2 (produce v1 #(assoc! % :b 2)))
;; will crash:
;; (def v3 (assoc! v2 :foo :bar))
(prn v1 v2 (= v1 v2))
Minified + bundled: 11kb.
#clojurescript https://t.co/VuelF3mT0b](https://pbs.twimg.com/media/FbuGBt5XwAAbUa5.jpg)
Made a string with clavascript/string.js:
#clavascript

#clavascript advent of code:
https://t.co/8BRZBHveLZ
Already found quite a few bugs and missing core functions by doing #adventofcode 2021 part 1 and 2, but now it works:
#clojurescript #clojure

A funny wtf moment I had with JavaScript coming primarily from #clojure, implementing group-by in #clavascript:
const updateFn = fnil(conj_BANG_, [])
const ret = {}
for (const o in coll) {
update_BANG_(ret, updateFn, o)
}
return ret;
All values in ret would be the same... 1/2
A demo with #clavascript and WindowJS
The code is here:
https://t.co/n6UfTBngIo
It does not use 1 single function from Clava's stdlib, all plain JS output.
#clojurescript #clojure

Some #clavascript core functions have now been made lazy, built on JS iterators!
https://t.co/dzJ4Mvll05
#clojurescript #clojure


Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS:
https://t.co/TnMMdmlZPt
#clojurescript #clojure

What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯
#clojure #clojurescript

Published a new version of #clavascript: matrix transposition using "apply map vector" works :)
Let Advent of Code begin!
#clojure #clojurescript


assoc-in and assoc-in! have landed in #clavascript
assoc-in! mutates in place, assoc-in returns new (shallow) copies.
#clojurescript #clojure
https://t.co/dzJ4MvkNax
Thanks @corasaurus_vex!

Last Seen Hashtags on Sotwe
FouRTe見てみて
Seen from United States
figueroa
Seen from Netherlands
ometvgirls
Seen from United Kingdom
PueblosDeTeruel
Seen from United States
randomchat filter:videos
Seen from United States
แนวครอบครัว
Seen from Thailand
hukumperusahaan
Seen from United States
TranscorpHotelsPlc
Seen from United States
cicigoodreal
Seen from Malaysia
atasteofblackvanilla
Seen from United States
Most Popular Users

Elon Musk 
@elonmusk
240.5M followers

Barack Obama 
@barackobama
118.7M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107M followers

Rihanna 
@rihanna
98.7M followers

NASA 
@nasa
92.2M followers

Justin Bieber 
@justinbieber
91.8M followers

KATY PERRY 
@katyperry
90M followers

Taylor Swift 
@taylorswift13
84M followers

Lady Gaga 
@ladygaga
75.5M followers

Virat Kohli 
@imvkohli
73.4M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.7M followers

Neymar Jr 
@neymarjr
66.4M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers

