geakstr
Re:The missing standard library for multithreading in JavaScript
on Saturday December 06, 2025 @04:55AM (#46172038)
This part is beautiful:
> Serialization Protocol: The library uses a custom "Envelope" protocol (PayloadType.RAW vs PayloadType.LIB). This allows complex objects like Mutex handles to be serialized, sent to a worker, and rehydrated into a functional object connected to the same SharedArrayBuffer on the other side.
It's kinda "well, yes, you can't share objects, but you can share memory. So make objects that are just thin wrappers around shared memory"
Re:N-Params vs. Single Param
on Thursday April 17, 2025 @03:36PM (#43721183)
Some languages allow to define type alias, name of this type can be self-explanatory:
type FullName = string;
function combineName(first: string, last: string): FullName;
Also documentation comment for function is what specifically solves this - describes what function does and returns.
Re:Kagi – Introducing Fair Pricing
on Monday February 17, 2025 @12:25PM (#43081264)
Hey! This url and any search I do are blocked with 403 if I access it either with Tor or my VPN. Anyway I love kagi and continue to use this, but this aspect is pretty annoying.
Re:Languages on BEAM, the Erlang virtual machine
on Friday January 20, 2017 @03:49PM (#13446868)
Thank you for distillery, it's a very nice tool
Re:Languages on BEAM, the Erlang virtual machine
on Friday January 20, 2017 @03:37PM (#13446797)
Yes, deployment in Elixir is painfull. We use distillery and edeliver, but plan to try move to docker