3 ms·
Nothing. I don't mean to insult the author with this, but he is a 15 year old with a month old project. It's a toy. Toys are great, and teenagers attempting som
by RogerL 4y ago
Nothing. I don't mean to insult the author with this, but he is a 15 year old with a month old project. It's a toy. Toys are great, and teenagers attempting something like this is outstanding, but they are toys.
This parses the python and more or less does one for one text replacement. That's a strategy that doesn't scale. It doesn't handle any of Python's dynamic features (x=1, wait, now x="hi" and all the rest), on and on. His claims of 20x speed are based on super simple functions; these numbers will not scale into real scripts/programs. It cannot compile most of the standard lib. It doesn't handle classes, or exceptions. Basically you get simple if/while/for constructs and def func().
His claims that it is faster/better than other mature projects that do work are hubris. Excusable perhaps because of his age, but time to learn.
Lots of assertions on my part, but I'm basing it on this reddit thread:
https://www.reddit.com/r/Python/comments/w7vlim/i_made_a_python_compiler_that_can_compile_python/ https://www.reddit.com/r/Python/comments/w7vlim/i_made_a_pyt...
Omyyyy, if you are reading this, I'm impressed you got as far as you did, and are continuing to work on it, and don't intend to belittle you. But you are way overselling it and I'm pretty sure you don't understand how you have painted yourself into a corner you cannot get out of due to the simplistic conversions you are doing. Buy a compiler book and start reading!
- wiz21c 4y agoOmyyyy, if you are reading this, these may seem harsh comments but they are very good. If you have been able to code your project that far, then you're ripe to get serious about the stuff. Go read books, you'll be amazed !
- nope96 4y ago> Buy a compiler book and start reading! so what's a good first book for a 15 year old to pick up?