Comments (5)
I'm onboard for Cython - after things stabilize, of course. 👍
from pycraft.
How do you feel about CFFI? I'd prefer pypy compatibility for the server side, if it's reasonable to do that.
I haven't really worked with either.
from pycraft.
The advantage of Cython is that it would allow us to selectively speed up hotspots in the code with relatively little work, by compiling those modules to C. CFFI is more about talking to existing C code. I don't think using Cython would preclude PyPy compatibility, though, but I'd have to check.
from pycraft.
Well I'm not going to get in the way of any pull requests. I don't think there's any compelling reason to keep it in a separate fork.
from pycraft.
Sure thing. I mention it only because it means the modules in question have to be essentially rewritten in Cython (it's a variant of Python with type hinting and some other changes), but we can try it out little by little and see how disruptive it is. Just compiling the code as-is yields only about a 15-20% improvement in performance; the really big gains require some rewriting.
It might also be possible to use the Cythonized version of a module if Cython is present in this particular installation, or fall back to the more general one if it's not.
from pycraft.
Related Issues (20)
- Make textures clearly belong to blocks HOT 3
- Seperate "world" and "window" HOT 1
- util.normalize() is rounding? HOT 9
- Define a structure for Game States HOT 1
- Current queue is stupid.
- Destroying hidden blocks causes keyerror.
- Regular rather than matrix addition HOT 5
- normalize HOT 1
- Basic Work? (Finding new textures) HOT 14
- test_licences failing HOT 4
- Decoupling view and world logic. HOT 2
- Fog doesn't work on Mac HOT 1
- Placing WeakStone causes KeyError
- Right click places two blocks HOT 5
- What are the Intended Target platforms for pycraft? HOT 3
- The 'pip install -e .' command doesn't work HOT 12
- Crash and error HOT 2
- HUGE terrain gen improvement HOT 2
- Depend on redis? (if you use a non-unix platform, please give this a read) HOT 7
- Better installation instructions for readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycraft.