frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Solving the Jane Street Reverse Engineering Challenge

https://jestoph.com/2026/09/04/jane-street-challenge.html
47•anitil•1h ago

Comments

anitil•1h ago
Hi HN, I recently solved the Jane Street reverse engineering challenge [0], and I wrote a blog post on how I reached the answer.

It's a moderately technical and (hopefully) entertaining run through of the process. I hope you enjoy reading it as much as I enjoyed doing the challenge (though, as you'll read, it was also quite a frustrating process). My github is on the post if you were interested in seeing a bit more in detail what my solution looked like, though I intend to write some follow up posts that are a bit more in the weeds of the solution. And frankly, the code I used is pretty ugly but it got the job done.

This is my first blog post, so if you have any feedback please let me know. All the writing, all the code was done by me, by hand, in vim.

[0] https://blog.janestreet.com/can-you-reverse-engineer-an-asic...

vzcx•46m ago
Incredible amount of determination, but you really did make it hard for yourself!

You can install librelane to get the whole open silicon tool suite and the sky130 PDK. Circuit extraction can be done with magic. Going from a spice netlist to verilog netlist is pretty mechanical and not a hard transform to write. You almost immediately have something that can be simulated and a good baseline for further reversing.

__atx__•23m ago
> Circuit extraction can be done with magic.

So that was the missing part for me! I did it from scratch (with custom Python script with gdstk and shapely) (the GDS file does have the cells annotated, so not a big problem but still). I was thinking about scripting the "trace net" tool in klayout but decided that's going to probably bring its own can of worms...

vzcx•18m ago
You can give the cell instances a stable name by setting GDS property 98, which I learned about from my reconnaissance of the puzzle author's github and sky130 visualization tool. This way I was able to spot check a pass over the netlist that broke up the regions into a hierarchical design.

I'd like to do a full writeup but haven't had the time.

NamTaf•27m ago
I really enjoyed the writing, cheers. And yes, you may have done it the hard way, but you probably learnt 10x more by doing that.

As for what to do next, I used to spend way too much of my late-2000s time on puzzle hunts (particularly the Melbourne Uni one [1]) and this tickled the same part of my brain. Unfortunately they're no longer a thing, but it definitely sounds like you'd enjoy something similar.

[1]: https://www.puzzles.wiki/wiki/MUMS_Puzzle_Hunt

__atx__•27m ago
> It turns out that this ‘sky130’ thing is like a … standard? Or something for making chips.

Very cool seeing someone completely naive going into this :)

If you want to read more about a bit more... cheaty way to do this, I have written about using formal verification machinery to straight up force the solution out of the netlist here: https://atx.name/electronics/asic-re/ . Could be a bit of an infohazard, but I think journey is the goal and yours was certainly more educational :)

anitil•9m ago
I'll definitely be reading this thankyou! I think this would have been a much better way to approach it, it's a bit of a joke in the piece that I always do things the hard way, but it's a genuine mystery to me why I operate this way.

I should add I have an EE degree (but have never worked as an EE), so even though I don't know industry standards like this sky130 thing, it's not completely foreign to me.

vzcx•6m ago
Nice solution and good easter egg find!
piker•54m ago
> Well I don’t really know what to work on next

Let me help you: work on figuring out how to spend the millions of dollars every year Jane Street will pay you to clock in. I've heard private aviation is expensive, for example. :)

walrus01•49m ago
Google says "Jane Street has global office locations in New York, London, Hong Kong, Singapore, Amsterdam, and Chicago" so if you're really at a loss where to spend your money, I would recommend searching for yacht dealerships in those cities. I'm sure it won't be a problem anymore.
bko•38m ago
A lot of places claim they want to hire extremely smart autists, and some do. But these types of employees are incredibly hard to manage. Imagine herding cats. So if you don't invest a lot of effort in building an environment to let this person cook, go down the right rabbit holes and not rub others the wrong way, a person like this is a huge liability to the org.
vovavili•23m ago
A lot of companies who claim to want highly intelligent and autonomous engineers by revealed preference actually want glorified slightly above average ticket pushers.

At least by the looks of it, Jane Street appears to be an odd one to genuinely value competence.

charcircuit•51m ago
I wonder how far a LLM could get with this. It will be cool when we get to the point where you can decap a chip, take a picture, and then an LLM can create an emulator for that chip.
vzcx•36m ago
This would need good image recognition, but maybe not so far out of the realm of possibility.

These GDS design files have a lot more structure to them.

anitil•7m ago
I'd say they could solve it much faster than I could. Some of the other commenters are mentioning tools that would have made this so much easier, and I'd assume an LLM would know to use them
gyanchawdhary•35m ago
curious what the actual use case for a challenge like this is from Jane Streets side .. guess the obvious one is trading even closer to the wire .. being able to reverse engineer .. inspect circuits to uncover flaws or optimisations that shave latency or improve determinism in the trading stack .. but I wonder if there are other less obvious applications ..
flaghacker•30m ago
Congrats on solving the challenge!

I also briefly wrote about my approach here, with less pictures but going into slightly more detail about how to convert circuits to z3 equations: https://gist.github.com/KarelPeeters/dba417c2690cf0505ac9079...

anitil•16m ago
That's really interesting that you actually used z3 to extract the output from the circuit! It hadn't occurred to me that it would be possible to do that. I suppose I got a little fixated on my approach of running a verilog simulation, and I only used z3 to solve one part (though the hardest part I think). How did you get a $DAYJOB involving formal verification?
anon-3988•25m ago
I have used Codex (Sol 5.6 or whatever) to solve this problem. It turns the problem into Z3, then iteratively work through the problems until it figured out the solution.

