DEV Community

Discussion on: Looking for a lightweight nodejs project

Collapse
 
deciduously profile image
Ben Lovy

I think for certain workloads deno may be appropriate, but low memory footprint isn't necessarily a primary goal.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Ahh yes, been there, Deno is great in terms of goals but it's not ready, it doesn't have compatibility with node modules (yet?) Understandable really. I'm rather stupidly working on a Linux desktop environment in js and would have loved to use it but developers from all over JavaScript land should be able to extend this thing. I am trying to spawn node processes and embed that into an electron like environment (lighter) but the node processes weigh in at 8mb with nothing but runtime.

I am looking at ms edge chacracore on node which is supposed to be better, we shall see.

Collapse
 
deciduously profile image
Ben Lovy

Color me intrigued

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

IL let you know when I have a repo, the plan is to use rust WASM to do heavy lifting, even run on the Kernal because apparently that's a thing haha

Thread Thread
 
deciduously profile image
Ben Lovy

Wasm is the coolest new thing.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

100% hip and cool, I just want to do some rust in Wasm which sounds really appealing. An entire desktop that is super portable, powered by the future and unicorns.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Saying that, I could just use it and wait for said compatibility.

Also I am a little unsure how safe it is the way Deno imports over Https and does that get cached.