Zig vs Rust. Which one is going to be future?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 100%

    Is zig memory safe by design? If not, rust will "win". Large companies aren't going to hire for an unknown or unpopular memory unsafe language when they already have C or C++ - there's just no contest.

    Last I read, zig didn't even have a standard string library. Unless that changes, it won't even be a viable alternative to C/C++.

    Edit: I checked and got this

    the Zig language, like C, entrusts memory management to humans, placing full trust in human development. Zig then provides some memory safety checks to ensure memory safety. However, it still lacks the strict compile-time guarantees of Rust’s ownership system and borrow checker. Therefore, when writing Zig code, developers need to pay more attention to potential memory safety issues and ensure that errors and exceptional situations are handled correctly.

    Rust Magazine

    Anti Commercial-AI license

    10
  • Message from the Godot Foundation Board
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 36%

    It was some random idiot on the web talking shit. Even worse, it was an idiot on Twitter, the shithole of the internet. There's no need to address them. Most people didn't even know what the context was. Addressing it just gave more "publicity" to them.

    It's not even poking the hornet's nest, it's a calling out to a haggle of trolls. Fuck those people. Don't give them attention.

    Anti Commercial-AI license

    -3
  • The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 100%

    We need a new license that requires payment if the use is commercial. One of the people involved in the coining of the term "open source" is already working on a licence, but maybe another one will be released earlier.

    Companies that freeload from open source now should be forced to pay up.

    Anti Commercial-AI license

    6
  • Why laptop support, why now: FreeBSD’s strategic move toward broader adoption
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 66%

    BSD is a top choice? I only thought it was on it's way out. I've never seen it used or mentioned outside of "Mac is based on BSD!!!".

    The "why" section didn't really explain why Quantum is investing in BSD at all. Did something happen additionally that led them to invest in BSD laptops of all things?

    Anti Commercial-AI license

    1
  • I HATE THE ANDROID GRADLE PLUGIN I HATE THE ANDROID GRADLE PLUGIN I HATE THE ANDROID GRADLE PLUGIN I HATE THE ANDROID GRADLE PLUGIN I HATE THE ANDROID GRADLE PLUGIN I HATE THE ANDROID GRADLE PLUGIN...
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 93%

    Maven and Cradle might be terrible, but C and C++ have fucking nothing in terms of dependency management. Even C# has something that few people use, but it has something. C and C++ are such a shit show to build. It's so bad they had to invent languages to build them and they regularly fuck up (CMake, make, bison, scons, meson, ...).

    Pull a C or C++ project on a distro or environment and try to build it and you have to dive in the abyss of undeclared dependencies. And good fucking luck with glibc and glib dependencies. If the dev doesn't know which version they were actually using, it's up to you to find out. Fun for the entire family!

    Anti Commercial-AI license

    56
  • Tip: Disable baloo indexing for Rust target directories
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 91%

    I just disabled balloo. It has never served me any purpose and I've never found a good description of what it does. It has never completed indexing of my files and would always start indexing (seemingly) randomly after failing.

    Baloo is off on every KDE desktop I've set up (mine, friends, and family).

    Anti Commercial-AI license

    10
  • Developing with Docker
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 100%

    I either missed it or it isn't in the "developer tools" section: how do you connect this to an IDE or editor with an LSP or DAP? The image might have python:3.12 but locally you only have python:3.6 mind you, so it's not something one can ignore. How do you handle this?

    Anti Commercial-AI license

    1
  • Google's Shift to Rust Programming Cuts Android Memory Vulnerabilities by 52%
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 94%

    Even this article of the thread states it dropped from 76% to 24% through the introduction of Rust.

    If you seriously think:

    • most of those memory bugs were because "engineers didn't care" or "didn't double check their code"
    • the bugs were mostly introduced by newbies
    • those products were coded by incompetent people

    I'd like to see the water you walk on.

    Anti Commercial-AI license

    17
  • Signal Piracy group
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 33%

    Sounds like a place for toots 🤔 Signal supports admin only chat rooms. Maybe they'll be able to support >1k in the future. Dunno if MLS will be able to do that.

    Anti Commercial-AI license

    -1
  • OpenAI asked US to approve energy-guzzling 5GW data centers, report says
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 100%

    Maybe they should be forced to build the power generation along with it? After all the lobbying these rich fucks do to pay less taxes, maybe they should be forced to fund their own utilities with no subsidies.

    Anti Commercial-AI license

    2
  • Happy 12 million!
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    onlinepersona
    Now 100%

    Misskey? 🤔 I heard it's something Japanese? So probably a lot of Japanese fediverse users use it? I don't think I've seen somebody from misskey in my interactions with the fediverse. Are they self-contained or something?

    Anti Commercial-AI license

    4
  • www.scientificamerican.com

    > Black holes the size of an atom that contain the mass of an asteroid may fly through the inner solar system about once a decade, scientists say. Theoretically created just after the big bang, these examples of so-called primordial black holes could explain the missing dark matter thought to dominate our universe. And if they sneak by the moon or Mars, scientists should be able to detect them, a new study shows.

    84
    33

    Would their owners even notice? Inspired by [Kaspersky deletes itself, installs UltraAV antivirus without warning ](https://www.bleepingcomputer.com/news/security/kaspersky-deletes-itself-installs-ultraav-antivirus-without-warning/)

    12
    10
    https://torrentfreak.com/telegram-removes-z-library-posts-due-to-copyright-infringement-240923/

    > Telegram, an essential communication tool for millions, finds itself under scrutiny once again. Copyright holders have long expressed concerns about the lack of enforcement on the platform, and recent actions suggest Telegram is responding. Subscribers to Z-Library's popular channel recently noticed that several of the shadow library's messages have been removed "due to copyright infringement."

    73
    25
    phys.org

    These findings may also explain the "missing plastic problem" that has puzzled scientists, where about 70% of the plastic litter that has entered the oceans cannot be found. The team hypothesizes that coral may be acting as a "sink" for microplastics by absorbing it from the oceans. Their findings were published in the journal [Science of the Total Environment](https://doi.org/10.1016/j.scitotenv.2024.176210).

    21
    0
    phys.org

    > A new study from the USC Viterbi School of Engineering researchers, along with researchers from the Institute de Physique du Globe de Paris at the University of Paris Cité, has found that the increase in soil erosion in coastal areas due to desertification is worsening flood impacts on Middle Eastern and North African port cities.

    19
    0
    radicle.xyz

    cross-posted from: https://discuss.tchncs.de/post/21810137 > Radicle is an open source, peer-to-peer code collaboration stack built on Git. Unlike centralized code hosting platforms, there is no single entity controlling the network. Repositories are replicated across peers in a decentralized manner, and users are in full control of their data and workflow.

    7
    0

    I've only found 2 in 1 / 2 monitors wide with aka 32:9. They call them "ultrawide" but IMO they should be called double wide monitors. Even the [Samsung 57" Odyssey Neo G9](https://www.samsung.com/us/computing/monitors/gaming/57-odyssey-neo-g9-dual-4k-uhd-quantum-mini-led-240hz-1ms-hdr-1000-curved-gaming-monitor-ls57cg952nnxza/) monitor, despite its size, is still just 32:9. [Anti Commercial-AI license](https://creativecommons.org/licenses/by-nc-sa/4.0/)

    3
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    SpaceX Polaris Dawn mission aiming for history with first private spacewalk
    phys.org

    > If they launch, the highlight of the mission will be the first spacewalk composed entirely of non-professional astronauts, who will be wearing sleek, newly developed SpaceX extravehicular activity (EVA) suits outfitted with heads-up displays, helmet cameras, and an advanced joint mobility system.

    11
    2
    https://asterinas.github.io/

    Linux maintainers are unwilling to get rust into the kernel, so some rust folks decided to start writing a new kernel with same ABI. This allows them to make new architectural decisions. An example being their "frame kernel" (something between a monolithic kernel and a microkernel). If I may say, it's more legible and the tooling is way better, right off the bat.

    92
    34
    rentry.co

    >➜ Quality over quantity > > The Megathread is to subject to rigorous 👁️‍🗨️ Quality Control checks, and often updated. > Visit our r/Piracy, r/Torrents communities for all the sailing discussions. How do we contribute from the fediverse?

    90
    5
    https://x.com/awesomekling/status/1822236888188498031

    Andreas Kling aka @awesomekling wrote: >We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our needs appears to be @SwiftLang 🪶 > >Over the last few months, I've asked a bunch of folks to pick some little part of our project and try rewriting it in the different languages we were evaluating. The feedback was very clear: everyone preferred Swift! > >**Why do we like Swift?** > >First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics. > >Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++. > >The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites. > >**Strong ties to Apple?** > >Swift has historically been strongly tied to Apple and their platforms, but in the last year, there's been a push for "swiftlang" to become more independent. (It's now in a separate GitHub org, no longer in "apple", for example). > >Support for non-Apple platforms is also improving, as is the support for other, LSP-based development environments. > >**What happens next?** > >We aren't able to start using it just yet, as the current release of Swift ships with a version of Clang that's too old to grok our existing C++ codebase. But when Swift 6 comes out of beta this fall, we will begin using it! > >No language is perfect, and there are a lot of things here that we don't know yet. I'm not aware of anyone doing browser engine stuff in Swift before, so we'll probably end up with feedback for the Swift team as well. > >I'm super excited about this! We must steer Ladybird towards memory safety, and the first step is selecting a successor language that we can begin adopting very soon. 🤓🐞

    166
    71
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    Bacteria encode hidden genes outside their genome; do we?
    phys.org

    cross-posted from: https://rss.ponder.cat/post/8399

    6
    1
    phys.org

    For some fish, being born close to a new moon increases the chances they will develop as male, while female offspring are more likely when the moon is full, a new study has found.

    11
    0

    So, I think the admins are doing a great job and wanted to donate, however it only seems to be possible to donate via Github (snowe's account). Saying Microsoft isn't my favorite company would be putting it lightly, so going through them to donate is... not happening. Is there any other way to donate? I'd even do bitcoin or monero if so requested (crypto market is having meltdown right now, so it's cheaper than usual 🤑 ).

    6
    16
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPS
    Psychology onlinepersona Now 77%
    TikToks—even neutral ones—harm women's body image, but diet videos had the worst effect, study finds
    phys.org

    cross-posted from: https://rss.ponder.cat/post/7641

    17
    4
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearON
    Now
    127 3.5K

    onlinepersona

    programming.dev