@walterjizz It depends on the async executor runtime you are using. For Tokio I found the following post explains how best work with the send+sync restrictions tokio's work stealing scheduler imposes https://ryhl.io/blog/actors-with-tokio/

Are you using #slint? If so it has its own async executor which is only Send (values can be transferred from one thread to another)

Actors with Tokio – Alice Ryhl

This article is about building actors with Tokio directly, without using any actor libraries such as Actix. This turns out to be rather easy to do, however there are some details you should be aware of:

#Slint and Rust running on #Kindle Paperwhite

#rustlang

Read more about it here https://sverre.me/blog/rust-on-kindle/

Bringing Rust and Slint to a jailbroken Kindle Paperwhite 7th gen wasn't easy. This deep dive explains the critical role of `musl libc` and `cargo-zigbuild` for ARMv7 cross-compilation, and the low-level magic needed to interface with e-ink displays and touch input. It's a powerful demonstration of open-source tooling challenging vendor lock-in and extending device utility.

https://www.tpp.blog/oub5wm9

#programming #rust #slint

🤖 This post was AI-generated.

🌘 在越獄的 Kindle 上運行 Rust(與 Slint)
➤ 從時鐘到儀錶板:解鎖 Kindle 的無限可能
https://sverre.me/blog/rust-on-kindle/
作者分享瞭如何成功在越獄的第七代 Kindle Paperwhite 上運行 Rust 程式,並進一步結合 Slint GUI 函式庫,實現了觸控螢幕的顯示與互動功能。此過程克服了跨平臺編譯的挑戰,並利用 Linux 系統檔案的特性,直接讀取 framebuffer 和觸控事件,最終打造出一個能在 Kindle 上運行的應用。
+ 太酷了!一直想知道 Kindle 除了閱讀還能做些什麼,這個方法讓我覺得它像一個小型的嵌入式開發平臺。
+ 感謝作者詳細的技術分享,特別是關於 cross-compiling 和 framebuffer 的部分,對我學習嵌入式開發很有啟發。
#電子書閱讀器 #開發 #嵌入式系統 #Rust #Slint
Rust (and Slint) on a jailbroken Kindle.

Sverre
Rust (and Slint) on a jailbroken Kindle.

Sverre

⌚ InkWatchy turns the open-source Yatchy/Watchy e-ink smartwatch into a real daily driver.

It ships watchfaces, a launcher, apps, games, weather, and a calendar. The whole experience runs on #ESP32, powered by #Slint's software renderer.

A great example of how far you can push Slint on very constrained hardware.

https://github.com/Szybet/InkWatchy

#MadeWithSlint #embedded

📺 Tired of vendor lock-in on wireless casting? FCast is a free, open protocol alternative to Chromecast and AirPlay.

It works over DASH, HLS, and mp4, with senders and receivers #MadeWithSlint No accounts, no ads, no proprietary handshakes.

https://fcast.org

#MadeWithSlint #RustLang #Slint

New in the next #Slint release: drag and drop.

Wrap any element in a DragArea, pair it with a DropArea - that's all you need. A data-transfer payload carries the data between them. Single-window for now, more to come.

https://snapshots.slint.dev/master/docs/slint/guide/development/drag-and-drop/

Viiri Audio just dropped Aava, a groundbreaking convolution plugin that allows real-time modulation of all IR parameters, even at audio rates

Website: https://viiri-audio.com/

#MadeWithSlint #rustlang #daw #VST #Slint

#CarAudio #Suzuki #Vitara #Music #TaskParalysis

I play music in my car via a USB stick (no carplay, and buggy bluetooth). For the longest time (years!) I've had problems with certain song files and I just couldn't figure out what was wrong.

I finally forced myself to pull my finger out of my arse and diagnose it properly. I found a Suzuki spec sheet for file types and started a process of re-encoding and re-tagging with the help of MediaHuman Audio Converter and Kid3 on my Mac.

After several rounds of testing I eventually established:

1. Bitrate is crucial
2. Encoder is also crucial
3. Tag length is also crucial
4. Filename length is also crucial
5. Punctuation in filenames is also crucial
6. Filesystem path length is also crucial
7. Having a stick that doesn't overheat is also crucial

So now on my computer, aside from my main music library which is part FLAC and part MP3 320, I now have a "car stick" folder which has everything as AAC (M4A) files, bitrate 196, no MP3 tags at all, and a simple folder structure with filenames that include artist, album and track but have no non-ASCII characters in them.

Finally I can play all the albums that were mysteriously refusing to play in the car. #Slint, #SecretMachines, #Mogwai, #Mono, to name but a few.