Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
W4G1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
W4G1
10mo ago
Interesting. Are you talking about the latency to spawn new workers, or getting data from the main thread to the worker? To give you an idea, this library uses a lazily initialized thread pool (thread-per-core by default), where tasks are s
2.
▲
by
W4G1
10mo ago
It was a design decision to make the syntax feel as familiar to Rust as possible. But I do agree that it's a bit verbose and that it won't hurt to add a .dispose() handle to the objects themselves.
3.
▲
by
W4G1
10mo ago
I added a bit more information about Bun compatibility: > While Bun is supported and Bun does support the `using` keyword, it's runtime automatically creates a polyfill for it whenever Function.toString() is called. This transpil
4.
▲
The missing standard library for multithreading in JavaScript
(github.com)
136 points
by
W4G1
10mo ago
|
35 comments
5.
▲
The Temporal Dead Zone, why TypeScripts codebase is littered with var statements
(vincentrolfs.dev)
5 points
by
W4G1
1y ago
|
0 comments
6.
▲
eval_macro: A New Way to Write Rust Macros
(github.com)
9 points
by
W4G1
2y ago
|
0 comments
7.
▲
by
W4G1
3y ago
Creator here. Yes it's a wrapper around the Web Worker and Node Worker Threads API. In order to create an inline worker, the user provided function is serialized using .toString() and any provided yield statements (which specify outsid
8.
▲
JavaScript Multithreading (2023)
(github.com)
17 points
by
W4G1
3y ago
|
8 comments
9.
▲
Multithreading: A JavaScript Worker abstraction to threadify plain functions
(github.com)
5 points
by
W4G1
3y ago
|
0 comments
10.
▲
Multithreading: A tiny cross-platform JavaScript parallelization runtime
(github.com)
2 points
by
W4G1
3y ago
|
0 comments
11.
▲
Halo: A non-invasive neural device to stabilize and induce lucid dreaming
(propheticai.co)
1 points
by
W4G1
3y ago
|
1 comments