349 points · by cloudhead · 7y ago · 117 comments
Other than that, great project, spot on license choice, and best of all, Rust!
I've been looking for distrbution mechanisms for a while now, and static binaries are not easy for applications with a GUI.
As for Metal, it just works better currently with the underlying libraries I'm using (GLFW + gfx-rs), than MoltenVK.
It's (Azure DevOps) not always the easiest/best, but it's pretty good... my preference when including the project mgt tools.
Let me ask it the other way: is there a reason to use MoltenVK if we have a Metal backend?
This doesn’t apply to commercial software. Even if MoltenVK works flawlessly (I don't have experience with the technology), the only GPU API which does on Windows is Direct3D. For cross-platform stuff you want to support multiple GPU APIs, or you’ll have to spend a lot of money supporting users with broken/missing/nonexistent GL/VK drivers.
gfx-rs (which wgpu-rs is based on) is the closest thing one can get to a low overhead portable GPU API.
Likely the default of the underlying drawing library for Rust.
In addition, you have to install MoltenVK (a non-trivial task) if you want Vulkan on OS X.
Agreed.
Vi-style editing of pixel art is a new concept that needs to be demonstrated first and foremost to drive this project.
Kakoune is another software for which the uncommon editing paradigm is one of the main features, and it is presented rather well on their main page [0]. A set of animated demonstrations of the editing paradigm comes before a display of the general appearance of the software in realistic contexts.
[0]: https://kakoune.org/
With a static site generator, the GH readme file can be the website.
And perhaps for this overlap a tutorial is not needed, but it would be interesting to me to see it in action.
Says you. There is reason vim is not "dead" and it's not just cause "old people" still use it. Also, there are plenty of IDEs besides VS.
Finally, "vast majority" doesn't matter for shit with open source. One developer with an itch is enough. If there's a handful of others with same, all the better.
Similarly, IdeaVim is shown as option in first run dialog of IntelliJ-based editors.
Similarly with Emacs key map in most older IDEs.
On a more related note, I find it interesting that the GUI doesn’t appear to be a toolkit like QT, but lower level, like a GUI designed for in-game use.
This is the not-uncommon case where the irregular form is slowly losing ground to the regular form. It's possible that in a century, 'extensible' will be considered archaic.
[0] https://books.google.com/ngrams/graph?content=extendable%2C+...
I am considering using something like stretch[0] to handle layout concerns eventually.
I can't speak for this project, but what you're describing is an Immediate Mode GUI [1]. imgui is one that comes up a lot.
Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
On Ubuntu using i3 with vulkan drivers installed.The software you ran on a 25MHz machine was in all likelihood written in assembly, directly interfacing with the hardware of your machine, without even touching your windowing system (if you even had one, maybe you were running DOS). Modern operating systems frown on that sort of thing with extreme prejudice.
Speaking of Rust and UI, has the story moved beyond "DIY GL / Qt bindings / website backend" or are those still pretty much the options?
I think it's just Nvidia and GPUs for ARM SOCs. You need GPU drivers to use desktop anyway.
For me it was as simple as installing mesa-vulkan-drivers and re-launching rx. It is a very nice and minimal editor - well done
This is based on the cargo manifest: https://github.com/cloudhead/rx/blob/master/Cargo.toml
If you're interested in this space, there's also a lot of effort going into druid: https://github.com/xi-editor/druid
Edit: actually just see this sibling comment: https://news.ycombinator.com/item?id=21115680
Paradigm: http://reactivex.io/ Implementations: http://reactivex.io/languages.html
That being said the editor looks very cool! Congrats on shipping!
who cares? we all know how to use Google by now to narrow results by adding qualifying keywords to the query; it's not like I'm just going to search "rx" or even "rx rust" when I'm looking for this project (probably "rx rust pixel"). it's a complete non-issue.
Plus first result for "rx rust" lead me to https://github.com/ReactiveX/RxRust
At some point we will have to generate random strings for the name of our projects because all the "good" (or even "bad") ones are taken. :P
Your software has not more inherent value just because it is written in Rust.
Such comment would have made sense if this software was promoted in a more general board/website, but HN audience is mostly compound by developers, so technical aspects matter. On top of that, it also gives an idea about the popularity of a programming language.
Free software lives as long as people keep committing to it. If people want to learn rust they will maybe do so through contributions to free software. You see where this argument us going, language matters.
Why is it featured so heavily, instead of just in the build instructions? I don't know. Marketing? It appears to be by developer(s), for developers, and in the dev space Rust is very vogue right now.
Why do you assume bragging rights are not relevant enough?
Languages get mindshare because people see others using them to make stuff. Bragging is essential for growing languages.
People interested in rust but not particularly pixel editors, like several in this thread more interested in the graphics stack/current state of rust gui/graphics than pixel editor itself.
If a tool solves my problem I just use it.