Comments (4)
I'm not sure if there is anything actionable here. Patches that reduce memory consumption without reducing performance are always welcome, of course, but after that it becomes a fine line.
In many places, space is traded for performance, and that is normally preferable because memory is more abundant than CPU time. I imagine that something like a low-memory mode flag would be acceptable iff it doesn't add a lot of additional complexity. Pull requests are welcome!
from node.
http://runtimejs.org/ comes to mind. I'd love to see io.js take it and run with it.
At present, the runtime.js crew have the rather goofy target of only x86 (rightfully pleading they are resource constrained: runtimejs/runtime#27). Unikernel is cool and all, but in terms of people that need bare-metal support, it's definitely MIPS/ARM denizens that have the biggest burningest need. (Maybe projects such as https://github.com/RIOT-OS/RIOT can turn that around some?)
This thread has some details on what needs to go into an platform impl; perhaps a useful reference for anyone interested in a new target for node.
from node.
@bnoordhuis Yes, I was thinking something like a "lowmem" flag.
@rektide I wasn't asking to supplant the OS, although runtime.js is interesting....just provide better hooks for running on smaller footprints :)
from node.
see also: duktape
from node.
Related Issues (20)
- flaky: parallel/test-filehandle-close
- flaky: benchmark/test-benchmark-crypto HOT 1
- Cannot install Node20.12.2 Windows ARM (VMWare on M1 Mac) [fixed by uninstalling x64 first] HOT 1
- Tracking issue: compile cache HOT 1
- Tracking issue: require(esm) HOT 1
- Deadlock with worker threads and TLS `createSecureContext`
- node22 performance degradation HOT 7
- websocket HOT 4
- Inspector not starting with --watch flag before HOT 2
- [22 regression] Infinite recursion when setting `stat.atime` HOT 4
- [22 regression] Breaks gulp with `Cannot assign to read only property 'atime' of object '#<Stats>'` HOT 3
- Expose `process.env.NODE_OPTIONS` parser to user land HOT 2
- v22.0.0 breaks --v8-lite-mode build missing action for js-to-wasm-tq-csa.cc HOT 2
- Is `vcbuild` really needed
- `vm`: `constants` is undefined HOT 4
- Allow bailing early when test fails HOT 8
- Inconsistent presence of property in contextified object HOT 3
- Watch does not debounce restart when different files are updated within the debounce period
- gyp ERR! stack RangeError: Maximum call stack size exceeded HOT 8
- Could we support `corepack enable --yes`?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.