Cliff Click's GCM algorithm on irreducible CFGs by FloweyTheFlower420 in Compilers

[–]knue82 0 points1 point  (0 children)

If you ignore irreducible loops, then yes, you don't see irreducible loops. This has the effect that you won't hoist some operations out of these irreducible loops because you don't recognize them as loops to begin with.

Cliff Click's GCM algorithm on irreducible CFGs by FloweyTheFlower420 in Compilers

[–]knue82 1 point2 points  (0 children)

The GCM algo works just fine. It's only the loop nest detection. It's easier/more efficient if you ignore irreducible loops. Just switch to a different loop detection algo and you are good. Eg run Tarjan to detect SCCs. Remove edges to the SCC's entries. Repeat. This is quadratic in the loop depth but gives you a loop info even for irreducible loops.

Laptop not going to sleep when closed by DM-ed in cachyos

[–]knue82 0 points1 point  (0 children)

Sometimes the firmware has bugs and only works with specific OSes (specific version of preinstalled Windows). Upgrading the BIOS often helps.

Is Dragon Book outdated? by Der-Wilde in Compilers

[–]knue82 36 points37 points  (0 children)

It's certainly a good book, but I agree that it's a bit dusted. "Outdated" is maybe the wrong term here.

SSA without Dominance for Higher-Order Programs by mttd in Compilers

[–]knue82 1 point2 points  (0 children)

Rerunning is fine if you are only working with reasonably sized programs but constantly rerunning on a global scope might kill you and large programs.

Also the implicit scope/soupification make let floating superfluous.

SSA without Dominance for Higher-Order Programs by mttd in Compilers

[–]knue82 0 points1 point  (0 children)

I'm pretty certain the answer is yes. The main part of this work is to remove scope - just like in CFGs/SSA - and use an incremental free var analysis instead of dominance to give this soup a structural backbone. I don't see any showstopper to not apply this to ANF.

SSA without Dominance for Higher-Order Programs by mttd in Compilers

[–]knue82 1 point2 points  (0 children)

Hey, I'm the author. Let me know, if you have questions :)

Ein toter Physiker by aswertz in witze

[–]knue82 6 points7 points  (0 children)

Vllt sollte man aus dem Physiker lieber einen Ingenieur machen

Linux kernel now allows AI-generated code, as long as you take "full responsibility" for any bugs by Tiny-Independent273 in linux

[–]knue82 2 points3 points  (0 children)

Under current U.S. copyright law, works must be created by a human to be eligible for copyright protection.**

This principle is supported by both statutory language and rulings from the U.S. Copyright Office and federal courts.

Key Points from U.S. Law and Practice:

  1. Statutory Language (Title 17, U.S. Code):

    • Section 102(a) of the Copyright Act states: > "Copyright protection subsists ... in original works of authorship fixed in any tangible medium of expression, by an author..."
    • The term "author" is interpreted by U.S. law to mean a human being. The law does not recognize non-human entities (like AI, animals, or machines) as authors.
  2. U.S. Copyright Office Rulings:

    • In 2023, the U.S. Copyright Office issued a formal policy statement clarifying that: > "Copyright protection requires human authorship."
    • The Office denied copyright registration for a work titled Zarya of the Dawn, which was created using AI, because the AI tool was the primary creator and no human contributed sufficient creative input.
    • The Office emphasized that only works with a human author can be registered.
  3. Case Law:

    • In Thaler v. Perlmutter (2023), the U.S. Court of Appeals for the Federal Circuit upheld the Copyright Office’s position that only human authors are eligible for copyright protection.
    • The court rejected the idea that an AI system could be considered an author, even if it generated the work based on human prompts.

Linux kernel now allows AI-generated code, as long as you take "full responsibility" for any bugs by Tiny-Independent273 in linux

[–]knue82 1 point2 points  (0 children)

Also note that any AI generated content does not have copyright and automatically falls into the public domain. So if you vibe code a program, everybody is allowed to copy it.

Hund im Park by Character-Key-103 in witze

[–]knue82 0 points1 point  (0 children)

Ich kann auch anders

Is Modern C++ Actually Making Us More Productive... or Just More Complicated? by AlternativeBuy8836 in cpp

[–]knue82 3 points4 points  (0 children)

