top | item 33347472 (no title) bkanuka | 3 years ago I agree. This was honestly news to me - who very often uses Python for maths. However, I would never write the code as he did (instead I would rely on numpy/scipy). So I would also be intersted in a numpy version of the same test. discuss order hn newest ReflectedImage|3 years ago How exactly would you write a gameboy emulator in numpy/scipy?It's sequential code with fiddly side effects. I know I've written one.But I'm generally curious if this is in-fact possible in someway. adgjlsfhk1|3 years ago Numpy would probably be even slower here. Numpy is good when you have large arrays, but it adds roughly .1 to 1 us per call in overhead. bkanuka|3 years ago Without validating anything myself, I was able to find this post https://hilpisch.com/Continuum_N_Body_Simulation_Numba_27072... which showed a simple n-body program sped up by ~670 times when moving from pure python to numpy+numba. load replies (1)
ReflectedImage|3 years ago How exactly would you write a gameboy emulator in numpy/scipy?It's sequential code with fiddly side effects. I know I've written one.But I'm generally curious if this is in-fact possible in someway.
adgjlsfhk1|3 years ago Numpy would probably be even slower here. Numpy is good when you have large arrays, but it adds roughly .1 to 1 us per call in overhead. bkanuka|3 years ago Without validating anything myself, I was able to find this post https://hilpisch.com/Continuum_N_Body_Simulation_Numba_27072... which showed a simple n-body program sped up by ~670 times when moving from pure python to numpy+numba. load replies (1)
bkanuka|3 years ago Without validating anything myself, I was able to find this post https://hilpisch.com/Continuum_N_Body_Simulation_Numba_27072... which showed a simple n-body program sped up by ~670 times when moving from pure python to numpy+numba. load replies (1)
ReflectedImage|3 years ago
It's sequential code with fiddly side effects. I know I've written one.
But I'm generally curious if this is in-fact possible in someway.
adgjlsfhk1|3 years ago
bkanuka|3 years ago