[HN Gopher] My Pure Rust Wishlist
       ___________________________________________________________________
        
       My Pure Rust Wishlist
        
       Author : RebootStr
       Score  : 50 points
       Date   : 2023-09-24 19:44 UTC (3 hours ago)
        
 (HTM) web link (gburghoorn.com)
 (TXT) w3m dump (gburghoorn.com)
        
       | nullifidian wrote:
       | Personally I want a pure rust (minimal unsafes) PDF
       | rendering/parsing library and viewer, same for EPUB (basically
       | minimal browser engine), a video player (with ffmpeg equivalent),
       | an image viewer with the accompanying image format libraries.
       | Also preferably that it wouldn't be too integrated into the
       | "ecosystem" which usually results in something hellish(JSish)
       | like 300 microdependnecies authored by 200 people for something
       | basic, and would be more self-contained.
        
       | amluto wrote:
       | PAM? Really?
       | 
       | I think a better goal would be to create an entirely new design,
       | with a decent scripting language for expressing which
       | authentication/authorization queries to do and when to succeed
       | (which PAM config files, ahem, are not), and get distros to use
       | it. And _maybe_ allow loading legacy PAM modules as an optional
       | feature.
       | 
       | (Aside from all the obvious suckage, I have my personal pet
       | peeve: it's been how many years, and we still can't grant ambient
       | capabilities using PAM?)
        
       | weinzierl wrote:
       | I wish it would be easy to filter for pure crates, as well as no-
       | std crates on crates.io. I know there is no-std tag but I'm not
       | sure how reliable this is.
        
         | pornel wrote:
         | no-std is orthogonal to use of C. There are crates where it
         | means replacing libstd with stdlib :)
        
       | evmar wrote:
       | My project https://github.com/evmar/retrowin32 includes a
       | (Windows-agnostic) pure Rust instruction level emulator for x86,
       | and if anyone is interested on hacking on one I'd love the help!
        
       | amelius wrote:
       | GUI libraries?
        
         | thegrim33 wrote:
         | Every time I attempt to look at Rust and it's still so early
         | days there isn't even a way to create a simple desktop UI with
         | it without depending on some completely random library some
         | likely 13 year old made that I instantly give up on Rust and
         | don't think about it again for another year.
        
           | matheusmoreira wrote:
           | What's wrong with a random 13 year old making a library? It's
           | not worth using unless some corporation is funding a team of
           | developers to work full time on it? Come on.
           | 
           |  _Somebody_ has to make all this stuff. Be somebody. If it
           | doesn 't do what you want, fork it and make it do it. If it's
           | unmaintained, fork it and take it over.
        
           | xcdzvyn wrote:
           | RustDesk uses Tauri, Iced is replacing GTK+ in System76's
           | COSMIC DE, and in my experience, egui is a very comfortable
           | ImGui replacement.
           | 
           | I've definitely had "damn, I wish I could do xyz" moments
           | with all three of those, but "early days" is a bit of a
           | stretch.
        
       | sgu999 wrote:
       | I wish there was a good alternative to gstreamer for building a
       | "zero copy" computational graph and media pipeline. Even though
       | the bindings are very good, it's far from ideal.
        
         | loeg wrote:
         | PipeWire? Also not Rust.
        
       | raincole wrote:
       | Interesting. There are so many Rust game engines. Does none of
       | them handle text rendering properly? (I haven't studied this
       | aspect of Bevy, while I really should have since English isn't
       | even my mother tongue...)
        
         | S04dKHzrKT wrote:
         | https://github.com/bevyengine/bevy/issues/7616 might interest
         | you. Bevy plans to migrate to cosmic-text (mentioned in the
         | article) because of their current implementation's (ab_glyph
         | maybe?) issues.
        
       | gorenb wrote:
       | This is really interesting. I'll probably reference this blog
       | post for a _very_ long time.
        
       | IshKebab wrote:
       | Good list. Wrapping C is especially annoying when cross-
       | compiling. You always run into issues.
       | 
       | Very hardware focused. I would say the biggest one is OpenSSL. My
       | heart always drops when something depends on that. Guaranteed
       | pain.
       | 
       | Not sure about TCL. TCL is a terrible language. Surely it would
       | be better to simply move to a sane modern one? There are a few
       | decent embedded languages written in Rust, e.g. Rhai or Starlark.
        
       ___________________________________________________________________
       (page generated 2023-09-24 23:01 UTC)