Skip Navigation
www.collabora.com Matt Godbolt sold me on Rust (by showing me C++)

Looking at C++ from another angle can create new possibilities using Rust.

Matt Godbolt sold me on Rust (by showing me C++)
1
Licenses are boring but you really need one!
  • Well, for specific licenses there are use cases for MPL, which is weak copy left. LGPL is trying to state that statical linking is not allowed, while MPL does. Also, EUPL have simmilar advantages over AGPL, plus that it have very clear defined legal juristiction. So, when it comes to specific licenses there are many reasons to use whatever licence you use. Just make sure you use a license that reflects your expectations.

  • Licenses are boring but you really need one!
  • These are good in a more hands on way, but it is hard there to understand the conceptual difference between MIT and EUPL. So, I deliberately didn't go in to the details, since there are a lot of tools for that. I aimed for a higher level, since I find people often have missed that.

  • distractedmind.home.blog Licenses are boring but you really need one!

    Image by Nick Youngson CC BY-SA 3.0 Alpha Stock Images Whats in a License? There are a lot of software licenses out there, and there are a lot of opinions about licenses out there. Sometimes I noti…

    Licenses are boring but you really need one!

    It seems people have a hard time understanding the implications of licenses, so I have written a something to help with that.

    29
    Post Deleted!
  • Never tried hyperland, but if you want tiling, I think COSMIC is a very user friendly tiling de. I don't think they do HDR yet though, but it is still in alpha.

  • *Permanently Deleted*
  • Whats rough?

  • *Permanently Deleted*
  • Well, I get you are trying to state that MAGA people are pedofiles, and I am not here to stop you from that. But you also assume they catch actual pedofiles. However, there are cases where they have contacted people with an intellectual disability, and then you cannot be really sure the person really is sexually in to children, since with enough pushing you can get such persons to agree to a meeting anyway... just because you pushed. Regardless of how awful the crime is, we cannot accept vigilantes.

  • TIL you can send commands to terminal (in vscodium)
  • atuin is really great for command history completion

  • [Gitoxide] March 2025 Progress update
    github.com [March 2025] · GitoxideLabs gitoxide · Discussion #1906

    Very much like in the past month, this month once again has nothing I could proudly share, at least not based on my own work. Fortunately, there were lots of contributions, particularly by Eliah Ka...

    [March 2025] · GitoxideLabs gitoxide · Discussion #1906
    0
    South Korea’s impeached President Yoon released from prison
  • At least he is to stand trial, in other countries they are just elected again and given a second attempt at the coup.

  • Effective Rust - Effective Rust
  • Ahhh... Sorry, of course there was the 2021 edition in between.... Ignore me... 🤣

  • Effective Rust - Effective Rust
  • That refers to the Edition, and all development up to January 2024 (rust 1.84) was edition 2018. With rust 1.85, Edition 2024 came out. Here is the news in Rust Edition 2024 https://doc.rust-lang.org/edition-guide/rust-2024/index.html , mostly details, so for effective rust everything for Rust 2018 should still be relevant.

  • *Permanently Deleted*
  • Hey, there is a long tradition of banning evil math... even Pythagoras did it... But, I guess he at least had good reasons, irrational numbers are super creepy and deserved to be banned.

  • I have no idea how to use SwayWM
  • For a more user friendly tiling desktop environment, you should have a look at COSMIC. It is still im alpha, but I use it as a daily driver...

  • Linus sets his foot down, against the gatekeeping attempts in the kernel

    >So let me be very clear: if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG.

    29
    More discussions on LKML about rust
  • Yes, but then you wouldn't find the comment section there to read all the insightful comments.... /s

  • More discussions on LKML about rust

    The phoronix title is a bit click bait, but the LKML thread that is linked in the article is worth reading.

    13
    Seems like Jiff got some performance optimizations
  • And yes, date time handling is one of the most confusing areas on computer science. https://xkcd.com/2867/

  • Seems like Jiff got some performance optimizations
  • I personally think Jiff is based on a very solid design, as it is inspired by Temporal, which is a TC39 proposal to improve datetime handling in JavaScript. I have done some date time handling with chrono, but I find jiff much easier to work with. So, I can recommend you take a serious look, and see if it makes your life easier for your use case. Now, it is only version 0.2, so the API might change before 1.0, but it seems to respect semver, so there shouldn't be any surprise breakage at least.

  • Seems like Jiff got some performance optimizations
    github.com jiff/CHANGELOG.md at master · BurntSushi/jiff

    A datetime library for Rust that encourages you to jump into the pit of success. - BurntSushi/jiff

    jiff/CHANGELOG.md at master · BurntSushi/jiff

    It seems like @burntsushi@programming.dev have added some optimizations to the Jiff date time library... so now it should generally be faster than 'chrono' and 'time'. Jiff is quite impressive, the 0.2.1 version number really doen't reflect its quality.

    4
    Jiff 0.2.0 is released
    github.com Release 0.2.0 · BurntSushi/jiff

    Sponsorship is appreciated! This is a new semver incompatible release of Jiff. It contains several breaking changes. I expect most users of Jiff to be able to upgrade without any changes. The funda...

    Release 0.2.0 · BurntSushi/jiff

    >Jiff is a datetime library for Rust that encourages you to jump into the pit of success. The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance.

    And as a user of Jiff, I must say that it is very nice to use. Well thought out API, making date time handling less of a pain. So, nice work @burntsushi@programming.dev

    4
    Introducing Limbo: A complete rewrite of SQLite in Rust
  • Not the creator, just posting

  • turso.tech Introducing Limbo: A complete rewrite of SQLite in Rust

    we forked SQLite with the libSQL project. What would it be like if we just rewrote it?

    Introducing Limbo: A complete rewrite of SQLite in Rust
    5
    Tracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rust
  • I think this would be a nice improvement to reduce boiler plate.

  • Malicious code injection by compromised pull request branch names
  • On an unrelated note, don't forget to sanitize your input.

  • Malicious code injection by compromised pull request branch names
  • This is why Bobby Tables mom needs her Github account suspended.....

  • Minecraft Mod written in Rust
    github.com GitHub - cyb0124/greg-emitters: GregTech placeable emitters addon mod

    GregTech placeable emitters addon mod. Contribute to cyb0124/greg-emitters development by creating an account on GitHub.

    GitHub - cyb0124/greg-emitters: GregTech placeable emitters addon mod

    fjärrinlägg från: https://lemmy.world/post/22673996

    > > This mod is written in an unconventional way: it is written in Rust. The Rust code is here. It uses JNI and JVMTI to interact with Java objects. The only Java code in this mod is for loading the compiled native binary into memory.

    0
    blog.rust.careers 40-year-old hacker group prefers Rust

    This article goes over Veilid, an opensource peer-to-peer network, written by cult of the dead cow in Rust

    10
    blog.rust-lang.org Rust 2024 call for testing | Rust Blog

    Empowering everyone to build reliable and efficient software.

    Rust 2024 call for testing | Rust Blog
    0
    Gitoxide Update November 2024
    github.com [November 2024] · GitoxideLabs gitoxide · Discussion #1695

    The previous month was so rich in news that this month basically had to pale when compared to it. But here we go! Tree Merge Tree merging is now finished and already used in production. This means ...

    [November 2024] · GitoxideLabs gitoxide · Discussion #1695
    0
    Rust Foundation Releases Problem Statement on C++/Rust Interoperability
    foundation.rust-lang.org Rust Foundation Releases Problem Statement on C++/Rust Interoperability - The Rust Foundation

    DOVER, DELAWARE, November 12, 2024 – The Rust Foundation, an independent non-profit dedicated to stewarding and advancing the Rust programming language, released a comprehensive problem statement addressing the challenges and opportunities in C++ and Rust interoperability. This publication marks a s...

    Rust Foundation Releases Problem Statement on C++/Rust Interoperability - The Rust Foundation
    2
    Rust needs an official specification
    tweedegolf.nl Rust needs an official specification - Blog - Tweede golf

    Can we currently reason about Rust code with absolute certainty? Not really, but we should be able to. In this article, we dive into the reasons why it may be time for a Rust specification.

    Rust needs an official specification - Blog - Tweede golf
    18
    snaggen snaggen @programming.dev
    Posts 445
    Comments 283