Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Hywan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Hywan
7mo ago
How different is it from the semantic Web (schema, RDF, OWL…)? Instead of reinventing something, why not using a well established technology that can also be beneficial for other usages?
2.
▲
About memory pressure, lock contention, and Data-oriented Design
(mnt.io)
3 points
by
Hywan
8mo ago
|
1 comments
3.
▲
by
Hywan
8mo ago
In this article, I illustrate how Data-oriented Design helped to remove annoying memory pressure and lock contention in multiple sorters used in the Matrix Rust SDK. It has improved the execution by 98.7% (53ms to 676µs) and the throughput
4.
▲
by
Hywan
1y ago
Thanks for mentioning this other possibility! To be honest, I've discovered this possibility from you. Sadly, it doesn't improve the performance that much. We get the following performance: - time: 98ms - throughput: 101Kelem/
5.
▲
From 19k to 4.2M events/sec: story of a SQLite query optimisation
(mnt.io)
5 points
by
Hywan
1y ago
|
3 comments
6.
▲
by
Hywan
5y ago
WebAssembly only supports i32, i64, f32, and f64 for the moment. So you need to allocate the string manually inside the Wasm memory, then pass the pointer of that string to the Wasm function. I will add an example to showcase that, many peo
7.
▲
by
Hywan
5y ago
The wasmer-c-api lands in https://github.com/wasmerio/wasmer/tree/master/lib/c-api , with the documentation being accessible at https://wasmerio.github.io/wasmer/crates/wasm
8.
▲
by
Hywan
5y ago
At my work, we have developped `loupe`, a Rust crate that does precisely that, https://github.com/wasmerio/loupe/ . I'm the main author of it. `loupe` provides the `MemoryUsage` trait; It allows to know the si
9.
▲
Kubewarden, an Open Source Policy Engine, Based on WebAssembly
(community.suse.com)
3 points
by
Hywan
5y ago
|
0 comments
10.
▲
The first Java library to run WebAssembly: Wasmer JNI
(medium.com)
2 points
by
Hywan
6y ago
|
0 comments
11.
▲
Running WebAssembly on ARM with Wasmer 0.11 (Demo on a Raspberry Pi)
(medium.com)
15 points
by
Hywan
7y ago
|
3 comments
12.
▲
by
Hywan
7y ago
I recommend this excellent reading, https://00f.net/2018/11/25/webassembly-doesnt-make-unsafe-la... . It clarifies what “safe” means in this context.
13.
▲
by
Hywan
7y ago
The best way to help right now is to test it, and report any issues! I've been able to try it on Windows so far for instance. Also the API isn't complete. We need to be able to grow the memory for instance. We need to understand t
14.
▲
by
Hywan
7y ago
That's true. However, it allows to integrate your Wasm program to your favorite framework more easily. It's likely to be a small surface of code to review carefully. It's always a balance :-).
15.
▲
by
Hywan
7y ago
We don't support that yet, but we are working on it. It's not that easy even if the theory is kind of simple to explain. The implementation in the different backends is mostly the challenge. The Python extension uses the Wasmer ru
16.
▲
by
Hywan
8y ago
No, it's not :-), see https://words.steveklabnik.com/is-webassembly-the-return-of-...