json-parser-in-typescript-very-bad-idea-please-dont-use
ideas
json-parser-in-typescript-very-bad-idea-please-dont-use | ideas | |
---|---|---|
4 | 81 | |
431 | 1,654 | |
- | 0.6% | |
0.0 | 7.3 | |
over 3 years ago | 3 months ago | |
TypeScript | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-parser-in-typescript-very-bad-idea-please-dont-use
-
Python Type Hints Are Turing Complete
[1]: https://github.com/jamiebuilds/json-parser-in-typescript-ver...
- TypeScript Tricks I wish I knew when I learned TypeScript
-
Type-safe regular expression matching with named capture groups
Also, shoutout to this guy who implemented a json parser in typescript types. This is what gave me the idea.
-
I need to learn about TypeScript Template Literal Types
The next examples get progressively more bonkers, so I'm not going to write down all my thinking about them - you should check them out though and see if you can see how they work. The JSON parser is probably the best mix of complex and readable.
ideas
-
Type information for faster Python C extensions
Lower latency native calls in Python would be extremely useful, thank you for your work! Is the following GitHub issue the right place to monitor progress? https://github.com/faster-cpython/ideas/issues/546
I'm open to doing some benchmarking. Several of my libraries have pure CPython bindings (StringZilla, UCall, SimSIMD), and all perform low-latency SIMD-accelerated ops, so might be a good testing ground :)
-
How Many Lines of C It Takes to Execute a and B in Python?
Recent CPython development has been towards optimizations and addressing use cases that benefit from optimizations, some coming from the faster CPython initiative. You might just get your JIT[1].
[1] https://github.com/faster-cpython/ideas/wiki/Workflow-for-3....
-
GIL removal and the Faster CPython project
The faster-cpython folks seem to be working towards a JIT (https://github.com/faster-cpython/ideas/tree/main/3.13) and both pyston and cinder have JITs. So I don't think anyone has ruled one out.
-
Our Plan for Python 3.13
faster-cpython team has done a lot of work to experiment on it: https://github.com/faster-cpython/ideas/issues/485#issuecomm...
It kind of sounds like migration to register based is a foregone conclusion, but it's not very clear to me.
-
Faster CPython at PyCon, part two
lots of big ideas are still remaining to be done. One example is the register based interpreter, see https://github.com/faster-cpython/ideas/issues/485
A previous plan called for the beginning of a JIT in 3.12, seen as "Trace optimized interpreter" here: https://github.com/faster-cpython/ideas/wiki/Workflow-for-3....
- EdgeDB – A graph-relational database built on top of Postgres
- Python 3.12 Nogil Benchmark
What are some alternatives?
xlcalculator - xlcalculator converts MS Excel formulas to Python and evaluates them.
Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
python-typing-machines - Python type hints are Turing complete.
faster-cpython - How to make CPython faster.
awesome-template-literal-types - Curated list of awesome Template Literal Types examples
Pyjion - Pyjion - A JIT for Python based upon CoreCLR
typanion - Static and runtime type assertion library with no dependencies
pyenv-virtualenv - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
pydantic - Data validation using Python type hints
jnumpy - Writing Python C extensions in Julia within 5 minutes.
typing-euler - Typing Euler because values are code smells
nogil - Multithreaded Python without the GIL