• 1 Post
  • 24 Comments
Joined 1 year ago
cake
Cake day: August 7th, 2023

help-circle
  • I used rust as a backend for a simple web app (axum and sea-orm), did some scripting for integrating couple of service (simple REST calls and some data processing) and recently I’ve been learning to build desktop apps using Tauri and Leptos. All personal projects so far but I contributed to one Leptos library a bit. Lemmy looks like interesting next step but there’s always another project I would like to do and not enough time :)









  • ExLisper@linux.communityOPtoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    6
    ·
    11 months ago

    The issues I had:

    • packages installing but not working due to missing dependencies
    • packages installing but not working due to broken dependencies (wrong lib version installed)
    • packages not building and failing with obscure errors
    • one package was abandoned and using Python 2.7

    If a ‘pip install X’ completes successfully but X doesn’t work it’s on pip. And when it fails it could tell you why. Cargo does.





  • ExLisper@linux.communityOPtoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    5
    ·
    11 months ago

    The main issue with JS is that every 6 months someone comes up with the next great tool that misses half of basic features and dies after 6 months when someone comes up with the next great tool. But at least the old tested solution still works unlike in Python where the main goal seems to be breaking the backwards compatibility as often as possible.


  • Yep, exactly that. I remember some time ago the official python body (whatever it is) was recommending one tool for python version management and another one of virtual env management or something. Pretty much there were two competing tools and the official recommendation was to use one tool for X and the other tool for Y. It’s a complete mess.


  • ExLisper@linux.communityOPtoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    8
    ·
    11 months ago

    cargo just works, it’s great and everyone loves it.

    npm has a lot of issues but in general does the job. When docs say do ‘npm install X’ you do it and it works.

    pip is a mess. In my experience doing ‘pip install X’ will maybe install something but it will not work because some dependencies will be screwed up. Using it to distribute software is pointless.


  • ExLisper@linux.communityOPtoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    19
    ·
    edit-2
    11 months ago

    In my experience npm is not great but it does work most of the time. I just tried installing bunch of stuff using pip and NONE of them worked. Python is backwards compatibility hell. Python 2 vs 3, dependencies missing, important libraries being forked and not working anymore. If the official installation instructions are ‘pip install X’ and it doesn’t work then what’s the point?

    npm has A LOT of issues but generally when I do ‘npm i’ i installs things and they work.

    But the main point is that cargo is just amazing :)

    P.S. Never used ruby.