graalpython
nqp
Our great sponsors
graalpython | nqp | |
---|---|---|
13 | 8 | |
1,110 | 333 | |
2.8% | 1.8% | |
10.0 | 9.5 | |
4 days ago | 5 days ago | |
Python | Raku | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
graalpython
-
socketify.py - Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3
HPy integration to better support CPython, PyPy and GraalPython
-
Oracle Contributing GraalVM Community Edition Java Code to OpenJDK
Here are some nice examples: https://www.graalvm.org/22.2/reference-manual/python/Interop...
This may be more readable: https://github.com/oracle/graalpython/blob/master/docs/user/...
-
Pyjion – A Python JIT Compiler
Isn't this what the GraalVM [1] guys are also trying to do? Seems like today the competition is between who is more polyglot than the other, JVM, CLR or WASM.
[1] https://github.com/oracle/graalpython
- Python stands to lose its GIL, and gain a lot of speed
- GitHub - oracle/graalpython: A Python 3 implementation built on GraalVM
- A viable solution for Python concurrency
- RustPython: A Python interpreter written in Rust
-
Stack Overflow Developer Survey 2021: "Rust reigns supreme as most loved. Python and Typescript are the languages developers want to work with most if they aren’t already doing so."
Graalpython is slowly taking shape, although it's still very alpha: https://github.com/oracle/graalpython
- Launch HN: Enso (YC S21) – Visual programming and workflow tool for data science
-
AST based scripting languages
https://github.com/oracle/graalpython is an AST interpreter for Python
nqp
-
how to make a context aware code evaluater like REPL
hi! I was looking at REPL-like evaluation of code from here and here, and tried to make a very small version for it, yet it fails:
-
DI as a first class citizen?
Second, any "inheritance" is optional. Quoting nqp's 6model overview with my added emphasis:
-
What's the position/name of Raku(formerly Perl6)'s `grammar` in parsing technology?
Considering it has a compiler (which generates an NFA), I do not think it is fair to call it an interpreter.
-
What would Raku look like without any syntactic sugar?
When I mention the Actor model, I specifically mean the Actor model, not "an actor model". That is to say, a mathematical theory, not an implementation. In contrast, ponder what you mean by "an object model". When I mention the "metamodel", I specifically mean "a framework [that] does not contain an implementation of classes, interfaces, roles, prototype objects and so forth".
-
Raku: features, community and main interpreter/VM
NQP is a compiler like MiniPerl for Perl 5. It is a bootstrapping tool which helps to compile the Raku parts of Rakudo and compile the libraries before running have compiled the libraries. Unlike MiniPerl for Perl 5 (which is an interpreter that can interpret all Perl syntax but miss some batteries: means without modules mixing Perl code and native code), NQP can only compile a "simplified Raku". NQP refers to both the compiler and the source code contained in files with the ".nqp" extension.
-
When implementing a language, what's your favourite backend?
I focus on the Raku stack: the compiler Rakudo which targets the compiler compiler NQP which targets multiple backends including MoarVM. (Which
-
Common standard library for language interop
NQP is a compiler compiler toolkit that targets multiple backends: JVM, JS, and MoarVM.
- Perl leader quits citing internal harassment
What are some alternatives?
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo
jython - Python for the Java Platform
qutebrowser-userscripts - userscripts for qutebrowser (written in Raku)
Cython - The most widely used Python to C compiler
Inline-Perl5 - Use Perl 5 code in a Raku program
Pyjion - Pyjion - A JIT for Python based upon CoreCLR
Sparrow6 - Raku Automation Framework
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
json - A tiny JSON parser and emitter for Perl 6 on Rakudo
hpy - HPy: a better API for Python
hubtodate - Automatically fetches and updates repositories from GitHub