Sunday, December 17, 2023

code katas @ GitHub

gamontal/awesome-katas: A curated list of code katas @GitHub

A kata, or code kata, is defined as an exercise in programming which helps hone your skills through practice and repetition. Dave Thomas @pragdave, started this movement for programming.

Kata is a Japanese word ( or ) meaning "form". It refers to a detailed choreographed pattern of martial arts movements made to be practised alone. It can also be reviewed within groups and in unison when training. It is practised in Japanese martial arts as a way to memorize and perfect the movements being executed. 

Chrome WASM GC

 WebAssembly Garbage Collection (WasmGC) now enabled by default in Chrome  |  Blog  |  Chrome for Developers

(memory) Garbage Collection

"In simplified terms, the idea of garbage collection is the attempt to reclaim memory which was allocated by the program, but that is no longer referenced. Such memory is called garbage. There are many strategies for implementing garbage collection..."

JavaScript V8 engine has GC, and so far WASM that runs on the same engine didn't.
The languages that have GC and can compile to WASM, such as C#, Go, Python, Java etc.
so far needed to also include "own" GC in addition to app code, adding significant overhead, both in size and performance. Having shared GC, while may not be 100% compatible, will enable much more code sharing. With that, WASM may become "standard" "VM", like Docker is for containers. 
This is a "bid deal!"