-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Low level rewrite #838
Comments
Although this would be cool, I cannot imagine that it is something that is easily done as writing complicated UIs in low-level languages is generally harder and you could not easily just "copy-paste" the code and adapt it a bit. This would require a FULL rewrite. This is just my opinion by the way. See also this pinned issue by the creator: #769 |
I already read the pinned issue, but I fear, it's not meant to be rewritten in low level languages. |
I want to start by saying this is not a universal truth. On most computers sold after ~2018, it runs just fine - I've seen 60+ FPS on what was originally a Chromebook. At release, it ran like shit, because the code itself is not really a marvel of engineering, but I've patched in some optimizations since (notably, eDEX is very good at scaling to multiple threads/cores). But I digress.
Define efficiency. Is efficiency putting less stress on hardware resources and rendering more frames a second? Then yes, probably, it could be hugely more efficient. But we're not talking about some server-side enterprise software, we're talking about a UI experiment. So what's efficiency for a UI experiment? It's at what speed you code in new features. It's how fast you get those features in front of people. And let's not forget everyone uses different platforms - good luck distributing a multi-platform GUI Rust desktop app. The idea of eDEX-UI did not magically pop up in my mind. The name is actually a combination of "e" for Electron, and DEX-UI, the original project - which really should tell you just how creative I am. DEX-UI was actually written in C++/C with OpenFrameworks. So does it perform better? Well I can't tell you because it's been 4 years and I still haven't figured out how to install it. And I'm not alone, hence why it didn't spread as much as this one did. Sorry, Seena.
I'm very glad to read that! So, let's recap: I packaged some interesting UI concepts, some new, some old, in a experimental app. How efficient is that? 😉 Sorry for the whole write-up, but you're not the first one to talk about this and now I'll have a comment to link to whenever that pops up again. |
Thank you for explaining this stuff. I really don't like js (prejudice, I know), but your rant puts it pretty much into perspective. As a user, I would say gime, gime, gime! Of course as ex cobol, C, Rust programmer ..... As I am mostly user now, I really would like to check out the app. The only reason I am hesitant is because Fedora has not yet incorporated it into their repository. But I certainly will check out the code. Once I trust it, I suspect it is awesome (yeah, I saw a review on youtube). Thank you very much for your effort of maintaining and expanding on the code! |
My PC is already a few years old, but I used powerful hardware back then. Most things work well, it's just about terminals with many refrehs per second.
Just compare cmatrix on a regular terminal and eDEX. For sure, it's not as efficient as an optimized terminal.
Right, and it would be nice to see this stuff not only in an experiment.
That's not difficult. Some time ago I wrote some graphical rust program, which I tested on multiple systems:
I also just tried it. It's not a language problem. There is no documentation, no binaries, no standard format, you would use for installation (Makefile, cmake, autogen, etc.), and if I try to compile it like a typical C++ project, it just fails because some included files do not exist.
I would rather call this effective. But looks like you reached the goal you wanted to reach :) |
This code is already multi-threaded, & the one suggestion I was going to make, upgrade to the latest Electron (for the newest fastest Chrome V8) @GitSquared already completed around the time of your last reply. Maybe do a rebuild from source & see if that is a bit faster for you? Otherwise, sounds like you have a project for this winter @porky11 ;)
|
Perceived idea awesomeness
Perceived idea difficulty
Rewrite this in a lower level language like C (or Rust). This should be more efficient. Interactive stuff in eDEX runs pretty slow.
Maybe some idea for an alternative project.
It's probably best to fork a simple existing terminal emulator like xterm, st, alacritty, etc. and add features like in eDEX.
I think, the inbuilt file manager of eDEX is a pretty nice feature, which is very intuitive, but I didn't find an existing terminal emulator, which does this in a similar way.
I started to dislike file managers, but being able to select files and then just enter them as arguments automatically is very cool. It combines the positive aspects of both, file managers and terminal emulators.
I should probably try this myself, when I'm in the mood. But I wanted to share this anyway.
The text was updated successfully, but these errors were encountered: