Comments (7)
@ramezrafla would you want to help me to embedded a new Component System that replaces WASI and WASM ? and makes Imports Obsolute i am working on that at a bigger scale directly in chromium and v8 as also nodeJS
Just JS is already the implementation that comes most near to that goal but first of all let me enlighten you about the documentation and the current state.
from just.
Hello @frank-dspeed
Thank you for pinging me. I am struggling to see the value-add of that new system.
-
WASM is meant as a way to get native-like code into JS. Namely transpiled native C++. WASM has no garbage collector (GC) built-in and has better support for typed variables. Useful for AI (OpenCV) and gaming (e.g. Unity) ...
-
Just-JS is able to provide us with native-like speeds on our API servers instead of NodeJS / PHP. It does this by being opinionated, light, worker-focused (vs. threads which increases GC overhead). Most applications are IO-limited so JustJS optimizes the 30-50% which are not IO. So in essence, any further optimization is going to hit diminishing returns (you invest more than you get back). At ~90% of native we are more than happy with its performance.
-
Any other improvements will relate to architecture (e.g. using Postgres which is the fastest open-source SQL DB at the moment, proper indexing, caching / redis etc) and improvements to V8. In other words we are hitting the theoretical limit at the moment. Just is even faster than some C++ framework.
from just.
@ramezrafla see:
from just.
hi @ramezrafla. i have got your DM and seen the above. apologies - am very busy with work right now but I will catch up with everything and get back to you over the weekend.
glad you were able to figure out the postgres issue - i think should be easy enough to add scram support - to date i just did what was required for techempower - there's quite a lot of functionality missing.
from just.
Thanks for the detailed write up on the internal implementation of Just. Still going through the nitty gritty. I still don't see the benefits. We are at 90% of the best framework. We have a large code-base (porting from Node etc.). We already have integrations with critical elements (a few missing).
From a business or development perspective, not sure why another framework or addition is needed. Sorry. Maybe I don't see it.
from just.
hi @ramezrafla. i have got your DM and seen the above. apologies - am very busy with work right now but I will catch up with everything and get back to you over the weekend.
Thanks so much @billywhizz
Looking forward! We are preparing what is needed to use in production. Would love to contribute as well.
glad you were able to figure out the postgres issue - i think should be easy enough to add scram support - to date i just did what was required for techempower - there's quite a lot of functionality missing.
The PG interface is very well-written. It's a great starting point for the community. We just need some guidance, will go a lot faster.
from just.
@ramezrafla i am trying to writing a book about the core principles and terminologies and all that so we can build up a community on the right fundamentals i identified many educational issues around the committee members of core infrastructure projects like nodejs and w3c cloudflare microsoft and so on.
would love to get input and even examples written in the easy simple terminologie distinguished.
so maybe create a issue about your pg experience and just: so that i can see what your problems where and how we can improve the communication with the world.
from just.
Related Issues (20)
- Unable to init new applications following directions in root/readme.md HOT 1
- 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
- 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.