Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hwpythonner
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
hwpythonner
1y ago
I just had to give it a name. Didn't really search for vacancies. Maybe I need to rename :)
32.
▲
by
hwpythonner
1y ago
Thank you! And yes, exactly.
33.
▲
by
hwpythonner
1y ago
There have been efforts (like Cython, Nuitka, PyPy’s JIT) to accelerate Python by compiling subsets or tracing execution — but none fully replace the standard dynamic model at least as far as I know.
34.
▲
by
hwpythonner
1y ago
Thanks you very much. I learned of Jazelle after started working on it and this is a good thing, because Jazelle didn't become too popular AFAIK, so it would just make me quit. Glad I didn't though :)
35.
▲
by
hwpythonner
1y ago
You're absolutely right — today, PyXL only supports pure Python execution, so C extensions aren’t directly usable. That said, in future designs, PyXL could work in tandem with a traditional CPU core (like ARM or RISC-V), where C librar
36.
▲
by
hwpythonner
1y ago
GC is still a WIP, but the key idea is the system won't stall — garbage collection happens asynchronously, in the background, without interrupting PyXL execution.
37.
▲
by
hwpythonner
1y ago
Thank you!
38.
▲
by
hwpythonner
1y ago
The microcode or the ISA of the system actually runs on the co-processor (PyXL custom cpu) If you refer to the ARM part as the host (did you?) it's just orchestrating the whole thing, it doesn't run the actual Python program
39.
▲
by
hwpythonner
1y ago
Oh boy, I definitely considered that — turning PyXL into a RISC-V extension was an early idea I thought of. It could probably be adapted into one. But I ultimately decided to build it as its own clean design because I wanted the flexibility
40.
▲
by
hwpythonner
1y ago
You're close: It's currently running on an FPGA (Zynq-7000) — not ASIC yet — but yeah, could be transferable to ASIC (not cheap though :)) It's a custom stack-based hardware processor tailored for executing Python programs di
41.
▲
by
hwpythonner
1y ago
Thanks for the question. HDL: Verilog Assembly: The processor executes a custom instruction set called PySM (Not very original name, I know :) ). It's inspired by CPython Bytecode — stack-based, dynamically typed — but streamlined to
42.
▲
by
hwpythonner
1y ago
PyPy is a JIT compiler — it runs on a standard CPU and accelerates "hot" parts of a program after runtime analysis. This is a great approach for many applications, but it doesn’t fit all use cases. PyXL is a hardware solution — a
43.
▲
Show HN: I built a hardware processor that runs Python
(runpyxl.com)
983 points
by
hwpythonner
1y ago
|
265 comments
44.
▲
by
hwpythonner
1y ago
I built a hardware processor that runs Python programs directly, without a traditional VM or interpreter. Early benchmark: GPIO round-trip in 480ns — 30x faster than MicroPython on a Pyboard (at a lower clock). Demo: https://runp
45.
▲
by
hwpythonner
1y ago
This reminds me of ladder diagrams from industrial control systems—not because of the domain, but because both emphasize a linear, visually structured flow of logic.
46.
▲
by
hwpythonner
1y ago
One thing I didn’t see mentioned here yet: a lot of high-performance data center workloads don’t actually go through the Linux kernel’s network stack at all. Instead, they use DPDK, XDP, or userspace stacks like Onload or VMA—often with Sma
47.
▲
by
hwpythonner
1y ago
Do their stats include the guy who forgets to take it every third day, or is that part of the 1%?
48.
▲
by
hwpythonner
1y ago
I used to think Python had no place in embedded — way too heavy, too dynamic, too unpredictable. But I’ve been messing around with some ideas that challenge that assumption. If you throw out the traditional VM model and rethink things from
49.
▲
by
hwpythonner
1y ago
Can confirm some bans just teach employees how to be more creative. Like, say, hypothetically pairing a keyboard to a phone...
50.
▲
by
hwpythonner
1y ago
I saw it was Palladium but didn’t actually know what kind of publication that was until I checked the homepage—makes more sense now. Definitely reads more like a speculative 'Jules Verne for the compute age' than a serious technic
51.
▲
by
hwpythonner
1y ago
Well, you could basically do any llvm supported language. I remember a few years ago I tried creating a DSL just for fun and the sake of testing on iOS. You can create a frontend of whatever language you want for llvm so it’d translate it t
52.
▲
by
hwpythonner
1y ago
Fascinating work! I’m not a physicist, but I wonder from what distance down the lane this model’s predictions become reliably accurate. It might be interesting to pair it with a second model—one that helps bowlers achieve the needed initial
53.
▲
by
hwpythonner
1y ago
This is impressive work—feels like it should be packaged as a handbook for high-performance computing or even a practical guide for HFT developers. Great resource!
54.
▲
by
hwpythonner
1y ago
Try compiling with optimizations. I think by default this site doesn't add optimization flags. Here what happens with optimizations: https://godbolt.org/z/G18zd7chP Look at the registers usages vs stack
55.
▲
by
hwpythonner
1y ago
Not an expert in JS, but maybe this makes sense in JS where everything is passed as objects anyway and having a single param is often more readable there. But in native languages like C/C++/etc, this pattern usually hurts performa
56.
▲
by
hwpythonner
1y ago
I’m not deep into autodiff (just recall some calculus from university), but the syntax in this post reminds me a lot of ML (the programming language, not machine learning) I know autodiff isn’t lambda calculus, but the expression-based stru
57.
▲
by
hwpythonner
1y ago
Proof? Research?
58.
▲
by
hwpythonner
1y ago
The whole “AI doesn’t understand” argument assumes we do. John Searle’s Chinese Room makes the case: a person follows rules to manipulate Chinese symbols without knowing the language. From the outside, it looks like understanding—but inside
59.
▲
by
hwpythonner
1y ago
I visited California last summer and even the most basic 2-star motels — like on the outskirts of San Diego — were going for over $300 a night. Nothing fancy, just clean sheets and a door. I think a big part of the drop in European tourism
60.
▲
by
hwpythonner
1y ago
I think the missing piece here is why we’d want P2P live streaming in the first place. If the goal is to cut costs — like vendors trying to avoid AWS/CDN bills — that’s a very different problem than building for censorship resistance o
More ›