Skip Navigation

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/)H
Posts
138
Comments
496
Joined
1 yr. ago

  • I still understand the argument of the C greybeard to Rust knowledge gap though.

    The patterns that Rust enforces are usually good practice in concurrent C programs, too. Of course, there are things that you can express in C which Safe Rust would not allow - but the same is true for Assembly language. And this alone is little reason to use Assembly.

  • Brilliant and nuanced description.

    It also makes me pause when thinking about AI. AI-generated code, as it is commercially used, undoubtly increases technical debt. Companies want to use it because they see it as an advantage. But it can also lead quickly to technical debt bankruptcy. Which will likely be the outcome given the bone-headed way how many companies actually use AI.

    But what drives them?

    A lot of AI adoption seems to be driven by two things: Fear and greed. Fear, of becoming obsolete among the competition. Greed to not miss out on a perceived bonanza. This is not necessarily rational. It might be the cause why all these purported gains in speed are rarely actually measured.

    But as Apenwarr (Avery Pennarun) points out, companies often behave more rational than it seems. Specifically, as he writes, they accept an unsustainable level of technical debt when it seems that they cannot compete any more. That makes actually sense: Why polishing a shiny, immacculate, well-designed code base, when you never have the chance to re-earn the money that you did spent for that? (People do the same: An aging person living in a run-down house with broken roof and heating might not want to invest in repairs or installing a heat pump, because that person will not see the gains from this investment - possibly their children, but will they keep the house?).

    But how does all this match up with technical debt and AI? Are tech companies simply giving up business? Are they completely unaware on the level of technical debt it creates? Why does this happen?

  • Kroah‑Hartman consistently framed language choices in terms of reviewer workload rather than developer convenience. Linux has "over 5,000 developers" but "about 150 core maintainers that review the majority of the code," a skew that drives his priorities. "We optimize for reviewers. We don't optimize for developers because we have a lot of developers," he said, suggesting Rust's ability to enforce locking and lifetime rules at build time means reviewers can spend their limited bandwidth on logic rather than bookkeeping: "If it builds as a reviewer, I know it's OK. I can look at the logic."

    That's a great point. Living open source code must be readable and maintainable. Rust is an excellent match for that.

  • Accusation in a mirror, a propaganda and hate speech technique.

    These people for sure studied how such propaganda works. And if you listen closely, the patterns of speech give it away. I have seen it used in the Brexit debate, and it already smelled like Fascism to me.

  • That's exactly what Baldur Bjarnason explains in his well-researched book "The Intelligence Illusion". I can highly recommend it!

  • review

    You should stop using words that clearly mean human cognitive activity, like "to review", to describe what LLMs do.

  • By that logic, we would not need regulation for financial institutions because "the free market will sort it out".

    Except that capitalism or the free market does not care about people. Only people, we ourselves, care about people. We need rules shielding off harm like the guests of a hotel need a fire safety system.

  • More like 500 lines per person-year.

    You can do the math yourself:

    • how many lines of code does the linux kernel have?
    • what is the estimated value of the kernel, which is the hypothetical cost to re-create it?
    • what do you think the seniority of a linux kernel developer is?
    • what annual salary do they make in the country which uses Linux most - the US?
    • now divide kernel value by annual salary to get man-years, and lines of code by man-years to get average lines of code per year

    Result: Typing in code that somehow compiles was never the bottleneck

  • How much is one million lines of code?

    If a senior engineer works in a well-defined, well-architected greenfield project, and does extensive tests, 10,000 lines of code written in one year are very productive. The amount of new code per person-year will be much less in larger projects - a good indicator is the line count and the estimated value of the Linux kernel (40 million lines in 2025, redeveloping it in 2011 would have already cost 2200 million Euros, which would pay e.g. 36000 person-years for mid-level German software developers, that would mean 1111 lines per person-year{actually about half of that because of the interim growth of line count in the meantime }- and most software projects can only dream about so much actual value.)

    So, you can say 1,000,000 lines of code generated in 11 days are probably 100 person-years of technical debt.

    One caveat: It is relatively simple to auto-translate code in restricted languages like Java, Python, or Rust to unrestricted languages like C or C++. In that case, enforced invariants (like "no use of freed memory" or "sharing data across threads xor mutation") become implicit, but verbatim translation is often possible.

    The other direction will require a re-design..

  • The ELIZA effect was discovered in the 1960ies.

  • The news isn't that AI obviously is not sentient.

    The news is that even some relatively smart people can be induced to think it is.

  • The first sightings of such phenomens were called ELIZA effect. In 1966.

  • Yeah, this is what the "(2022)" in the title was trying to tell you.

  • It is interesting - and scary - how shallow the roots of our common sense can be.

  • Speaking of things that robots should do:

    Those things, Pinker says, include dangerous and boring occupations, and tasks around the house, from cleaning to child care.

    I have the feeling that people paying more attention to their addictive-by-design smartphone than to their baby might have really negative consequences.

  • This reminds me on the reports that some native American people thought that taking a photography of them would rob them of their soul.

    Or that many things that doctors do today as a matter of routine would have left them being burned as a witch in earlier times.

  • Good names matter.

    If you don't refactor codebases continuously and consistently(!), the'll become a total mess over time. I've worked recently with code bases that still use DOS character encodings common before 2000 or so.

    If something is purely local, in a single process, it is easy to change. But the more stuff it touches, the more difficult and laborious it gets. On the extreme end, there are things like network protocols like IPv4 which are almost impossible to get rid of.

  • Scheme does not demands immutability like Clojure, but it prefers it

    I'm not sure what "prefers" means in this context; do you mean it "defaults" to? Rust in example doesn't "demand" immutability, it just defaults to it.

    In Clojure, all standard data types are immutable. (Except Java arrays, which are accesible; Clojure's vector type is immutable too). If you need mutable containers, there are transients, which do have methods for mutating access. But these need to be "frozen" into normal collections before they are e.g. returned from a function; their scope is strictly local to a function.

    Schemes are a bit more liberal, you can modify variables in Scheme but it is not idiomatic. Like in Clojure, recursion is often used over iteration. Also, e.g. in Racket, you have a lot of things like list conprehensions or dictionary comprehensions in Python.

    Common Lisp is even more liberal; one can use a purely functional style but it wholly depends on own discipline.

    I had looked into Clojure for a while, but I don't like Lisp.

    So, Lisps might not be your cup of tea; Scala is pretty close in these aspects.

    But Lisps are fantastic languages; Minimalist, very expressive, very performant implementations like SBCL or Guile, and run on many kinds of substrate, like the JVM (Clojure, Kawa, Armed Bear), native/POSIX(SBCL, Guile and many more), JavaScript (ClojureScript), GraalVM (babashka), the Python bytecode machine (basilisp), and so on.

  • I linked to the top search result.

  • Programming @programming.dev

    GNU Guix transactional package manager and distribution — GNU Guix

    www.gnu.org /software/guix/
  • Programming @programming.dev

    GitHub - martanne/vis: A vi-like editor based on Plan 9's structural regular expressions

    github.com /martanne/vis
  • Europe @feddit.org

    Age Verification Is Coming For the Internet. We Built You a Resource Hub to Fight Back.

    www.eff.org /deeplinks/2025/12/age-verification-coming-internet-we-built-you-resource-hub-fight-back
  • Programming @programming.dev

    The (successful) end of the kernel Rust experiment

    lwn.net /Articles/1049831/
  • Linux @lemmy.ml

    The end of the kernel Rust experiment

    lwn.net /Articles/1049831/
  • Programming @programming.dev

    Devs gripe about having AI shoved down their throats - The force-feeding will continue until morale improves

    www.theregister.com /2025/11/19/ai_force_feeding/
  • DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz @feddit.org

    Analyse zum Digitale-Souveränität-Gipfel: Open Source wird abgewatscht

    www.heise.de /meinung/Analyse-zum-Digitale-Souveraenitaet-Gipfel-Open-Source-wird-abgewatscht-11083975.html
  • DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz @feddit.org

    Digitale Abhängigkeit: Fest in amerikanischer Hand

    www.tagesschau.de /wirtschaft/digitales/digitale-unabhaengigkeit-100.html
  • Programming @programming.dev

    A Practical Guide to Transitioning to Memory-Safe Languages - Turning off the spigot of vulnerabilities: a new strategy for memory safety

    queue.acm.org /detail.cfm
  • Europe @feddit.org

    Dutch cycling website outspoken about deciding to close because of AI-related content theft

    www.holland-cycling.com /blog/321-holland-cycling-com-stops-in-2026
  • Programming @programming.dev

    C++ Move Semantics Considered Harmful (Rust is Better)

    www.thecodedmessage.com /posts/cpp-move/
  • Fuck AI @lemmy.world

    The Authoritarian Stack: How Tech Billionaires Are Building a Post-Democratic America — And Why Europe Is Next

    www.authoritarian-stack.info
  • Programming @programming.dev

    Functional Core, Imperative Shell

    www.destroyallsoftware.com /screencasts/catalog/functional-core-imperative-shell
  • Solarpunk technology @slrpnk.net

    Akkudoktor Energy Management / Optimization System: Optimized Control of Home Energy Systems

    akkudoktor-eos.readthedocs.io /en/latest/akkudoktoreos/introduction.html
  • Electric Vehicles @slrpnk.net

    Akkudoktor Energy Management / Optimization System: Optimized Control of Home Energy Systems

    akkudoktor-eos.readthedocs.io /en/latest/akkudoktoreos/introduction.html
  • Programming @programming.dev

    Akkudoktor Energy Management / Optimization System: Optimized Control of Home Energy Systems

    akkudoktor-eos.readthedocs.io /en/latest/akkudoktoreos/introduction.html
  • Technology @lemmy.world

    evcc - Solar Charging ☀️🚘 - Connects Your EV Charger With Your PV System

    evcc.io /en/
  • Programming @programming.dev

    evcc - Solar Charging ☀️🚘 - Connects Your EV Charger With Your PV System

    evcc.io /en/
  • Electric Vehicles @slrpnk.net

    evcc - Solar Charging ☀️🚘 - Connects Your EV Charger With Your PV System

    evcc.io /en/
  • Europe @feddit.org

    Leaked Car Industry Paper: Carmakers’ EU Demands Would Cut EV Sales In Half

    cleantechnica.com /2025/10/09/leaked-car-industry-paper-carmakers-eu-demands-would-cut-ev-sales-in-half/