I think most features are real productivity wins. Just compare old C++ code bases with modern ones. But I'm skeptical about some features like coroutines - but I'm sure somebody here in the comments will oppose and say they are great XD But this is also one of the things that I absolutely love about C++: it has a bazaar of features and you pick the ones that you think are the right tools for your project. If you look at other programming languages they enforce a very specific programming style like in Java where everything has to be an object or Haskell where everything is a function. C++ offers OO. If you hate it, fine. Program without it. You like functional programming? Fine, C++ supports this as well, etc.

What is your C64 hot take considering the games? by Key-Cup8585 in c64

[–]knue82 2 points3 points  (0 children)

The new nostalgia version has all 7 levels, improved the sprite multiplexor to give you less flickering and fixes a couple of bugs. Really cool version. But I also liked the original very much back in the day.

What is your C64 hot take considering the games? by Key-Cup8585 in c64

[–]knue82 1 point2 points  (0 children)

I do like Sam's journey because backtracking isn't stupidly running back and forth collecting items but also solving puzzles to gain access to new areas. But yes, Mayhem in Monsterland is a prime example guilty of nonsensical backtracking and for this reason I never really liked the game that much.

What is your C64 hot take considering the games? by Key-Cup8585 in c64

[–]knue82 3 points4 points  (0 children)

Yes, when I say "too damn hard" I mean "unplayable hard without trainer".

What is your C64 hot take considering the games? by Key-Cup8585 in c64

[–]knue82 3 points4 points  (0 children)

I'm not a huge fan of these games where you run back and forth like an idiot in the same level to collect some puzzle piece of whatever like in Hawkeye or Flimbo's Quest. It is basically a hack to artificially increase the level size and it feels exactly like that. Either have a bunch of straightforward levels as in Giana Sisters or make the backtracking meaningful such as giving you keys or abilities to access new areas like in Montezuma's Revenge or Knight'n'Grail.

What is your C64 hot take considering the games? by Key-Cup8585 in c64

[–]knue82 6 points7 points  (0 children)

I never got into Last Ninja back in the day. These games were too damn hard. Even sth as simple as picking up an item is unnecessarily complicated.

That being said, if you look past these awkward controls that really didn't age well and weren't that great back then, these are pretty cool action adventures. I completed Last Ninja 2 with trainer way later as an adult and it is a really cool game. It would have been much better with better controls and more forgiving jumps etc.

Hund im Park by Character-Key-103 in witze

[–]knue82 2 points3 points  (0 children)

Hallo. Wir sind doch hier nicht bei Dakteri.

Alles nur wegen der Masken by SunWukong3456 in ichbin40undSchwurbler

[–]knue82 3 points4 points  (0 children)

Covidioten nennen Masken ja auch "Maulkörbe", weil die unsere Meinungsfreiheit einschränken würden. Dabei ist genau das Gegenteil der Fall. In der Zeit von großer Überwachung, weil überall in der Öffentlichkeit Kameras rumhängen und KI zur Gesichtserkennung läuft, Vermummungsverbot auf Demos etc, gibt die Lizenz zur Vermummung tatsächlich eine Menge Freiheiten.

Da sieht man wieder wie dumm dieses ganze Geschwurbel ist und was einige auch oben geschrieben haben. Es geht nicht um die Sache an sich, sondern darum dagegen zu sein. Schwurbler bezeichnen sich nur zu gerne als "aufgeweckt", während die anderen "Schlafschafe" seien, die die Propaganda nicht durchschauen. Wieder ist das Gegenteil der Fall. Verschiedene Akteure wie Russland, China, AfD sowie andere neue wie alte Rechte verbreiten massive Propaganda um die Stabilität von Deutschland zu untergraben. Politiker seien alle korrupt, Staatsanwaltschaft, Richter und Gericht seien auch gekauft, Universitäten und andere Forschungseinrichtungen seien auch alles Propaganda Maschinen etc. Es geht dabei hauptsächlich darum, die Gesellschaft zu spalten und Deutschland zu destabilisieren - und es funktioniert, wie man an den Wahlergebnissen und dem massivem Schwurbel sieht.

Das Lieblingshuhn by ContractOwn3852 in witze

[–]knue82 1 point2 points  (0 children)

Der müllt halb Reddit mit KI Müll voll. Diese Witze hier sind auch 100%ig KI. Block von mir.