justuse the same V8
justwould be servers and IoT?
just? I'm not going to start writing enterprise software with
justyet because I'm limited for libraries that I can use. However, if I have very specific needs, eg. serving a website with limited functionality then I'll go for it.
nodeand get back the result in
const res = node("./node-dependant-module").run("hello", "world")
@billywhizz: Thanks for the good API Examples for v8 and the Benchmarks i was aware that libuv slows down NodeJS i saw that via heatmaps and Also the GraalVM Demo of ES4X Showed that. But your Research results are awsome i will expand on that i just started fixing the libv8 builds so that they are less redundant and clean. I am Also working on some General Patterns and Documenting them.
Out of my view this solves a big usecase (Micro services) as this enables to Produce JS v8 Isolates. I was Working with GraalVM and DENO to reduce the needed layers but i was by far not as successfull as you,
If you need anything or got any plans feel free to msg me until then. Thanks for all that great Examples.
It's no problem! I didn't structure my message very well so that was my fault.
Awesome! I've been extremely excited to try it out so thank you for sharing the techempower.js server file and the justify library. The Justify syntax should be a breeze to learn for anyone coming from Express so I'm hoping JustJs will start attracting some of that crowd soon :)
Do you have any plans to add MacOS or Windows support? I know almost all the servers in the world run on Linux but I just thought it might be easier to get more people on the JustJs train if it was easier for developers to jump right in without having to configure WSL on Windows or a VM on MacOS. I'm currently a little busy right not but I would gladly help implementing it sometime soon if that's something you'd be interested in down the road.
Ahh I see. Would it be better to just create a branch for MacOS and Windows support so there aren't all the macros and #ifdefs when the time comes?
I totally agree that Linux is the best option for a production app. I'm currently on MacOS but I'm not very good with Docker so I'll see what I can do about adding a development environment for Mac. What exactly about JustJs is strictly Linux? Is it only because it uses epoll instead of kqueue for the event loop?
Sorry for all the questions. I can just do some more digging in the source code if you don't currently have the time to respond :)
Ahh okay! I've been thinking a lot about what you said before how Docker might work best for people on Mac and Windows. I understand now how you would essentially be reinventing the wheel trying to rewrite the code base to support Mac and Windows when Docker is already cross-platform compatible. I totally see why you don't want to spend time on cross-platform compatibility when there are bigger fish to fry such as getting close to a stable release. I'm on Mac though so I'm gonna go ahead and start working on an "Install Wizard" for Mac and Windows because I'm extremely excited to try Just out :) It will be using Docker as you suggested which will make it super simple to upgrade versions as development continues.
That would be awesome to have a Node.js compatibility layer. Even if Node's performance is pitiful, there's still so many useful libraries and frameworks that are built on top of it. I know a lot of developers would really appreciate being able to salvage code that they've already written and "port" it to Just.