Forwarded from Solidot
微软修复了一个导致 Firefox 高 CPU 占用的 Windows Defender bug
2023-04-11 18:24:00 by 艾米七号
微软释出了更新,修复了一个导致 Firefox 运行时高 CPU 占用的 Windows Defender bug。该 bug 最早是在五年前报告的,在 Firefox 运行时 Windows 10 内置的安全软件 Windows Defender MsMpEng.exe 的组件 Antimalware Service Executable 会表现出异常行为,导致了高 CPU 占用浏览器运行缓慢。上个月开发者终于找到了问题根源,MsMpEng.exe 在跟踪事件时高频呼叫了操作系统内核的 VirtualProtect 功能。Firefox 在生成大量事件的同时 MsMpEng.exe 执行了大量无用的计算,两者的组合导致了高 CPU 占用,Moziila 和微软合作解决了这个问题,补丁于 4 月 4 日释出,Firefox 的 CPU 占用减少了四分之三。微软同时向 Windows 7 和 Windows 8.1 推送了更新,Firefox 将一直支持这两个操作系统到 2024 年。
https://bugzilla.mozilla.org/show_bug.cgi?id=1441918
https://www.techspot.com/news/98255-five-year-old-windows-defender-bug-killing-firefox.html
#Bug
2023-04-11 18:24:00 by 艾米七号
微软释出了更新,修复了一个导致 Firefox 运行时高 CPU 占用的 Windows Defender bug。该 bug 最早是在五年前报告的,在 Firefox 运行时 Windows 10 内置的安全软件 Windows Defender MsMpEng.exe 的组件 Antimalware Service Executable 会表现出异常行为,导致了高 CPU 占用浏览器运行缓慢。上个月开发者终于找到了问题根源,MsMpEng.exe 在跟踪事件时高频呼叫了操作系统内核的 VirtualProtect 功能。Firefox 在生成大量事件的同时 MsMpEng.exe 执行了大量无用的计算,两者的组合导致了高 CPU 占用,Moziila 和微软合作解决了这个问题,补丁于 4 月 4 日释出,Firefox 的 CPU 占用减少了四分之三。微软同时向 Windows 7 和 Windows 8.1 推送了更新,Firefox 将一直支持这两个操作系统到 2024 年。
https://bugzilla.mozilla.org/show_bug.cgi?id=1441918
https://www.techspot.com/news/98255-five-year-old-windows-defender-bug-killing-firefox.html
#Bug
Forwarded from ✨【HZR】星咲®ラジオα (老 天川)
Forwarded from Hacker News (yahnc_bot)
Nolibc: A minimal C-library replacement shipped with the kernel https://lwn.net/Articles/920158/
LWN.net
Nolibc: a minimal C-library replacement shipped with the kernel
The kernel project does not host much user-space code in its repository, but there are exceptio [...]
Forwarded from Hacker News (yahnc_bot)
Real-time quantum error correction beyond break-even https://www.nature.com/articles/s41586-023-05782-6
Nature
Real-time quantum error correction beyond break-even
Nature - A study demonstrates the extension of a lifetime of a quantum memory using active quantum error correction and reinforcement learning.
Forwarded from Hacker News (yahnc_bot)
GPT-4 gets a B on my quantum computing final exam https://scottaaronson.blog/?p=7209
Shtetl-Optimized
GPT-4 gets a B on my quantum computing final exam!
Update (April 14): On the suggestion of my TA Justin Yirka, I gave GPT-4 problem 2 from the final exam, along with its own answers and my and Justin’s grading comments, and asked it whether i…
Forwarded from Hacker News (yahnc_bot)
Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency https://www.infoq.com/news/2023/04/virtual-threads-arrives-jdk21/
InfoQ
JEP 444: Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
JEP 444, Virtual Threads, was promoted from Candidate to Proposed to Target status for JDK 21. This feature offers a lightweight threading model to simplify the creation, management, and monitoring of high-throughput concurrent Java applications, allowing…
Forwarded from Lancern's Treasure Chest
Leanpub
C++ Initialization Story
Forwarded from Lobste.rs
introducing io_uring support in libuv
Someone openend a PR for io_uring support in libuv, this should help a lot of projects including node to speed up a lot of IO workComments
via vi_mi@users.lobste.rs (vi_mi)
Someone openend a PR for io_uring support in libuv, this should help a lot of projects including node to speed up a lot of IO workComments
via vi_mi@users.lobste.rs (vi_mi)
GitHub
linux: introduce io_uring support by bnoordhuis · Pull Request #3952 · libuv/libuv
Add io_uring support for several asynchronous file operations:
read, write
fsync, fdatasync
stat, fstat, lstat
io_uring is used when the kernel is new enough, otherwise libuv simply
falls back to...
read, write
fsync, fdatasync
stat, fstat, lstat
io_uring is used when the kernel is new enough, otherwise libuv simply
falls back to...
😱2
Forwarded from Hacker News (yahnc_bot)
A Cryptographic Near Miss https://words.filippo.io/dispatches/near-miss/
Filippo Valsorda
A Cryptographic Near Miss
A recent issue in scalar multiplication makes for a good case study of how unsafe interfaces, undocumented assumptions, and time lead to vulnerabilities.
Forwarded from Hacker News (yahnc_bot)
ELF hash function may overflow https://maskray.me/blog/2023-04-12-elf-hash-function
MaskRay
ELF hash function may overflow
This article describes an interesting overflow bug in the ELF hash function. The System V Application Binary Interface (generic ABI) specifies the ELF object file format. When producing an executable
Forwarded from Lobste.rs
Announcing the deps.dev API: critical dependency data for secure supply chains
Comments
via JamieTanna@users.lobste.rs (JamieTanna)
Comments
via JamieTanna@users.lobste.rs (JamieTanna)
Google Online Security Blog
Announcing the deps.dev API: critical dependency data for secure supply chains
Posted by Jesper Sarnesjo and Nicky Ringland, Google Open Source Security Team Today, we are excited to announce the deps.dev API , which...
Forwarded from Hacker News (yahnc_bot)
Zylin ZPU: 32 bit CPU with GCC toolchain https://github.com/zylin/zpu
GitHub
GitHub - zylin/zpu: The Zylin ZPU
The Zylin ZPU. Contribute to zylin/zpu development by creating an account on GitHub.
Forwarded from Solidot
Servo 项目计划迁移到 Layout 2020
2023-04-14 14:01:00 by 火星超人
Servo 项目计划迁移到布局引擎 Layout 2020。Servo 是用 Rust 语言开发的实验性浏览器引擎项目,最初由 Mozilla 发起,2020 年 Mozilla 大裁员期间裁掉了 Servo 引擎团队,Servo 的开发此后陷入了停滞。Servo 项目后来找到 Linux 基金会托管,寻求为其它项目提供一个高性能的、安全的、可嵌入的模块化渲染引擎。过去几个月,项目的开发再次活跃。本周四,官方博客表示计划迁移到 Layout 2020 引擎。Servo 项目目前有两个布局引擎——Layout 2013 和 Layout 2020,顾名思义,其开发分别始于 2013 年和 2020 年,其中 Layout 2020 设计弥补 Layout 2013 的多个不足之处,开发者表示他们认为 Layout 2020 是项目继续前进的最佳布局引擎,计划不久之后迁移到该引擎。
https://servo.org/blog/2023/04/13/layout-2013-vs-2020/
#开源
2023-04-14 14:01:00 by 火星超人
Servo 项目计划迁移到布局引擎 Layout 2020。Servo 是用 Rust 语言开发的实验性浏览器引擎项目,最初由 Mozilla 发起,2020 年 Mozilla 大裁员期间裁掉了 Servo 引擎团队,Servo 的开发此后陷入了停滞。Servo 项目后来找到 Linux 基金会托管,寻求为其它项目提供一个高性能的、安全的、可嵌入的模块化渲染引擎。过去几个月,项目的开发再次活跃。本周四,官方博客表示计划迁移到 Layout 2020 引擎。Servo 项目目前有两个布局引擎——Layout 2013 和 Layout 2020,顾名思义,其开发分别始于 2013 年和 2020 年,其中 Layout 2020 设计弥补 Layout 2013 的多个不足之处,开发者表示他们认为 Layout 2020 是项目继续前进的最佳布局引擎,计划不久之后迁移到该引擎。
https://servo.org/blog/2023/04/13/layout-2013-vs-2020/
#开源
Forwarded from 🎉 Yuuta 的日常 🎂 via @pixiv_net_bot