Comments (5)
this project isn't active anymore @Mupli. the thing i am working on currently is here.
not aiming for node.js compat for this low level library but plan on implementing as many of the WinterCG/Node.js api's on top of this at some point, if there is any interest.
from just.
too bad this project was 4th in the world if is about performance.
https://www.techempower.com/benchmarks/#hw=ph&test=composite§ion=data-r22
What was missing was the compatibility with the vast spectrum of js libraries that could be installed via npm.
I was looking into lo and it is too low level for me.
If there could be some wrapper that could make things easier and allow to use npm libs.
from just.
You can use NPM packages, just not packages that rely on some Node specific stuff
from just.
how you mean that i would need to:
- install just to system.
- npm init
3.. modify package.json with start: just app.js
Btw. why just is not in npm repository ?
from just.
hi @Mupli
the just-js/just project is not actively maintained anymore. just-js/lo is the current thing i am working on and, at some point, i may "resurrect" just-js/just as a more "batteries included" and "standard JS" compliant runtime built on top of lo.
if lo looks interesting, feel free to raise an issue on that repo and we can discuss. lo module resolution is not compatible with node/npm right now but, as an embedder, you can override module resolution and roll your own however you want. this would allow building something npm or jsr compatible on top of lo.
there's an example that should be working with latest lo here. if you run
$ lo loader.js lib/asm/asm.js
LO_CACHE=1 lo loader.js lib/asm/asm.js
lib/asm/asm.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/asm.js for lib/asm/asm.js from loader.js
1135
lib/asm/assembler.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/assembler.js for lib/asm/assembler.js from loader.js
13327
lib/asm/compiler.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/compiler.js for lib/asm/compiler.js from loader.js
1590
Assembler,Compiler,Registers
this will load the module over http from github and any modules it depends on. right now http (using libcurl) is synchronous/blocking but there will be a native async-compatible implementation of fetch ready soon. 🙏
from just.
Related Issues (20)
- Which V8 Version? HOT 1
- Tips on how to use external C/C++ modules
- just.library('http') return undefined (windows10 wsl2 ubuntu) HOT 8
- run on baremetal Raspberry Pi? HOT 1
- "Hello World" example HOT 9
- Lets Merge runtime-js and its kernel directly into this project HOT 1
- BIG ISSUE: WHERE CAN I SEND YOU MONEY HOT 7
- Mariadb Support HOT 4
- Next steps? We are all stuck at "Go"! HOT 7
- Documentation: The JustJS smol runtime Documentation. HOT 1
- PR: lib/snapshot.js (create, load, modify)
- Apache benchmark not working. HOT 2
- PR: cli api
- The Just js fundamentals and build instructions as a book
- Build failed with linker errors HOT 2
- avoid clock_gettime syscall by use vDSO HOT 1
- [Question] ESM Support? HOT 11
- EvalError: Code generation from strings disallowed for this context HOT 2
- Maintenance update? HOT 9
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 just.