Personally, I did not learn that much from that experience. So I am glad that there's other people working on it as well. I am mostly interested in the techniques used to solve this.

amelius•22m ago
If there's a "two stars" solution, then maybe there is also a "three stars" solution?
xvilka•12m ago
To help with such tasks for real chips (given the good quality images) there is Degate[1][2] open source software.

[1] https://www.degate.org/

[2] https://github.com/DegateCommunity/Degate

BalistaCRATZ•7m ago
Nice! I ended up using the KLayout Python API to parse the GDS and extract the netlist, which was actually quite nice to use.

Also, yosys has support for doing “assertion checking”, which I used in my solution: https://sunaabh.com/systems/2026/08/18/jspuzzle.html

GPT-6 Astra

https://openai.com/index/gpt-6-astra/
1877•kibae•16h ago•1678 comments

Solving the Jane Street Reverse Engineering Challenge

https://jestoph.com/2026/09/04/jane-street-challenge.html
51•anitil•1h ago•24 comments

.name Termination

https://neil.fraser.name/news/2026/09/03/
1909•pavel_lishin•20h ago•470 comments

Carbon-aware electricity pricing, measured daily on 38 grids

https://carbonawarepricing.com/
47•High-Five•3h ago•23 comments

Qwen 3.8 27B available on Cerebras at 1500 tokens/s

https://inference-docs.cerebras.ai/models/overview
582•altertable•17h ago•193 comments

Elevator of the Year Winner Modernization of the Metropolis Trust Building

https://www.starelevator.com/projects/star-elevator-modernization-of-the-metropolis-trust-building
12•palashawas•3d ago•1 comments

Authorization terminology is a mess: Let's fix it

https://idpro.org/authorization-terminology-is-a-mess-lets-fix-it/
59•andychiare•2d ago•32 comments

The Raspberry Pi Interactive Timeline · 2006–2026

https://raspberry.tips/en/raspberrypi-infos/raspberry-pi-history-timeline
36•mariuz•3h ago•27 comments

Hackers Had a Live Feed of Every ID Verification Company Scanned for over a Year

http://www.techdirt.com/2026/09/03/hackers-had-a-live-feed-of-every-id-this-verification-company-...
213•beardyw•4h ago•75 comments

The largest electric aircraft just flew [video]

https://www.youtube.com/watch?v=nM86DBOqgPM
351•feb•2d ago•246 comments

Artificial beaver dams saw juvenile coho salmon survival rates go from 8% to 60%

https://www.discoverwildlife.com/animal-facts/artificial-beaver-dams-california
276•speckx•19h ago•87 comments

How an MIT research project became the Julia programming language

https://news.mit.edu/2026/how-mit-research-project-became-global-programming-language-0831
111•theanonymousone•4d ago•41 comments

Go grandmaster Shin defeats AI KataGo with a two-stone handicap

https://www.kedglobal.com/artificial-intelligence/newsView/ked202607210007
339•gmays•1d ago•131 comments

Porting my 1993 Amiga game to Godot, with an LLM reading the 68000 assembly

https://babyloniantwins.com/blog/porting-a-1993-amiga-game-to-godot/
307•rabahs•21h ago•101 comments

OpenAI agents hijacked German website in previously undisclosed AI breakout

https://www.reuters.com/world/europe/openai-agents-hijacked-german-website-previously-undisclosed...
24•negura•1h ago•16 comments

Oscar Winner Brings Monsters to Life with His Simulation Software

https://spectrum.ieee.org/oscar-winner-jernej-barbic
9•jruohonen•3d ago•0 comments

Move in C++ without a std:move

https://andreasfertig.com/blog/2026/09/move-in-cpp-without-a-stdmove/
51•dalvrosa•2d ago•60 comments

GPS glitched across the US by as much as 33 feet

https://www.sciencealert.com/gps-glitched-across-the-us-by-as-much-as-33-feet-scientists-have-nev...
187•thread_id•1d ago•113 comments

K2 Horizon: A connected fleet of six open models

https://ifm.ai/blog/k2/
303•karimf•20h ago•105 comments

Project Xanadu: Even More Hindsight (2025)

https://gwern.net/xanadu
86•andsoitis•9h ago•24 comments

Which tools do Claude, Codex and Cursor choose? We measured 17k runs to find out

https://armature.tech/blog/which-tools-coding-agents-install
234•screm•14h ago•108 comments

Show HN: Reactor Atlas

https://reactoratlas.com
37•fedecaccia•23h ago•14 comments

Ask HN: Who is using MCP in production?

87•sukit•1d ago•113 comments

Xanadu was waiting for agents

https://zed.dev/blog/agentic-xanadu
126•nsm•2d ago•53 comments

From Hookswitch to Grave

https://computer.rip/2026-06-14-hookswitch-to-grave.html
31•Sniffnoy•8h ago•2 comments

Unusual Suspects

https://neal.fun/unusual-suspects/
168•beeperboy95•1d ago•28 comments

Virtual Threads for a scripting language in Java 8 without Loom

https://jactl.io/blog/2026/08/28/jactl-virtual-threads
36•jaccomo•2d ago•3 comments

Any Human Ever – One life, drawn at random from all who have ever lived

https://anyhumanever.com/
606•thinkingemote•20h ago•283 comments

Welcome to the Porcelain Insulator Collector's World of Mud

https://www.insulators.info/porcelain/
11•ripe•3d ago•3 comments

The asteroid currently hitting front end web development

https://nolanlawson.com/2026/08/23/the-asteroid-currently-hitting-frontend-web-development/
167•codechicago277•16h ago•198 comments