frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Copy-and-patch compiler for hard real-time Python

https://github.com/Nonannet/copapy
13•Saloc•4d ago
I built Copapy as an experiment: Can Python be used for hard real-time systems?

Instead of an interpreter or JIT, Copapy builds a computation graph by tracing Python code and uses a custom copy-and-patch compiler. The result is very fast native code with no GC, no syscalls, and no memory allocations at runtime.

The copy-and-patch compiler currently supports x86_64 as well as 32- and 64-bit ARM. It comes as small Python package with no other dependencies - no cross-compiler, nothing except Python.

The current focus is on robotics and control systems in general. This project is early but already usable and easy to try out.

Would love your feedback!

Comments

genjipress•1h ago
This looks like it could become an excellent alternative in time to not just NumPy and Numba, but also Cython. I know that may be more ambitious than your original intentions, but that's absolutely what sprung to mind.
written-beyond•10m ago
THAT'S INSANE!

I always wondered if this could be possible. Like you fuzz a program, map out each possible allocation and deallocation and optimize the code with those hot paths and some statistics.

Very interesting project, would love some sort of write up on it.

Show HN: Perlin Noise Terminal Animation in Rust (60 FPS, Truecolor)

https://github.com/denisepattenson/perlin-terminal
5•denisepattenson•45m ago•2 comments

Show HN: WCAG 2.2 AAA Toolkit – AI Skill for Accessible Web Apps

https://github.com/simonplmak-cloud/wcag-aaa-web-design
2•simonmak•16m ago•0 comments

Show HN: Copy-and-patch compiler for hard real-time Python

https://github.com/Nonannet/copapy
13•Saloc•4d ago•2 comments

Show HN: Manga Viewer – Zero-dep manga/comic reader in vanilla JavaScript

https://github.com/tokagemushi999/manga-viewer
2•tokagemushi•3h ago•0 comments

Show HN: MOL – A programming language where pipelines trace themselves

https://github.com/crux-ecosystem/mol-lang
37•MouneshK•3d ago•14 comments

Show HN: Arcmark – macOS bookmark manager that attaches to browser as sidebar

https://github.com/Geek-1001/arcmark
81•ahmed_sulajman•20h ago•19 comments

Show HN: Retry script for Oracle Cloud free tier ARM instances

2•ekadet•4h ago•0 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
223•datavorous_•23h ago•69 comments

Show HN: Tufte Editor – Local Markdown Editor with Tufte CSS Live Preview

https://github.com/onedeeper/tufteeditor
2•avngr86•5h ago•1 comments

Show HN: Rover – Embeddable web agent

https://www.rtrvr.ai/blog/10-billion-proof-point-every-website-needs-ai-agent
17•arjunchint•1d ago•10 comments

Show HN: Off Grid – Run AI text, image gen, vision offline on your phone

https://github.com/alichherawalla/off-grid-mobile
111•ali_chherawalla•15h ago•58 comments

Show HN: A reputation index from mitchellh's Vouch trust files

https://vouchbook.dev/
17•rosslazer•1d ago•3 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
221•mickamy•1d ago•42 comments

Show HN: GitHub "Lines Viewed" extension to keep you sane reviewing long AI PRs

https://chromewebstore.google.com/detail/github-lines-viewed/npledcbofpmjjammgkkoeaehbphhdopi
15•somesortofthing•1d ago•11 comments

Show HN: DocSync – Git hooks that block commits with stale documentation

https://github.com/suhteevah/docsync
3•suhteevah•6h ago•0 comments

Show HN: Open Notes – Community Notes-style context for Discord

https://opennotes.ai/discord-bot
14•anateus•1d ago•0 comments

Show HN: PlanOpticon – Extract structured knowledge from video recordings

https://github.com/ConflictHQ/PlanOpticon
2•ragelink•7h ago•0 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
242•xx123122•1d ago•31 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
144•pattle•3d ago•86 comments

Show HN: Skill that lets Claude Code/Codex spin up VMs and GPUs

https://cloudrouter.dev/
134•austinwang115•1d ago•33 comments

Show HN: Bubble sort on a Turing machine

https://github.com/purplejacket/bubble_sort_on_tm
6•purplejacket•1d ago•0 comments

Show HN: A playable toy model of frontier AI lab capex decisions

https://darios-dilemma.up.railway.app/
8•jimmyechan•1d ago•0 comments

Show HN: Git Navigator – Use Git Without Learning Git

https://gitnav.xyz
8•binhonglee•11h ago•0 comments

Show HN: Auto-Layouting ASCII Diagrams

https://github.com/switz/box-of-rain
6•switz•16h ago•2 comments

Show HN: Moltis – AI assistant with memory, tools, and self-extending skills

https://www.moltis.org
120•fabienpenso•2d ago•46 comments

Show HN: OpenWhisper – free, local, and private voice-to-text macOS app

https://github.com/richardwu/openwhisper
36•rwu1997•1d ago•14 comments

Show HN: ClipPath – Paste screenshots as file paths in your terminal

https://github.com/BiteCraft/ClipPath
16•viniciusborgeis•1d ago•1 comments

Show HN: Open-source CI for coding with AI

https://github.com/sburl/CrossCheck
5•sburl•1d ago•0 comments

Show HN: Windows 98½ – fake desktop, real Internet

https://win9-5.com/demo
12•keepamovin•22h ago•6 comments

Show HN: An x86 assembly game from 2002, ported to WebAssembly with Claude Code

https://particlefield.com/projects/alan-parsons/game.html
6•gottebp•13h ago•2 comments