3 ms·
This looks pretty awesome and well-written! I'm surprised it should be slower than CPython. Are all objects reference types in this language like in Python? Wha
by mehrdadn 6y ago
This looks pretty awesome and well-written! I'm surprised it should be slower than CPython. Are all objects reference types in this language like in Python? What kinds of bottlenecks are there currently?
- codr7 6y agoI suspect much of the speed difference is due to choosing a slower dispatch method. All objects except threads so far are value types, including coroutines, and I plan to push that angle further since I'm a huge fan. But nothing is stopping you from adding a custom type that stores shared_ptr:s or whatever.
- mehrdadn 6y agoAhh cool! I hope it takes off :) it looks pretty great.