Skip Navigation
Is there a way to keep Linux responsive when at ~100% CPU usage?
  • You’re right that garbage collection makes Go simpler, and maybe other patterns do contribute to prevent complexity from piling up. I never worked with Go outside of silly examples to try it out, so I’m no authority about it.

    What I meant was more of a “general” rule that the simpler a language is, the more code is necessary to express the same thing and then the intent can become nebulous, or the person reading might miss something. Besides, when the language doesn’t offer feature X, it becomes the programmer’s job to manage it, and it creates an extra mental load that can add pesky bugs (ex: managing null safety with extra checks, tracking pointers and bounds checking in C and so on…).

    Also there are studies that show the number of bugs in a software correlate with lines of code, which can mean the software is simply doing more, but also that the more characters you have to read and write, the higher the chance of something to go wrong.

    But yeah, this subject depends on too many variables and some may outweigh others.

  • danielchasehooper.com Apple didn't fix Swift's biggest flaw

    How a 10 year old design choice for Swift’s type checker still haunts us to this day

    Apple didn't fix Swift's biggest flaw

    “The Swift compiler is notoriously slow due to how types are inferred. Every June I hope that Apple will announce that they fixed it; sadly this is not that year.”

    1
    How happy are you with your current distro?
  • That’s the same thing I’d do when o used Arch. Always kept up to date to announcements of something major like a DE upgrading and usually would reset all the settings just in case. It avoided me any problems during the years I ran it.

  • Java users on macOS 14 running on Apple silicon systems should consider delaying the macOS 14.4 update

    “An issue introduced by macOS 14.4, which causes Java process to terminate unexpectedly, is affecting all Java versions from Java 8 to the early access builds of JDK 22. There is no workaround available, and since there is no easy way to revert a macOS update, affected users might be unable to return to a stable configuration unless they have a complete backup of their systems prior to the OS update.”

    4

    “Now that iOS 17 is available, let’s analyze its built-in apps to answer a few questions: How many binaries are in iOS 17? Which programming languages are used to develop these apps? How many apps are written with Swift? What is the percentage of apps using SwiftUI versus UIKit?”

    1
    A new approach to testing in Swift
    forums.swift.org A New Approach to Testing in Swift

    Hi everyone, I’m excited to announce a new open source project exploring improvements to the testing experience for Swift. My colleagues @briancroom, @grynspan, @chefski, @Dennis and I have been working on this in recent months and have some early progress we're excited to share. Inspired by what’...

    A New Approach to Testing in Swift
    0
    useyourloaf.com SwiftUI Sensory Feedback

    In iOS 17, Apple added a range of sensory feedback view modifiers to SwiftUI.

    SwiftUI Sensory Feedback

    In iOS 17, Apple added a range of sensory feedback view modifiers to SwiftUI removing the need to rely on UIKit.

    0
    www.avanderlee.com Predicate Macro in Swift for filtering and searching

    The #Predicate Macro allows you to filter or search a collection of data using type-safe and readable higher-level Swift code.

    Predicate Macro in Swift for filtering and searching

    #Predicate is a new Macro available since Swift 5.9 and Xcode 15, allowing you to filter or search a data collection. It can be seen as a replacement for the old-fashioned NSPredicate we’re used to from the Objective-C days.

    0
    Swift Charts Examples
    github.com GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    An overview of the different types of charts you can make with Swift Charts - GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    An overview of the different types of charts you can make with Swift Charts

    0
    Objective-C Internals articles series
    alwaysprocessing.blog Objective-C Internals

    Get ready to dive deep into the inner workings of the Objective-C language and runtime! Each post delves into a specific aspect of the language and explores the details of its implementation. I hope you’ll find this valuable to demystify the language, tackle tricky bugs, and optimize your code for p...

    0
    Meet “Y-Charts”: an Opensource Jetpack Compose chart library

    Y-Charts is a Jetpack Compose-based charts/graphs library that enables developers to easily integrate various types of charts/graphs into their existing UI to visually represent statistical data.

    0
    WWDC 2023: What's New in Core Data

    Although at WWDC 2023, Apple will mainly focus on introducing the new data framework SwiftData, Core Data, as the cornerstone of SwiftData, has also been enhanced to some extent.

    0
    [2021] Font size is useless; let’s fix it
    tonsky.me Font size is useless; let’s fix it

    What happens when you set fontSize: 32 in your favorite editor

    What happens when you set "font_size": 32 in your favorite editor? I would’ve told you anyway, but I’m glad that you asked.

    4
    iOS Dev Weekly - Issue 616
    iosdevweekly.com Issue 616

    Let's talk about nutrition, shall we? Wait, what do you mean "Not that type of macros!" 🫘

    0
    www.swiftjectivec.com iOS 17: Notable UIKit Additions

    iOS 17 is out in the wild! As always, let’s check in with our mature interface framework, UIKit.

    iOS 17: Notable UIKit Additions
    0
    kt.academy The beauty of Kotlin type system

    How type system makes Kotlin so flexible, safe, and intuitive.

    The beauty of Kotlin type system

    The Kotlin type system is amazingly designed. Many features that look like special cases are just a natural consequence of how the type system is designed.

    1
    [GitHub] A curated list of awesome Swift Macros
    github.com GitHub - krzysztofzablocki/Swift-Macros: A curated list of awesome Swift Macros

    A curated list of awesome Swift Macros. Contribute to krzysztofzablocki/Swift-Macros development by creating an account on GitHub.

    GitHub - krzysztofzablocki/Swift-Macros: A curated list of awesome Swift Macros
    0
    developers.redhat.com New C++ features in GCC 13 | Red Hat Developer

    Get an overview of what's new in GCC 13, the latest GNU Compiler Collection release, including bug fixes and new features in the C++ front end.

    New C++ features in GCC 13 | Red Hat Developer
    3
    Yo Apple: Xcode debugging Swift is *STILL* horribly broken
    forums.swift.org Unable to inspect local Swift variables or step over await calls in Xcode

    I've been reporting this problem for a long time now, and it's so bad I wonder if I'm just doing something wrong. Radar ID FB11236399. I've just added a much smaller code example that should be fairly easy to test. But generally speaking, Xcode can't inspect local Swift variables, or step over awai...

    Unable to inspect local Swift variables or step over await calls in Xcode
    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BA
    Baldur Nil @programming.dev

    Mobile software engineer.

    Posts 19
    Comments 82