| ▲ | pansa2 18 hours ago | ||||||||||||||||
> in a language subset you're always encountering things you would have in the full language Exactly. I once pitched the idea of a Python subset (with a different focus, not performance like SPy), and almost every reaction was "will it support <favourite Python feature / favourite library>". For example, a new language can build its own solution for array math, or maybe that's not something its users need. OTOH many consider a Python subset to be unacceptable if it doesn't specifically support NumPy. In the end I came to agree with https://pointersgonewild.com/2024/04/20/the-alternative-impl...: > positioning your project as an alternative implementation of something is a losing proposition > don't go trying to create a subset of Python [...] Do your own thing. That way, you can evolve your system at your own pace and in your own direction, without being chained by expectations that your language should have to match the performance, feature set, or library ecosystem of another implementation. | |||||||||||||||||
| ▲ | semi-extrinsic 2 hours ago | parent | next [-] | ||||||||||||||||
I think Python is a bit special in this case, as many people tend to use it more like duct tape for connecting different libraries (which often contain compiled and optimized code) rather than a language for doing stuff bottom-up. | |||||||||||||||||
| ▲ | HanClinto 14 hours ago | parent | prev [-] | ||||||||||||||||
I can see the wisdom in this. As a counter-example, it feels as though Typescript has managed to (largely?) succeed as a subset of Javascript, so maybe the "do your own thing" isn't entirely a lost-cause -- maybe it's just really really difficult? | |||||||||||||||||
| |||||||||||||||||