[HN Gopher] Shed Skin - A (restricted) Python-to-C++ Compiler
       ___________________________________________________________________
        
       Shed Skin - A (restricted) Python-to-C++ Compiler
        
       Author : PaulHoule
       Score  : 15 points
       Date   : 2024-01-03 19:22 UTC (3 hours ago)
        
 (HTM) web link (shed-skin.blogspot.com)
 (TXT) w3m dump (shed-skin.blogspot.com)
        
       | dang wrote:
       | Related. Others?
       | 
       |  _Shed Skin restricted-Python-to-C++-compiler 0.9.6_ -
       | https://news.ycombinator.com/item?id=34187463 - Dec 2022 (4
       | comments)
       | 
       |  _Shed Skin 0.3 - An Optimizing Python-to-C++ Compiler_ -
       | https://news.ycombinator.com/item?id=1084282 - Jan 2010 (1
       | comment)
       | 
       |  _Shed Skin - An Optimizing Python-to-C++ Compiler_ -
       | https://news.ycombinator.com/item?id=1050514 - Jan 2010 (5
       | comments)
       | 
       |  _Shed Skin: An experimental (restricted) Python-to-C++ compiler_
       | - https://news.ycombinator.com/item?id=867014 - Oct 2009 (3
       | comments)
       | 
       |  _An Optimizing Python-to-C++ Compiler_ -
       | https://news.ycombinator.com/item?id=331404 - Oct 2008 (2
       | comments)
        
       | grandma_tea wrote:
       | At first glance, I was confused about why I've never paid
       | attention to this before. This sounds awesome.
       | 
       | Then I saw that they only just pivoted Python3. Nice. :)
        
       | emmelaich wrote:
       | I thought this was the ancient announcement but it is from Dec 27
       | 2023.
       | 
       | It's about Python3 support for this Python-to-C++ compiler.
       | 
       | Not clear at a glance whether it's Python3 changes in the code or
       | supporting Python3 to C++. I guess both.
        
         | nantes wrote:
         | > This does not mean that every Python3 feature is supported,
         | but what was there now at least works fine with Python3.. For
         | example, unicode is still restricted to 1-byte characters, and
         | there is no support (yet) for nice new features such as
         | f-strings. Python2 support has been dropped with the new
         | release, and subsequent releases should add support for various
         | new Python3 features.
        
       | emmelaich wrote:
       | Sorta relatedly the Python to Golang system "Grumpy" seems to be
       | moribund. I guess there's no real demand for it. Though I'm
       | curious if there's been unpublished improvments.
       | 
       | https://github.com/google/grumpy
        
       | MathMonkeyMan wrote:
       | I used Shed Skin in the long long ago to speed up a solver for a
       | queuing problem I was playing with.
       | 
       | The journey was:
       | 
       | - naive python solver: https://github.com/dgoffredo/wait-
       | time/blob/master/solver.py
       | 
       | - "optimized" solver that ended up being slower due to more time
       | spent in the python interpreter:
       | https://github.com/dgoffredo/wait-time/blob/master/solver_op...
       | 
       | - used Shed Skin to speed up the python bits, but I don't recall
       | whether I got it to integrate with the fsolve module (I doubt it
       | in retrospect)
       | 
       | - rewrote it all in C++ templates using some professor's linpack
       | port; MUCH faster:
       | https://github.com/dgoffredo/hybrd/blob/d84013352797e61d449b...
        
       ___________________________________________________________________
       (page generated 2024-01-03 23:01 UTC)