frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Template Interpreters

https://zackoverflow.dev/writing/template-interpreters/
2•zackoverflow•1h ago

Comments

zackoverflow•1h ago
I recently came across this style of interpreter which V8 and HotSpot use. It works by actually writing the bytecode op handlers in assembly (or some other low-level language) and generating them to machine code, and having a dispatch table mapping bytecode_opcode -> machine code to execute it

I was pretty intrigued. How does it compare to techniques which require way less engineering cost like switch+loop, direct-threaded, and only using tail-calls (https://blog.reverberate.org/2021/04/21/musttail-efficient-i...)?

The main reason seemed to be that both V8 and HotSpot have an optimizing JIT compiler, and having low-level control over the machine code of the interpreter means it can be designed to efficiently hop in and out of JIT'ed code (aka on-stack replacement). For example, V8's template interpreter intentionally shares the same ABI as it's JIT'ed code, meaning hopping into JIT'ed code is a single jmp instruction.

Anyway, I go into more implementation details and I also built a template interpreter based on HotSpot's design and benchmarked it against other techniques.

Tell me any tools for football prediction I missed

https://manus.im/app/chkPcQKgY1SP31w4RJlVDg
1•finalfantansy•2m ago•0 comments

Ask HN: What is the black line for at the top of the screen?

1•dawie•5m ago•1 comments

Show HN: AI‑curated actual profanity list

https://github.com/hypernewbie/vbw
1•hypernewbie•6m ago•0 comments

Felix Hlatky: First Official Day as the Executive Director of Mastodon

https://mastodon.social/@mellifluousbox/115569615176946969
3•sohkamyung•9m ago•0 comments

Verifiability

https://karpathy.bearblog.dev/verifiability/
1•HermanMartinus•9m ago•0 comments

Everyone enjoys fewer lunch options (or, why I love pairwise comparisons)

https://woolean.com/blog/welcome-to-woolean
1•rfarley04•14m ago•0 comments

Show HN: Anime wallpaper 4k Major update with AI

https://animewallpaper4k.net
1•niliu123•17m ago•0 comments

Show HN: I Created reciept scanner and expense manager for my family

https://famverge.app/
1•dzasa•18m ago•0 comments

A unified model of memory and perception [pdf]

https://www.sissa.it/sites/default/files/attachments/news/SISSA%20press%20release%20Neuron.pdf
1•XzetaU8•19m ago•0 comments

PayPal blocks Asahi Linux users

https://gist.github.com/asahilina/31dd6bf3cde26a51e0fc1414e1abe730
2•undeveloper•25m ago•1 comments

Are DeepSeek Moments Now the New Normal?

https://www.bloomberg.com/opinion/articles/2025-11-17/ai-are-deepseek-moments-now-the-new-normal
1•salkahfi•27m ago•0 comments

Skelet – Minimalist, Thread-Safe Config Library for Python

https://github.com/pomponchik/skelet
1•pomponchik•29m ago•1 comments

FFM – Java's new approach to interop with native code

https://developer.ibm.com/articles/j-ffm/
1•birdculture•33m ago•0 comments

Ubisoft Says AI Generated Anno Art 'Slipped Through'

https://kotaku.com/anno-117-pax-romana-ai-loading-screen-patch-ubisoft-2000644399
4•zppln•35m ago•1 comments

Agentic Property-Based Testing: Finding Bugs Across the Python Ecosystem

https://mmaaz-git.github.io/agentic-pbt-site/
1•mmaaz•36m ago•1 comments

Falcon 9 launches Sentinel-6B satellite to monitor global sea level

https://spacenews.com/falcon-9-launches-sentinel-6b-satellite-to-monitor-global-sea-level/
1•N19PEDL2•42m ago•0 comments

Event Sourcing in Go: From Zero to Production

https://skoredin.pro/blog/golang/event-sourcing-go
1•tdom•42m ago•0 comments

How Quake.exe got its TCP/IP stack

https://fabiensanglard.net/quake_chunnel/index.html
3•billiob•42m ago•0 comments

Fear Spreads Across Markets as Crypto Selloff Raises Alarms

https://www.bloomberg.com/news/articles/2025-11-18/pessimism-spreads-across-markets-as-crypto-rou...
2•zerosizedweasle•43m ago•0 comments

Mastodon CEO steps down as the social network restructures

https://techcrunch.com/2025/11/18/mastodon-ceo-steps-down-as-the-social-network-restructures/
6•gloxkiqcza•43m ago•0 comments

How Colds Spread

https://www.lesswrong.com/posts/92fkEn4aAjRutqbNF/how-colds-spread
2•comp_throw7•44m ago•1 comments

Scan PQC TLS for a whole domain, Free

https://QCready.com
1•weddpros•46m ago•0 comments

My Next Chapter with Mastodon

https://blog.joinmastodon.org/2025/11/my-next-chapter-with-mastodon/
3•robin_reala•47m ago•0 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
2•farslan•49m ago•0 comments

Reverse Engineered an OLED Display

https://www.greyb.com/blog/reverse-engineering-oled-display/
13•I_Nidhi•54m ago•0 comments

High-performance hash utility with fast mode

https://github.com/vyrti/hash-rs
1•vyrti•56m ago•1 comments

Generate cost-optimised GKE ComputeClass specs from live GCP pricing data

https://github.com/brtkwr/gkecc
1•brtkwr•56m ago•0 comments

Mephedrone Is a Cursed Drug

https://psychotechnology.substack.com/p/mephedrone-is-a-cursed-drug-1730
3•eatitraw•57m ago•0 comments

EU Frequency Group: Upper 6 GHz Band Needed for 6G, WLAN Loses Out

https://www.heise.de/en/news/EU-Frequency-Group-Upper-6-GHz-Band-Needed-for-6G-WLAN-Loses-Out-110...
2•i-con•59m ago•0 comments

How to Pick Your Battles

https://www.leadinginproduct.com/p/how-to-pick-your-battles
2•benkan•59m ago•0 comments