[HN Gopher] Python extension language using accelerators
       ___________________________________________________________________
        
       Python extension language using accelerators
        
       Author : precsim
       Score  : 24 points
       Date   : 2021-09-22 07:10 UTC (15 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | toxik wrote:
       | The two other related projects I know are Numba and Cython. Worth
       | checking them out as well.
        
         | qorrect wrote:
         | Some similar projects are Pyston , PyPy and Rapids.ai
         | 
         | Pyston I was able to get a 15% increase in speed out of the
         | box. PyPy I could not get to work with my project
         | (numpy/pandas/ta-lib), I finally got everything to compile but
         | it blew through my 32 gigs in 10 seconds and crashed.
         | 
         | Pyccel, Cython, Numba and Rapids I have yet to try but am
         | interested in anyones experience.
        
           | bb1234 wrote:
           | If you are going to rewrite, you may want to consider Julia.
           | It will give you close to C speed, but will be as high level
           | (or higher level) than Python.
        
         | 6gvONxR4sf7o wrote:
         | Cython is so great. The two easiest ways I know to speed up
         | python are 1) can I write this arraywise with enough cleverness
         | (it's much more frequently doable than I always expect, and
         | often comes with clarity gains) and just use numpy, and 2) just
         | use cython. If cython wasn't such a pain in the ass to debug,
         | maybe we'd all be writing cython instead of python today.
        
       | mkesper wrote:
       | From the Quickstart Guide (https://github.com/pyccel/pyccel/blob/
       | master/tutorial/quicks...):
       | 
       | Pyccel's main goal is to resolve the principal bottleneck in
       | scientific computing: the transition from prototype to
       | production. Programmers usually develop their prototype code in a
       | user-friendly interactive language like Python, but their final
       | application requires an HPC implementation and therefore a new
       | production code. In most cases this is written in a statically
       | compiled language like Fortran/C/C++, and it uses SIMD
       | vectorization, parallel multi-threading, MPI parallelization, GPU
       | offloading, etc.
       | 
       | Sounds interesting!
        
       ___________________________________________________________________
       (page generated 2021-09-22 23:01 UTC)