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.
i love to see just-js at https://www.techempower.com/
when will just-js be released to version 1.
I'm happy waiting for the development of just-js
and when i say simplicity i am talking about it in this sense: https://www.infoq.com/presentations/Simple-Made-Easy/. the runtime is simple. anyone with some basic knowledge of JS and C/C++ could look at the codebase and figure out very quickly what is actually going on. it has hardly any dependencies beyond the linux kernel and v8. imho, the problem with a lot of frameworks and platforms is they provide layers and layers of complex abstractions on top of what is actually happening at the system level. this leads to developer confusion, poor mental models and an inability to detect and diagnose production issues when they happen. this is a much bigger waste of time and resources than having to write a little more code or think a little longer up front the way i see it.
I'm searching the history and your thoughts - that's exactly what I believe as well. Software is getting worse because of the abstractions. Abstractions not always work. Coding anything is not a problem. The problem is figuring out a bug when you don't understand all the layers below you.