NodeOS
Nuitka
Our great sponsors
NodeOS | Nuitka | |
---|---|---|
40 | 91 | |
6,892 | 10,616 | |
0.2% | 2.3% | |
0.0 | 10.0 | |
about 1 year ago | about 22 hours ago | |
Shell | Python | |
MIT License | 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.
NodeOS
- Node-OS – The first operating system powered by Node.js and NPM
- Unpopular Opinion: Most Electron Apps Can Be Built With Nice UI & Performance In Rust Or C++
-
Why even have other programming languages?
Can I introduce you to Node-OS? https://node-os.com/
-
so umm... what's Linux written in ? 🤣
NodeOS
-
Here we go again…
Deep down we all know node OS is king
- Let's write Operating System in JavaScript
-
Wanna Code? JavaScript.
JavaScript
-
any Node-OS enthusiats?
for the most adventurous distrohoppers: http://node-os.com/
Update: I'm sad
-
My job right now..
Operating system? Straight to JavaScript.
Nuitka
-
Faster Blogging: A Developer's Dream Setup
glee is rich in blogging features but has some drawbacks. One of the main drawbacks is its compatibility with multiple operating systems and system architectures. We lost one potential customer due to glee incompatibility in macOS. Another major issue is the deployment time. We built the first version of glee entirely in Python and used nuitka, nuitka compiles Python programs into a single executable binary file. We need to create three separate stages for creating executable binaries for Windows, Mac, and Linux in deployment, and it takes around 20 minutes to complete.
-
Python 3.13 Gets a JIT
There is already an AOT compiler for Python: Nuitka[0]. But I don't think it's much faster.
And then there is mypyc[1] which uses mypy's static type annotations but is only slightly faster.
And various other compilers like Numba and Cython that work with specialized dialects of Python to achieve better results, but then it's not quite Python anymore.
-
Briefcase: Convert a Python project into a standalone native application
Nuitka deals pretty well with those in general: https://nuitka.net/
-
Why not tell people to “simply” use pyenv, poetry or anaconda
That's more of cultural problem in the Python community.
If I provide an end user software to my client written an Python (so not a backend, not a lib...), I will compile it with nuitka (https://github.com/Nuitka/Nuitka) and hide the stack trace (https://www.bitecode.dev/p/why-and-how-to-hide-the-python-st...) to provide a stand alone executable.
This means the users don't have to know it's made with Python or install anything, and it just works.
However, Python is not like Go or Rust, and providing such an installer requires more than work, so a huge part of the user base (which have a lot of non professional coders) don't have the skill, time or resources to do it.
And few people make the promotion of it.
I should write an article on that because really, nobody wants to setup python just to use a tool.
- Python cruising on back of c++
-
Extending web applications with WebAssembly and Python
> Your comment would make sense if Python code could be compiled into x86 or ARM assembly in the first place.
It can actually be compiled (or transpiled) into C code [1] with few limitations, so I can't see why not.
-
Codon: Python Compiler
Just for reference,
* Nuitka[0] "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."
* Pypy[1] "is a replacement for CPython" with builtin optimizations such as on the fly JIT compiles.
* Cython[2] "is an optimising static compiler for both the Python programming language and the extended Cython programming language... makes writing C extensions for Python as easy as Python itself."
* Numba[3] "is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code."
* Pyston[4] "is a performance-optimizing JIT for Python, and is drop-in compatible with ... CPython 3.8.12"
- Is there a way to use turn a project into a single executable file that doesn't require anyone to do anything like install Python before using it?
-
Python-based compiler achieves orders-of-magnitude speedups
So the differences:
https://docs.exaloop.io/codon/general/differences
So more limited types (integers) and more type checking and collections have to have one kind of thing in them.
There are other python compilers though, like https://github.com/Nuitka/Nuitka
I wonder really what the advantages/disadvantages of these are?
-
List of all subreddits on reddit
I also compiled it with Nuitka and was able to process a ~35 million line file in 1 hour and 22 minutes, averaging about 6,800 lines per second.
What are some alternatives?
PyInstaller - Freeze (package) Python programs into stand-alone executables
pyarmor - A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
PyOxidizer - A modern Python application packaging and distribution tool
py2exe - modified py2exe to support unicode paths
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.
py2app
ttkbootstrap - A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
pynsist - Build Windows installers for Python applications
Poetry - Python packaging and dependency management made easy
dh-virtualenv - Python virtualenvs in Debian packages
PDFKit - A JavaScript PDF generation library for Node and the browser
false-positive-malware-reporti