• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle


  • The issues here are largely with the EU which stops it from being sold in stores. For now, possession is legalised and you can have all previous arrests made because you were carrying up to 25g permanently removed from your record. It also legal to grow at home.

    In this sense, it is legal for personal use but not for commercial use. To get access to weed, they will be rolling out “cannabis social clubs” in summer in which you need to be a member to be allowed to buy weed. These clubs are not allowed to make a profit. There is a plan to later do some tests with commercial usage but its not clear where that is on the roadmap.

    It will be interesting to see if this will have any effects on the EU. I can imagine if more countries want to support the legalization that some hurdles can be removed there.


  • aDogCalledSpot@lemmy.ziptoProgrammer Humor@lemmy.mlcodeStyle
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 months ago

    I think Rust actually is actually among the best in this regard for the simple reason that there is consistency given by the compiler. A simple cargo fmt and cargo build will fix or warn you about everything. I can read into Rust codebases so quickly. C++ was always really exhausting because most of the time you were just getting used to the code style.


  • aDogCalledSpot@lemmy.ziptoRust@programming.devRust without crates.io
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    2
    ·
    11 months ago

    What’s interesting is that this problem is largely solved for C and C++: Linux distributions like Debian package such a wide range of libraries that for many things that you want to develop or install, you don’t need any third-party libraries at all.

    This person has made some very different experiences to myself. How does C++ handle versioning? How do you compare versions across distros or even OSs? How do you control which features are included? How do you make sure your chosen build tools finds these files?

    Projects like conan try to do what crates.io does for Rust and it’s not the greatest experience. The other direction is something like Buck2 that puts the whole dependency in your project so you can have hermetic builds.

    I have no idea how any of this can be seen as an advantage in a development workflow.