Wazako
Joined 5 years ago
Joined 5 years ago
The solid-js surface is relatively small, the jsx / css is identical to the native, the Hook simply builds the DOM once. solid-js therefore brings above all a createSignal that adds an observer where it is called in the DOM to directly update the DOM accordingly.
You might think of solid-js more as a signal primitive than a real framework.
try {
const [user, session] = await Promise.all([
getUser(userId),
getSession(sessionId)
])
} catch (err) {
…
}This is precisely the argument given against rust for video games: too much typing induced by memory safe, which is too restrictive.
Is there any use if your c code works, the advantage of rust over wasm is the easy-to-use packages (which is a pain in c++), and the ease with which you can make a wasm project with wasm-pack that generates the wasm, js and ts interface.
There really are a lot of libraries that support wasm, it's even a problematic point raised in the article on bevy, with wasm support (so webgl) limiting the api.
I don't know if I'm the only one, but I can't see myself giving my identity for 10c to buy blog articles.
Especially since first and last names are a powerful tracking tool that's not as easy to change as your IP address.
Can we really talk about timing, when it's above all a problem of a product that didn't fit the market?
Or internally: [ [HLC, “id:2”, ‘parent_id’, “id:1”], [HLC, “id:2”, ‘type’, “text”], ... ]
Merging is easy, and allows for atomic modifications without rebuilding the entire tree, as well as easy conflict resolution. We add the HLC (clock, peer id). If the time difference between the two clocks is significant, we create a new field [HLC, id, “conflict:” + key, old_value]