@hywan@fosstodon.org
@hywan@fosstodon.org avatar

hywan

@hywan@fosstodon.org

🌱 Ecologist 🕸 WebAssembly polyglot :ferris: Rust nerd 👾 Hacker 🎓 PhD Computer Scientist 🤲 Open source lover 🙈 Parser, compiler, low-level, binding, VM/runtime, Web, home automation, embedded… 🚀 R&D Element/Matrix, the decentralized, end-to-end encrypted, open source network 📜 Formerly Wasmer (WebAssembly runtime), Automattic, fruux, Mozilla (Firefox)…
🏠 Living in the stack, in a weird ABI, lost in FFI land

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hywan, to random
@hywan@fosstodon.org avatar
kubikpixel, to rust
@kubikpixel@chaos.social avatar

»Parser library using nom for VB6 (projects, forms, designers, etc).
VB6Parse aims to be a complete, end-to-end parser library for VB6. Including.«

It was a very, very, very long time ago when I had to extend and correct VisualBasic code, now I can also do it via Rust. Admittedly, the project is very young and I don't want to have to use it, but I understand why it exists.

🦀 https://github.com/scriptandcompile/vb6parse


hywan,
@hywan@fosstodon.org avatar
hywan, (edited ) to rust
@hywan@fosstodon.org avatar

