frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Cj–tiny no-deps JIT in C for x86-64 and ARM64

https://github.com/hellerve-pl-experiments/cj
2•hellerve•3h ago
Hey y’all!

About 7 years ago, I had this idea to write a JIT with an autogenerated backend for x86 based on the ISA specs. I sketched something out and then just kinda let it sit. I picked it up again a few weeks ago and made a complete-ish backend for both x86 and ARM64. It has no dependencies, the backends are completely autogenerated (by horrible, horrible JS scripts), and I built a small abstraciton layer for things like functions prologues etc.

It’s super duper early and will probably break on your machine, but it’s good enough to compile some cool examples (look at the examples directory: https://github.com/hellerve-pl-experiments/cj/tree/master/ex..., my personal favorite is the minimal language implementation: https://github.com/hellerve-pl-experiments/cj/blob/master/ex...).

It doesn’t have anything except basically a fancy JIT assembler with some helpers as of yet. No register allocator, a lot of ABI details will still have to be figured out manually (though of course feel free to add anything to the abstraction layer that’s generally useful and submit a PR!).

I honestly don’t know where I’m going with this next. I kind of stumbled into the project, and am not sure whether I’ll consider it as “exercise completed” or whether I should pursue it more. Time will tell.

Feedback, questions, and bug reports very welcome—especially on the codegen helpers, additional examples or cool things you come up with, or backend rough edges.

P.S.: I also wrote a small announcement blog post on it that you can find here (https://blog.veitheller.de/cj:_Making_a_minimal,_complete_JI...), but it honestly doesn’t add all that much interesting info that you can’t find in the repo.

Show HN: A living wall of life goals and deathbed regrets

https://beforewedie.org
5•jamespetercook•4h ago•2 comments

Show HN: Cj–tiny no-deps JIT in C for x86-64 and ARM64

https://github.com/hellerve-pl-experiments/cj
2•hellerve•3h ago•0 comments

Show HN: A CSS-Only Terrain Generator

https://terra.layoutit.com
351•rofko•1d ago•82 comments

Show HN: Dev Cockpit (OSS) – TUI System Monitor for Apple Silicon

https://devcockpit.app
2•caioricciuti•4h ago•1 comments

Show HN: I was in a boring meeting so I made an encyclopedia

https://encyclopedai.stavros.io
4•stavros•5h ago•9 comments

Show HN: Wosp – advanced full-text search on the command line

https://github.com/atrettel/wosp
5•atrettel•5h ago•0 comments

Show HN: DMARC report parser as a single Go binary (SQLite, no Elasticsearch)

https://github.com/meysam81/parse-dmarc
2•meysamazad•6h ago•0 comments

Show HN: Free Quantum-Resistant Timestamping API (Dual-Signature and Bitcoin)

5•sasasavic•15h ago•1 comments

Show HN: A new language for COBOL workloads, built on Go

https://github.com/CoreBankLang/CobGo_community
4•nsokra02•11h ago•0 comments

Show HN: a Rust ray tracer that runs on any GPU – even in the browser

https://github.com/tchauffi/rust-rasterizer
93•tchauffi•2d ago•29 comments

Show HN: I built a local-first daily planner for iOS

https://apps.apple.com/ca/app/to-do-list-planner-zesfy/id6479947874
85•zesfy•1d ago•72 comments

Show HN: Tamagotchi P1 for FPGAs

https://github.com/agg23/fpga-tamagotchi
68•agg23•1w ago•11 comments

Show HN: MyTimers.app offline-first PWA with no build step and zero dependencies

https://mytimers.app/
44•y3k•1d ago•28 comments

Show HN: I got fired so I built a bank statement converter

https://aussiebankstatements.com
12•matherslabs•1d ago•2 comments

Show HN: ImagineToVideo –An accessible AI video generator withVEO, Sora2

https://imaginetovideo.com
3•funcin•14h ago•1 comments

Show HN: Strange Attractors – Visualized with Easylang

https://easylang.online/apps/attractors.html?hn2511
2•chrka•5h ago•0 comments

Show HN: Notifikai – Set and get reminders through simple text messages

https://notifikai.com
4•libiny•15h ago•5 comments

Show HN: Strange Attractors

https://blog.shashanktomar.com/posts/strange-attractors
792•shashanktomar•4d ago•77 comments

Show HN: FinBodhi – Local-first, double-entry app/PWA for your financial journey

https://finbodhi.com/
39•ciju•2d ago•20 comments

Show HN: Agor → Figma for AI Coding (Open Source)

https://agor.live
9•caravel•1d ago•3 comments

Show HN: Pion/rtwatch – Watch video in sync with friends, pause/seek on back end

https://github.com/pion/rtwatch
4•Sean-Der•1d ago•1 comments

Show HN: Send USDC via Email

https://btwnfriends.com/
5•Must_be_Ash•19h ago•0 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
122•lchoquel•1w ago•27 comments

Show HN: Why write code if the LLM can just do the thing? (web app experiment)

https://github.com/samrolken/nokode
434•samrolken•4d ago•320 comments

Show HN: Centia.io – Open PostgreSQL/PostGIS back end for developers

https://centia.io/
24•mhoegh•1w ago•6 comments

Show HN: Anki-LLM – Bulk process and generate Anki flashcards with LLMs

https://github.com/raine/anki-llm
58•rane•3d ago•22 comments

Show HN: Barcable – We Built Agents That Automatically Load Test Your Back End

https://www.barcable.dev/
3•iyang_steraflow•20h ago•0 comments

Show HN: In a single HTML file, an app to encourage my children to invest

https://roberdam.com/en/dinversiones.html
247•roberdam•6d ago•436 comments

Show HN: ReadMyMRI DICOM native preprocessor with multi model consensus/ML pipes

https://github.com/BTMMatty/readmymri
3•daftpixie•21h ago•0 comments

Show HN: I made a website that vibe-codes itself

https://theboard.stavros.io
17•stavros•1d ago•6 comments