Unladen Swallow Retrospective
qinsb.blogspot.com
Unladen Swallow Retrospective
1–10 of 34 posts
Re: Unladen Swallow Retrospective
#2I want to ask: What lasting effects did the work that went into Unladen Swallow have on any Python implementations (or any other languages)? What "legacy" was left?
Re: Unladen Swallow Retrospective
#3The blog post touched on it briefly with regards to PyPy but I wanted to ask here since I'm sure someone knows a lot more than I do on this. I didn't follow unladen swallow very closely, but it seemed like an exciting project from the get-go. Its sad to see it go, but it appears its not in vain. I want to ask: What lasting effects did the work that went into Unladen Swallow have on any Python implementations (or any…
Re: Unladen Swallow Retrospective
#4Re: Unladen Swallow Retrospective
#5Somewhat relevant to the topic - Mike Pall discusses (2009) the usage of llvm for lua - he's not ditching the approach, just pointing out the difficulties, and why he took on making luajit the way it is: http://lua-users.org/lists/lua-l/2009-06/msg00071.html
Re: Unladen Swallow Retrospective
#6The blog post touched on it briefly with regards to PyPy but I wanted to ask here since I'm sure someone knows a lot more than I do on this. I didn't follow unladen swallow very closely, but it seemed like an exciting project from the get-go. Its sad to see it go, but it appears its not in vain. I want to ask: What lasting effects did the work that went into Unladen Swallow have on any Python implementations (or any…
Re: Unladen Swallow Retrospective
#7Somewhat relevant to the topic - Mike Pall discusses (2009) the usage of llvm for lua - he's not ditching the approach, just pointing out the difficulties, and why he took on making luajit the way it is: http://lua-users.org/lists/lua-l/2009-06/msg00071.html
A big one Mike misses (because it isn't as critical for Lua AFAIK) is escape analysis. For PyPy our aggressive escape analysis can bring huge wins on things like numeric code and some types of string processing, but no static compilers really do this type of optimization, because it's not very important in C-type languages.
Re: Unladen Swallow Retrospective
#8Earlier quoted context omitted.
A big one Mike misses (because it isn't as critical for Lua AFAIK) is escape analysis. For PyPy our aggressive escape analysis can bring huge wins on things like numeric code and some types of string processing, but no static compilers really do this type of optimization, because it's not very important in C-type languages.
Out of curiosity what makes this such a big win for Python, but not so much for Lua or C-type languages?
Re: Unladen Swallow Retrospective
#9Earlier quoted context omitted.
A big one Mike misses (because it isn't as critical for Lua AFAIK) is escape analysis. For PyPy our aggressive escape analysis can bring huge wins on things like numeric code and some types of string processing, but no static compilers really do this type of optimization, because it's not very important in C-type languages.
Out of curiosity what makes this such a big win for Python, but not so much for Lua or C-type languages?
Also, since C allows access to raw-memory by design, it can't guarantee that, say, my memory allocation in function f() isn't touched by my funky pointer-arithmetic in function g(). (Perhaps in theory it could, but in practice this problem is mind-blowingly difficult.)