frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Retrofitting JIT Compilers into C Interpreters

https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
26•ltratt•12h ago

Comments

sgbeal•11h ago
i tend to think of myself as a computing nerd, but posts like this one make me realize that i don't even rate on the computing nerd scale.
throwaway1492•7m ago
Do you always make things about yourself? Have you written a parser or interpreter? You should, it’s an interesting exercise. The idea is to add meta tracing to the interpreter (the c code) that allows hot paths to be compiled to machine code and be then executed instead of being interpreted.
mwkaufma•55m ago
TL;DR compile with a fork of LLVM that enables runtime IR tracing. Very clever!
fuhsnn•55m ago
Took me a while to figure out whether it's interpreters for C programs or if there's a particular class of interpreters called "C". Turns out it's about interpreters implemented in C that they use modified LLVM to do the retrofitting, but couldn't it be applicable for other languages with LLVM IR, or other switch-in-a-loop patterns in C?
itriednfaild•20m ago
I've been a low level C and C++ programmer for 30 years. Even with your explanation and having read the webpage twice I have no idea what this technology does or how it works. So it takes normal interpreted code and jits it somehow? But you have to modify the source code of your program in some way?
fuhsnn•3m ago
I don't fully grasp it either, the most appropriate analogy I can think of is like how OpenMP turns #pragma annotated loops into multi-threading, this work turns bytecode interpreting loops into JIT VM.
djwatson24•21m ago
It's quite impressive they're able to take nearly arbitrary C and do this! Very similar to what pypy is doing here, but for C, and not a python subset.

However not without downsides. It sounds like average code is only 2x faster than Lua, vs. LuaJit which is often 5-10x faster.

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
188•dbreunig•1d ago•79 comments

I made a terminal pager

https://theleo.zone/posts/pager/
40•speckx•2h ago•6 comments

YouTube now lets you turn off Shorts

https://www.theverge.com/streaming/912898/youtube-shorts-feed-limit-zero-minutes
54•pentagrama•54m ago•13 comments

Google broke its promise to me – now ICE has my data

https://www.eff.org/deeplinks/2026/04/google-broke-its-promise-me-now-ice-has-my-data
1029•Brajeshwar•6h ago•443 comments

PiCore - Raspberry Pi Port of Tiny Core Linux

http://tinycorelinux.net/5.x/armv6/releases/README
69•gregsadetsky•4h ago•5 comments

Ohio prison inmates 'built computers and hid them in ceiling (2017)

https://www.bbc.com/news/technology-39576394
38•harambae•2h ago•16 comments

Cal.com is going closed source

https://cal.com/blog/cal-com-goes-closed-source-why
188•Benjamin_Dobell•9h ago•148 comments

God sleeps in the minerals

https://wchambliss.wordpress.com/2026/03/03/god-sleeps-in-the-minerals/
436•speckx•11h ago•95 comments

Retrofitting JIT Compilers into C Interpreters

https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
26•ltratt•12h ago•7 comments

The buns in McDonald's Japan's burger photos are all slightly askew

https://www.mcdonalds.co.jp/en/menu/burger/
181•bckygldstn•2h ago•103 comments

Live Nation illegally monopolized ticketing market, jury finds

https://www.bloomberg.com/news/articles/2026-04-15/live-nation-illegally-monopolized-ticketing-ma...
349•Alex_Bond•5h ago•111 comments

Hacker News CLI

https://pythonhosted.org/hackernews-cli/commands.html
24•rolph•2h ago•9 comments

Want to write a compiler? Just read these two papers (2008)

https://prog21.dadgum.com/30.html
458•downbad_•14h ago•139 comments

PBS Nova: Terror in Space (1998)

https://www.pbs.org/wgbh/nova/mir/
13•opengrass•4d ago•3 comments

Ask HN: Who is using OpenClaw?

185•misterchocolat•5h ago•225 comments

Fixing a monitor that goes black, off or blinks due to static electricity (2023)

https://aalonso.dev/blog/2023/how-to-fix-monitor-that-goes-black-off-due-to-static-electricity-in...
110•cyclopeanutopia•3d ago•59 comments

Good sleep, good learning, good life (2012)

https://super-memory.com/articles/sleep.htm
358•downbad_•15h ago•180 comments

Anna's Archive loses $322M Spotify piracy case without a fight

https://torrentfreak.com/annas-archive-loses-322-million-spotify-piracy-case-without-a-fight/
315•askl•16h ago•350 comments

ChatGPT for Excel

https://chatgpt.com/apps/spreadsheets/
92•armcat•3h ago•76 comments

The Gemini app is now on Mac

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-mac-os/
65•thm•7h ago•37 comments

Adaptional (YC S25) is hiring AI engineers

https://www.ycombinator.com/companies/adaptional/jobs/k7W6ge9-founding-engineer
1•acesohc•7h ago

How can I keep from singing?

https://blog.danieljanus.pl/singing/
39•nathell•1d ago•6 comments

Does Gas Town 'steal' usage from users' LLM credits to improve itself?

https://github.com/gastownhall/gastown/issues/3649
200•rektomatic•3h ago•93 comments

Do you even need a database?

https://www.dbpro.app/blog/do-you-even-need-a-database
194•upmostly•12h ago•239 comments

CRISPR takes important step toward silencing Down syndrome’s extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
67•amichail•8h ago•51 comments

Golden eagles' return to English skies

https://www.bbc.co.uk/news/articles/cje4zlxqkqdo
40•techterrier•3d ago•20 comments

Forcing an inversion of control on the SaaS stack

https://www.100x.bot/a/client-side-injection-inversion-of-control-saas
71•shardullavekar•5d ago•43 comments

One interface, every protocol

https://openbindings.com/blog/one-interface-every-protocol
31•clevengermatt•4h ago•3 comments

Costasiella kuroshimae

https://en.wikipedia.org/wiki/Costasiella_kuroshimae
142•vinnyglennon•3d ago•52 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
81•muchael•8h ago•24 comments