🌗 技術筆記:Theseus:將 Win32 轉譯為 WebAssembly
➤ 在瀏覽器中讓 Win32 應用程式「阻塞」的奧祕
https://neugierig.org/software/blog/2026/05/theseus-wasm.html
作者在此文章中分享了其 Win32/x86 模擬器 Theseus 的最新進展,它現在能將 .exe 檔案轉譯為 WebAssembly 並在網頁上執行。主要的技術挑戰在於如何讓原本會阻塞的 Win32 API 呼叫在不能阻塞主執行緒的瀏覽器環境中運作。解決方案是將模擬器執行緒放入 Web Workers,並巧妙地運用 JavaScript 的 `Atomics` API 與共享記憶體,讓 Worker 執行緒能夠阻塞等待主執行緒處理瀏覽器事件。這不僅實現了同步邏輯在 Worker 端的執行,也達成了零複製的數據傳輸,顯著提升開發體驗與效能。然而,此方法引入了 Rust 在 WebAssembly 環境中對 Atomi
#WebAssembly #Win32模擬器 #瀏覽器技術 #多執行緒 #Rust #Atomics API
Tech Notes: Theseus: translating win32 to wasm

Notes on targeting Theseus to the web.

Counting Fast in Erlang with :counters and :atomics

Two BEAM escape hatches for counting fast—shared, mutable, off-heap integer arrays. How :atomics and :counters work, what they guarantee, and when to reach for each.

Andrea Leopardi

ノーベル化学賞の技術を活用したCO2回収装置 長瀬産業など3社、日量30キロ規模の実証試験に成功
https://www.kyodo.co.jp/news/2026-04-23_4007445/

#kyodo #経済_ビジネス #Atomics #b_dot #CO2回収装置 #MOF_PSA #ovo #実証試験 #神戸製鋼所 #長瀬産業

ノーベル化学賞の技術を活用したCO2回収装置 長瀬産業など3社、日量30キロ規模の実証試験に成功

 神戸製鋼所とAtomis(ともに神戸市)、長瀬産業(東京)は、2025年ノーベル化学賞の対象となった多孔性金属錯体(MOF)の技術を活用した二酸化炭素(CO2)回収装置(MOF-PSA)で、日量30キロ規模の実証試験に…

株式会社共同通信社 | 株式会社共同通信社の情報ポータルサイト

Деконструкция GO: CPU, RAM и что там происходит. Reordering, atomics, locks, fences. Часть 1.3

С постановкой проблем в прошлой статье мы почти закончили и вывели самое важное – природу состояния гонки и состязания за кэш. В этой статье мы также разберем оптимизацию, порождающую часть проблем синхронизации – instructions reordering , а также механизмы решения вышеуказанных проблем. В этот раз снова будет Go Assembler, а также снова будут примеры на Go. В прошлый раз это было необходимое зло во имя соответствия реальности Напоминаю, что эта статья – часть большого цикла разбора языка программирования Golang End 2 End. Но если вы уверены, что понимаете природу многозадачности, многопоточности, проблемы оных, а также то, как выполняются инструкции и пришли разбираться в самых примитивных механизмах синхронизации, то велком Instructions reordering Обычно мы считаем, что CPU добросовестно выполняет свои инструкции последовательно. Ровно так, как мы ему сказали. Но это не всегда верно! Допустим есть код

https://habr.com/ru/articles/1025292/

#go #assembly #cpu #atomics #memory #memorybarrier #reordering #data_race #cache_contention

Деконструкция GO: CPU, RAM и что там происходит. Reordering, atomics, locks, fences. Часть 1.3

С постановкой проблем в прошлой статье мы почти закончили и вывели самое важное – природу состояния гонки и состязания за кэш. В этой статье мы также разберем оптимизацию, порождающую часть проблем...

Хабр

C++Now 2026 SESSION ANNOUNCEMENT: Thinking in Nanoseconds - A Mental Model for Ultra Low Latency C++ by Namrata Priyadarshani

https://schedule.cppnow.org/session/2026/thinking-in-nanoseconds/

Register now at https://cppnow.org/registration/

#atomics #benchmarking #cpp #cplusplus

#atomics #benchmarking #cplusplus #cpp

Edit: solved, thanks Paul!

Any bored #RustLang atomics enthusiast around? I'm trying to write a kind of global unique id allocator using fetch_add and compare_exchange but now I'm not even sure if it's possible with the right orderings or if I should just do the simple thing and wrap it in a mutex ...

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=bb48f6352ffff02df49c2e12d98655f1

#rust #atomics

Rust Playground

A browser interface to the Rust compiler to experiment with the language

C++Now 2026 SESSION ANNOUNCEMENT: When Atomics Lose - Architecture Dependent Performance of C++ Synchronization by Sampad Acharya

https://schedule.cppnow.org/session/2026/when-atomics-lose/

Register now at https://cppnow.org/registration/

#atomics #cpp #concurrency #coding

#atomics #coding #concurrency #cpp

When Atomics Lose – C++Now Schedule

Aalo Atomics recauda $ 100 millones para construir un microrreactor y un centro de datos juntos – ButterWord

Nuclear startup Aalo Atomics plans to turn on its first power plant, the 50-megawatt Aalo-X, in the summer of 2026. It's an aggressive timeline that bucks nuclear industry trends.

ButterWord

Please help me spread the link to #swad 😎

https://github.com/Zirias/swad

I really need some users by now, for those two reasons:

* I'm at a point where I fully covered my own needs (the reasons I started coding this), and getting some users is the only way to learn about what other people might need
* The complexity "exploded" after supporting so many OS-specific APIs (like #kqueue, #epoll, #eventfd, #signalfd, #timerfd, #eventports) and several #lockfree implementations based on #atomics while still providing fallbacks for everything that *should* work on any #POSIX systems ... I'm definitely unable at this point to think of every possible edge case and test it. If there are #bugs left (which is somewhat likely), I really need people reporting these to me

Thanks! 🙃

GitHub - Zirias/swad: Simple Web Authentication Daemon

Simple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.

GitHub

Next #swad release will still be a while. 😞

I *thought* I had the version with multiple #reactor #eventloop threads and quite some #lockfree stuff using #atomics finally crash free. I found that, while #valgrind doesn't help much, #clang's #thread #sanitizer is a very helpful debugging tool.

But I tested without #TLS (to be able to handle "massive load" which seemed necessary to trigger some of the more obscure data races). Also without the credential checkers that use child processes. Now I deployed the current state to my prod environment ... and saw a crash there (only after running a load test).

So, back to debugging. I hope the difference is not #TLS. This just doesn't work (for whatever reason) when enabling the address sanitizer, but I didn't check the thread sanitizer yet...