DEV Community

Discussion on: Which Linux Desktop Environment will be the best for you?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

The question I have is how do you write your own desktop? Give an example, electron for node.js based desktop

Collapse
 
imtiazsakib profile image
Nazmus Sakib

ya, Unfortunately, I haven't seen too many performant softwares written in electron(except VScode & handful others). May not be a good idea!

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

Depends what you mean by perfomant, I had the idea of writing most of the backend in rust with wasm. If electron is out then thier may be lighter alternatives.

WASM can be multithreaded also if that was a concern, plus FS is exposed from libc if used in node context. In other words I think it might actually now be a realistic premise.

Collapse
 
jachdich profile image
Jachdich

I'm not sure a JS based DE is a good idea. Almost all DEs are written in C(++). I have no experience myself but I reckon JS would be too slow.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Yeah I didn't plan to write the logic in anything other than web assembly.