Viewing profile — kenjin4096
kenjin4096
HN member- Joined
- Sun, Jun 04, 2023, 6:56 AM UTC
- HN karma
- 424
- Public activity
- 23 items
- HN profile
- View on Hacker News ↗
About kenjin4096
kenjin4096@gmail.com
Recent public activity
-
comment
Comment #49245353
Woops, I meant to write tail call optimization not tail calls. Shouldn't have used the term interchangeably. Yeah I'm aware that C doesn't have proper tail calls. Thanks for the co…
-
comment
Comment #49242686
I think Anton is replying to me in that LWN article IIRC. I personally didn't know C only had tail calls that late and learnt something new there! On the other hand, I am pretty ne…
-
comment
Comment #48996699
This is an intuitive step and I kind of did something similar initially (I simplified the diagram a lot, but it was basically what you are suggesting). However, it slowed down the …
-
comment
Comment #48996589
Pablo is a great speaker and I love Tachyon! However, this is a different type of/target for profiling. Tachyon profiles the entire CPython interpreter, this blog post is just type…
-
comment
Comment #47425894
Update: I put up a PR to document the trace recording interpreter https://github.com/python/cpython/pull/146110
-
comment
Comment #47423960
> I've never seen where the high level discussions were happening Thanks for your interest. This is something we could improve on. We were supposed to document the JIT better in 3.…
-
comment
Comment #47377623
I implemented most of the tracing JIT frontend in Python 3.15, with help from Mark to clean up and fix my code. I also coordinated some of the community JIT optimizer effort in Pyt…
-
comment
Comment #46397770
Tier-ups for trace-based JITs have been explored before. You can find an example here https://dl.acm.org/doi/abs/10.1145/2398857.2384630 I know LBBV isn't technically tracing, but …
-
comment
Comment #46387560
> Generally not that much has happened in 5 years, sometimes 10-15% improvements are posted that are later offset by bloat. Sorry but unless your workload is some C API numpy numbe…
-
comment
Comment #46387447
Woops, thanks for noticing, fixed!
-
comment
Comment #46386455
Yeah, I believe that statement and it seems to hold true for MSVC as well. Thanks for your work inspiring all of this btw!
-
comment
Comment #46385796
Thank you very much for the kind words, that means a lot to me!
-
comment
Comment #46385668
So it seems I was wrong, [[msvc::musttail]] is documented! I will update the blog post to reflect that. https://news.ycombinator.com/item?id=46385526
-
comment
Comment #46385327
Thanks :), that was indeed my intention. I think the previous 3.14 mistake was actually a good one on hindsight, because if I didn't publicize our work early, I wouldn't have caugh…
-
comment
Comment #46384633
Thanks for reading! For now, we maintain all 3 of the interpreters in CPython. We don't plan to remove the other interpreters anytime soon, probably never. If MSVC breaks the tail …
-
comment
Comment #46384608
Got it. I'll try to set one up this weekend.
-
comment
Comment #46344074
I'm the author of the thread you linked. Community stewardship is actually happening in some form or another now. 3.15 has some JIT upgrades that are in-progress. This has a non-ex…
-
comment
Comment #44503090
Hey Maxime! > whereas AFAIK the Python JIT project was lead by a student. I am definitely not leading the team! I am frankly unqualified to do so lol. The team is mostly led by Mar…
-
comment
Comment #44502960
Hi, author of the post here, stability indeed has been a priority. There are some points which are not exactly the case though: > - Most of the work has just been plumbing. Int/flo…
-
comment
Comment #43328760
This is a good point. We already observed this in our LTO and PGO builds for the computed goto interpreter. On modern compilers, each LTO+PGO build has huge variance (1-2%) for the…
-
comment
Comment #43319731
That's a fair question. The blog post mentions it brings a 1-5% perf improvement. Which is still significant for CPython. It does not complicate the source because we use a DSL to …
-
comment
Comment #43319693
We don't normally test with bleeding-edge compilers on the faster cpython benchmarks page because that would invalidate historical data. E.g. if 2 years ago we used GCC 11 or somet…
-
comment
Comment #43319441
Hello. I'm the author of the PR that landed the tail-calling interpreter in CPython. First, I want to say thank you to Nelson for spending almost a month to get to the root of this…