GithubHelp home page GithubHelp logo

Comments (7)

frank-dspeed avatar frank-dspeed commented on May 14, 2024

@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.

ramezrafla avatar ramezrafla commented on May 14, 2024

Hello @frank-dspeed
Thank you for pinging me. I am struggling to see the value-add of that new system.

  1. 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) ...

  2. 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.

  3. 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.

frank-dspeed avatar frank-dspeed commented on May 14, 2024

@ramezrafla see:

from just.

billywhizz avatar billywhizz commented on May 14, 2024

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.

ramezrafla avatar ramezrafla commented on May 14, 2024

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.

ramezrafla avatar ramezrafla commented on May 14, 2024

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.

lemanschik avatar lemanschik commented on May 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.