quickjs
Nuitka
quickjs | Nuitka | |
---|---|---|
72 | 101 | |
8,726 | 12,374 | |
1.9% | 2.1% | |
8.8 | 10.0 | |
5 months ago | 3 days ago | |
C | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
quickjs
-
Building Static HTML Pages with JSX Server-Side Rendering
Built on a highly optimized JavaScript runtime powered by QuickJS, Query offers fast startup times and efficient execution. Its built-in caching mechanism further enhances performance by storing function responses, reducing database load and latency. This focus on speed makes Query a standout choice for server-side rendering, especially in applications with many components.
- Lua Is So Underrated
-
Introducing our Next-Generation JavaScript SDK
Where the previous SDK was built on top of the QuickJS JavaScript engine and the Javy runtime, the new SDK is built on top of the Firefox browser’s SpiderMonkey engine, and the Bytecode Alliance’s StarlingMonkey runtime and ComponentizeJS WIT bindings generator.
- QuickJS JavaScript Engine
-
QuickJS: Handle Typescript Sourcemap
I'm currently using Bellard's QuickJS engine on a new TypeScript project.
- [Lab] AWS Lambda LLRT vs Node.js
-
What Is in a Rust Allocator?
You may be familiar, but I just wanted to show how it is available in many C implementations and is used, for example, in QuickJS: https://github.com/bellard/quickjs/blob/0c8fecab2392387d76a4...
-
Show HN: Happy Pi day with this PWA to cut 100k Pi digits offline
It uses service workers to cache static files, by the time it opens up you already free to be offline, try toggle network switch to verify.
It has download link at bottom of the about page ([accdoo.app/about]) which you could then self host it by dropping into any static hosting services.
btw, the Pi feature was by-product from the original App but I won't expand here, if you'd like to learn more, please checkout its two Show HN post (39115559 and 39138957) previously.
[wiki]: https://en.wikipedia.org/wiki/Chudnovsky_algorithm
[quickjs/pi]: https://bellard.org/quickjs/pi.html
[pi_bigint.js]: https://github.com/bellard/quickjs/blob/master/examples/pi_b...
[accdoo.app/about]: https://accdoo.app/about#releases
[39115559]: https://news.ycombinator.com/item?id=39115559
[39138957]: https://news.ycombinator.com/item?id=39138957
-
Ask HN: C/C++ plugin make JavaScipt end up with C/C++ binary?
Just go with quickjs, I think this is what you are looking for.
https://bellard.org/quickjs/
- Show HW: accdoo cipher web app now fused with offline Pi cutter (100k digits)
Nuitka
- Nuitka the Python Compiler
- Nuitka: Optimizing Python compiler compatible with CPython
- Nuitka Is a Python Compiler
-
Cosmopolitan v3.5.0
You can probably generate C code from Python now with Nuitka and pump that into this Cosmopolitan tool, today, to get that?
https://nuitka.net/
-
Ruby: A great language for shell scripts
You could try Nuitka [1], but I don't have enough experience with it to say if it's any less brittle than PyInstaller.
[1]: https://nuitka.net/
- Nvidia Warp: A Python framework for high performance GPU simulation and graphics
-
PyPy has been working for me for several years now
Nuitka is actively maintained and support for 2.6 and 2.7. It is the work of a single guy, and I have never used it, so I don't know much about it.
https://nuitka.net/
-
Py2wasm – A Python to WASM Compiler
Thanks for the feedback! I'm Syrus, main author of the work on py2wasm.
We already opened a PR into Nuitka to bring the relevant changes upstream: https://github.com/Nuitka/Nuitka/pull/2814
We envision py2wasm being a thin layer on top of Nuitka, as also commented in the article.
From what we gathered, we believe that there's usefulness on having py2wasm as a separate package, as py2wasm would also need to ship the precompiled Python distribution (3.11) for WASI (which will not be needed for the other Nuitka use cases), apart of also shipping other tools that are not directly relevant for Nuitka
-
Python Is Portable
This is a good place to mention https://nuitka.net/ which aims to compile python programs into standalone binaries.
-
We are under DDoS attack and we do nothing
For Python, you could make a proper deployment binary using Nuitka (in standalone mode – avoid onefile mode for this). I'm not pretending it's as easy as building a Go executable: you may have to do some manual hacking for more unusual unusual packages, and I don't think you can cross compile. I think a key element you're getting at is that Go executables have very few dependencies on OS packages, but with Python (once you've sorted the actual Python dependencies) you only need the packages used for manylinux [2], which is not too onerous.
[1] https://nuitka.net/
[2] https://peps.python.org/pep-0599/#the-manylinux2014-policy
What are some alternatives?
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
PyInstaller - Freeze (package) Python programs into stand-alone executables
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
pyarmor - A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
mjs - Embedded JavaScript engine for C/C++
PyOxidizer - A modern Python application packaging and distribution tool
edex-ui - A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
py2exe - modified py2exe to support unicode paths
esp8266-quickjs - An attempt on getting QuickJS working on ESP8266 hardware
false-positive-malware-reporting - Trying to release your software sucks, mostly because of antivirus false positives. I don't have an answer, but I do have a list of links to help get your code whitelisted.
v8go - Execute JavaScript from Go
py2app