frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
92•paulmooreparks•1h ago

Comments

hodgehog11•46m ago
I think we're starting to see more of this sort of thing happening now with Proton and Wine gaining prominence in the Linux community. Some games (Elden Ring comes to mind) have bad enough PC ports when they come out that the compatibility layer can incorporate a hotfix to improve performance, while users of the software on the original platform still had to suffer.
classichasclass•41m ago
Betting Alpha was the native architecture in question. It seemed to have the best support.
m1r•40m ago
Couldn't they just turn the optimization off for this loop?
MadnessASAP•38m ago
They didn't have the code for the offensive program, they were creating the emulator to run it on a different architecture.
McGlockenshire•31m ago
> offensive program

Agreed.

notorandit•37m ago
Which optimizer replaces a 64k loop with 64k instructions?

Ah, yes. Microsoft's!

notorandit•38m ago
> they fixed it during emulation

It means the fix was applied to run during the emulation loop execution, not that the fix was found and applied while the emulation loop was running.

Which would have made it an emulation code escape.

jeffbee•27m ago
People from Transmeta told me stories about how their translators were full of special case optimizations to fix horrors they discovered in Microsoft Windows itself.
yieldcrv•19m ago
> All in all, it took this program 256 kilobytes of code to initialize 64 kilobytes of data.

solidity sweating profusely

dlcarrier•17m ago
SimCity had a read-after-free bug that Microsoft patched in Windows 95. That was a lot easier for customers than having Maxis fix it, which could have required exchanging copies of the game.
electroglyph•5m ago
heh, when Raymond Chen dunks on the MSVC team =)

SAMF- Deterministic Moscow guardrails for LLM multi-agent loops

https://github.com/NanoPrompt/samf-framework
1•nanoprompter•2m ago•0 comments

Show HN: SharePad – share a USB iPad as a clean window in any call

https://sharepad.co/
1•jonyardley•6m ago•0 comments

Vellum Studio – Word to PDF Offline Android App

https://play.google.com/store/apps/details?id=com.vertexapp.vellumpdfstudio.app&hl=en_US
1•vertexapps•9m ago•1 comments

The Return of Rigorous Full-System Timing Simulation

https://www.sigarch.org/the-return-of-rigorous-full-system-timing-simulation/
1•matt_d•14m ago•0 comments

AI Agents Enable Adaptive Computer Worms

https://cleverhans.io/worm.html
1•xyzal•14m ago•0 comments

Can open-source beat OpenAI?

https://restofworld.org/2026/tiezhen-wang-china-us-open-source-ai/
5•devonnull•22m ago•0 comments

Show HN: FlashQwen – A from-scratch CUDA inference engine for Qwen3

https://github.com/frankkk96
1•langtang1996•24m ago•0 comments

Visual Studio Code is designed to fracture (2022)

https://ghuntley.com/fracture/
1•Tomte•25m ago•0 comments

How to set a static IP address for an Nginx outbound proxy

https://outboundgateway.com/blogs/nginx-static-ip-outbound-proxy/
1•thomster•32m ago•0 comments

Language integrated LLMs as an OCaml function

https://anil.recoil.org/notes/language-integrated-llms
1•matt_d•38m ago•0 comments

AI Is Not Conscious, but It Is Becoming Our Unconscious

https://theconvivialsociety.substack.com/p/ai-is-not-conscious-but-it-is-becoming
1•mellosouls•39m ago•0 comments

I Could've Rickrolled the FIFA World Cup. All I Needed Was My ID

https://bobdahacker.com/blog/fifa-hack
26•BobDaHacker•40m ago•4 comments

So I built something to listen to customer complaints

https://old.reddit.com/r/SideProject/comments/1u74ern/so_i_built_something_to_finally_listen_to/
1•bishwasbh•42m ago•0 comments

YouTube Cracks Down on AI Slop

https://www.hollywoodreporter.com/business/digital/faceless-creators-youtube-ai-damage-1236617586/
3•l33tbro•43m ago•0 comments

Meet the world's top AI-Pilled Economists

https://www.economist.com/finance-and-economics/2026/06/15/meet-the-worlds-top-ai-pilled-economists
2•1vuio0pswjnm7•43m ago•0 comments

Steel and chemicals giants demand freeze to EU's flagship climate policy

https://www.politico.eu/article/steel-and-chemicals-giants-demand-freeze-to-eus-flagship-climate-...
1•leonidasrup•44m ago•0 comments

Crypto Clarity AI

https://cryptoclarityai.com/
1•CryptoClarityAI•50m ago•0 comments

Catalog of Cycling Workouts to browse/download/share

https://cyclingintervals.com/
1•purec•57m ago•1 comments

Survey of the moniliths by fable 5 – short film in HTML

https://sand-morph.up.railway.app/survey-of-monoliths
1•echohive42•1h ago•0 comments

Quantum Entanglement for Dummies

https://zenodo.org/records/20128508
2•phdlalala•1h ago•0 comments

John Carmack on Fabrice Bellard

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
4•apitman•1h ago•0 comments

Russian Spam and Profanities Are Now Plaguing the Arch Linux AUR

https://www.phoronix.com/news/Arch-Linux-AUR-Russian-Spam
2•Lockal•1h ago•0 comments

Facebooks App description is "hacked" in Play Store [video]

https://www.youtube.com/shorts/UWaIinB84q4
1•tbqq•1h ago•0 comments

Inside FIFA's World Cup Technology [video]

https://www.youtube.com/watch?v=JRhwXYfrlss
1•ofrzeta•1h ago•1 comments

Anthropic Pauses Its Claude Agent SDK Billing Change

https://origami.sa/en/blog/anthropic-pauses-agent-sdk-subscription-billing-change/
1•dockerd•1h ago•0 comments

Smarter Models, Dumber Security

https://manveerc.substack.com/p/mcp-supply-chain-attack-vector
1•manveerc•1h ago•0 comments

Ask HN: What Jobs (Roles) are in the best position to take advantage of AI?

2•CWhiting•1h ago•0 comments

Stanford CS153 Frontier Systems – Scale, AGI, and the Future of Everything [video]

https://www.youtube.com/watch?v=F_7M4Hc-usM
2•twalichiewicz•1h ago•0 comments

You've Been Murdoched: Australia's Teen Ban Offers a Warning for Europe

https://www.techpolicy.press/youve-been-murdoched-australias-teen-ban-offers-a-warning-for-europe/
5•mathgenius•1h ago•0 comments

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
97•paulmooreparks•1h ago•12 comments