this post was submitted on 28 Nov 2025
1 points (100.0% liked)

Rust

8038 readers
5 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] Ephera@lemmy.ml 0 points 6 months ago

Apparently, Wikifunctions is a place to define e.g. mathematical formulas, so that they can be executed ad-hoc to provide insights about common questions.

Certainly makes sense to run those functions sandboxed in WebAssembly, since the function code is user-provided.
And then, yeah, I can imagine the process management making up a good amount of the complexity of their backend code...

[–] sukhmel@programming.dev 0 points 6 months ago (1 children)

In this way, we can avoid relying on subprocesses and instead use threads (or, technically, asynchronous tasks) in Rust. Threads/tasks are much easier to manage

I believe, in their case cancelling a sync operation will not be a problem because they will not forever block on executing user-provided code, but cancelling a synchronous thread is not easy, afaik

[–] fnrir@lemmy.blahaj.zone 0 points 6 months ago (1 children)
[–] sukhmel@programming.dev 0 points 6 months ago

Available on Unix only.

Only kills the thread if it has enabled cancellation

I mean, they will probably set it up correctly to be able to use it

[–] Kissaki@programming.dev 0 points 6 months ago (1 children)

Sharing, because I had to look up Abstract Wikipedia

Abstract Wikipedia is an in-development project of the Wikimedia Foundation. It aims to use Wikifunctions to create a language-independent version of Wikipedia using its structured data.

[–] onlinepersona@programming.dev 0 points 6 months ago

It sounds interesting but who in the world is going to write article in the abstract wiki? It doesn't seem at all accessible.