Live data from Hacker News

Python 3.14 compiled to metal – no interpreter

github.com

61–70 of 140 posts

Re: Python 3.14 compiled to metal – no interpreter

#61
post #47
post #7

Earlier quoted context omitted.

In 12 months… vibe code mess. Or discontinued. Or both.

How much time have you spent with Fable? We're in new territory here. It does not create messes.

> We're in new territory here.

> It does not create messes.

?

Re: Python 3.14 compiled to metal – no interpreter

#62
post #51

A few problems with this Fable's project: 1. It's not Python by any means, it's a subset with its own runtime, its own quirks and nuances; 2. It will be impossible to maintain parity with CPython without AI assistance; 3. It will die the same way as dozens of similar (even non-AI projects) died before, and reasons will be the same: (1) and (2).

>1. It's not Python by any means, it's a subset with its own runtime, its own quirks and nuances; A subset of python is python. Half a tomato is still tomato >2. It will be impossible to maintain parity with CPython without AI assistance What does that even mean? If you would have said that it's impossible to update to python 3.15 of further, I'd get it.

> A subset of python is python. Half a tomato is still tomato

A subset of a calculator is still a calculator, but that subset definitely can't do everything the full version can.

Re: Python 3.14 compiled to metal – no interpreter

#63
post #4
post #2

I hate to be that guy, but... one week old project, clear signs of vibing. I will be shocked if the remaining work listed (cpython test suite) proceeds in any reasonable timeline. This is a pretty hard problem to just solve in a week. EDIT: and man, these kind of comments LLM created comments are really starting to grind my gears as my job slowly turns into reviewing LLM PRs: > Known gaps at the language level are bu…

of course it is vibed. it doesn't matter as long as it works.

> it doesn't matter as long as it works.

I think the clankers would call this a "load bearing statement".

Re: Python 3.14 compiled to metal – no interpreter

#64
post #36

Earlier quoted context omitted.

> when it's vibed it works, until it doesn't and then it's really hard to make it work again Is it? People have solved AI bugs with AI. If some vibe project eventually hits some bug and stops working, what exactly stops using AI to fix it? Is the idea that bugs will go beyond the limits of AI capability? If you meant to say that when an AI vibe coded project beyond some complexity it's difficult for a human coder to…

The problem is the _way_ AI will solve an AI bug. I've seen the loop countless times. There's a creeping complexity and brittleness that creeps in over time as more and more complexity is left purely to the LLM agent. It will become unsustainable without a human understanding and making course corrections at some point.

In my experience, it just needs some high level guidance.

And it's quite easy to ask an AI to refactor a certain way too.

Re: Python 3.14 compiled to metal – no interpreter

#65
If AI can find new proofs for well posed math problems, i see no reason why it shouldn't be able to implement a more performant fully featured version of an existing interpreter (eg with JIT and AOT) that emulates python api well and passes all python tests and tests of other projects. It is true that a lot of human effort and thought has been put into squeezing performance out of the existing implementation. It is true that many people have found that getting that last 1% of python test suite to pass turned out to be insurmountably hard. Same is true for math, and yet AI sometimes finds simple solutions that we somehow missed. Maybe there's a simple optimization that was used in an obscure interpreter of a domain specific language that we never heard of. Worth a shot in my mind. If that turns out to be successful, we should ideally find the code that served "as an inspiration" if any.

It might make more practical sense to start from CPython and try to optimize that further though. It even has a "not fully fleshed out" JIT already.

Re: Python 3.14 compiled to metal – no interpreter

#66
post #32

Earlier quoted context omitted.

> Where's the magic in this project? What's the secret sauce? Someone else paying for the tokens. Also someone seeing it through (should that come). Obviously we're not "at the moment when most of us can ask Fable to implement a custom compiler to a custom target for our favorite language, and even use it as a part of custom solution", without thousands to spare and lots of time to shape the solution.

Even if it does cost thousands (does it? I genuinely have no idea how to scope such a thing) that might be a good price if a custom compiler to your custom target is something you really want. People have paid far more for far less. If you're a hobbyist trying to compile python to your weird little arduino based thing, then that's a lot of money and you would want to use somebody else's solution, no doubt. But if you…

>Even if it does cost thousands (does it? I genuinely have no idea how to scope such a thing) that might be a good price if a custom compiler to your custom target is something you really want. People have paid far more for far less.

I wouldn't spend $100K in tokens to get a custom bare metal Python. Or even $10K.

And I'd guess that most devs wouldn't either, unless they spend $10K like it's nothing.

People that have "paid far more for far less" are people who have the money to buy $10K watches, or fancy multi $1000 clothes.

Re: Python 3.14 compiled to metal – no interpreter

#70
post #36

Earlier quoted context omitted.

That's the neat part, when it's vibed it works, until it doesn't and then it's really hard to make it work again.

> when it's vibed it works, until it doesn't and then it's really hard to make it work again Is it? People have solved AI bugs with AI. If some vibe project eventually hits some bug and stops working, what exactly stops using AI to fix it? Is the idea that bugs will go beyond the limits of AI capability? If you meant to say that when an AI vibe coded project beyond some complexity it's difficult for a human coder to…

AI companies are unable to fix the bugs in their own text editors for years… no AI cannot fix bugs, clearly.
Post reply on HN