Faster linking times on nightly on Linux using `rust-lld, https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html.

> Here are more details from the ripgrep example mentioned above: linking is reduced 7x, resulting in a 40% reduction in end-to-end compilation times

tl;dr: Rust now packages a rust-lld linker (it’s LLVM’s lld), and uses it on Linux by default on nightly, which decreases compilation time greatly.

hywan,
@hywan@fosstodon.org avatar

@aoanla 😇

hywan, to rust
@hywan@fosstodon.org avatar

cargo mutants, https://mutants.rs/

A useful tool to do mutation-based testing on Rust projects.

Reminder: mutants aim at testing your test suites —whether they catch all your code details—, not your code itself.

#RustLang #quality #safety #test #MutationBasedTesting

hywan,
@hywan@fosstodon.org avatar

Nice, it has found a flaw in my test suite. Thanks cargo mutants.

hywan, to debian
@hywan@fosstodon.org avatar
esm, to random
@esm@wetdry.world avatar

i will complain every time i am forced to use matrix and you cannot stop me

hywan,
@hywan@fosstodon.org avatar

@esm This problem is solved by Sliding Sync. Did you try it?

hywan,
@hywan@fosstodon.org avatar

@esm @cyrus Sliding Sync is being simplified to be integrated inside Synapse instead of having a proxy. 2 new endpoints are going to be also added inside Synapse. With these features, we will be able to have similar performance compared to the Sliding Sync proxy and to stabilise everything.

The Matrix Rust SDK will be updated to support all these API (new API, Sliding Sync or old sync). It’s going to be transparent for the consumers/users of the Rust SDK.

hywan,
@hywan@fosstodon.org avatar

@esm @cyrus When I talk about the Rust SDK, it also means the bindings to Swift and Kotlin (and perhaps others, like Go, Python and so on, however we don’t officially support them as we don’t test the actively).

hywan,
@hywan@fosstodon.org avatar

@cyrus @Neznak The Matrix Rust SDK provide all high-level API that abstract the sync mechanism. If you use the RoomList, EncryptionSync, NotificationClient, Timeline and so on, you’ll get the best of what is supported.

And indeed, work is happening right now to integrate sliding sync inside Synapse as a simplified version + 2 new endpoints.

For the record: room ordering is going to happen on the client-side, see https://github.com/matrix-org/matrix-rust-sdk/pull/3068.

hywan, to random
@hywan@fosstodon.org avatar

I enjoy writing algorithms more than I would like to admit. Optimising, explaining them, breaking complex things into multiple simple things, it’s clearly a pure mental joy.

hywan,
@hywan@fosstodon.org avatar

@deshipu I need that at @element, I work on the Matrix Rust SDK ( @matrix) and that’s why I still work there after 2 years.

nitot, to random French
@nitot@framapiaf.org avatar

S’il y a une épreuve de mauvaise attache de aux jeux olympiques, je crois qu’on tient le détenteur d’un podium ! Un VAE tout neuf attaché à un panneau pas très grand avec un tortillon à pas cher qui ne passe même pas par le cadre et se contente d’entourer la potence. 3 coups de clé hexacave et le vélo peut partir ! Ou alors juste soulever le vélo pour faire passer le tortillon au dessus du panneau.

hywan,
@hywan@fosstodon.org avatar

@nitot Ça me rappelle une anecdote qui ne peut probablement arriver qu’en Suisse.

Je suis parti plusieurs jours en train pour une conférence. J’ai laissé ma voiture sur le parking d’un centre ville, très visible. Je reviens après les quelques jours, je trouve un mot DANS la voiture : « vous avez laissé votre fenêtre ouverte, attention la prochaine fois ». C’est magique.

hywan,
@hywan@fosstodon.org avatar

@nitot Oui, c’est une autre mentalité par ici. Je dis pas qu’il n’y a pas de vols, mais il reste cette confiance dans la culture et la société. En tout cas dans les petites villes et villages.

hywan,
@hywan@fosstodon.org avatar

@nitot Ah oui en effet…

Si tout le monde joue le jeu, ça se passe bien en général. Si le doute s’installe, c’est perdu.

hywan, to rust
@hywan@fosstodon.org avatar

Tasks are the wrong abstraction, https://blog.yoshuawuyts.com/tasks-are-the-wrong-abstraction/.

Another excellent article by @yosh. I still need to digest it; I reckon it contains many (great) ideas I agree with.

hywan, to CSS
@hywan@fosstodon.org avatar

Printing music with CSS Grid, https://cruncher.ch/blog/printing-music-with-css-grid/.

The article presents an elegant way to display/render music notation with CSS (and a bit of SVG for symbols).

hywan, to random
@hywan@fosstodon.org avatar

@yosh I’m reading https://blog.yoshuawuyts.com/tasks-are-the-wrong-abstraction/. The link to glommio seems wrong, it’s the same link as monoio’s benchmarks. Can I send a patch somewhere?

nineverra, to random French
@nineverra@piaille.fr avatar

J’ai donc mis une heure à insérer une photo de profil.
Mais, @loevenbruck, chose promise…
Toutes les fées qui ont permis que ma classe de 1ere STI2D1 du lycée Marcel Sembat de Vénissieux puisse partir au refuge de la Dent Parrachée pourront suivre nos aventures.
Départ : le 3 juin.
Les préparatifs ont commencé!
Achat de 24 sacs, 24 sacs à viande, 24 frontales - ils ont demandé une rando nocturne, ils auront une rando nocturne.
La suite bientôt!

hywan,
@hywan@fosstodon.org avatar

@nineverra @loevenbruck Bienvenue et bonne chance !

hywan,
@hywan@fosstodon.org avatar

@loevenbruck C’est avec grand plaisir :-). @nineverra c’est quand tu veux ! Si c’est en hiver, prévoir de réutiliser les 24 frontales 😉.

hywan, to keyboard
@hywan@fosstodon.org avatar

I’ve received my Dygma Defy. A new adventure is starting. Wish me luck.

https://dygma.com/pages/defy

hywan,
@hywan@fosstodon.org avatar

cc @fabi1cazenave thoughts on this 👆?

hywan,
@hywan@fosstodon.org avatar

@marcaurele Honestly it's better and better, today I can say it's almost nothing.

hywan,
@hywan@fosstodon.org avatar

@OdyX @fabi1cazenave I suspect him to be biased ;-).

hywan,
@hywan@fosstodon.org avatar

Day 9: 86wpm.

Let’s enjoy these improvements for a couple more days before switching to Colemak (DHm).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • khanakhh
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • DreamBathrooms
  • megavids
  • magazineikmin
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • JUstTest
  • All magazines