12 ms·
Brython is impressive. It renders quite well a lot of Python features. Even things like yield from, sets, generator.send(), dict.fromkeys, multiple inheritance
by sametmax 10y ago
Brython is impressive. It renders quite well a lot of Python features. Even things like yield from, sets, generator.send(), dict.fromkeys, multiple inheritance and 0b1100101.
But there are several problems with brython:
- it can't render some obscure Python features. It's very hard to do a complete Python implementation. E.g: metaclass will fail.
- debugging is terrible.
- 120ko gziped to pay upfront, just to write code. No virtual dom or routing.
Interesting concept none of the less. In electron it can be interesting.