Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

Programming

I've actually written code lately, although for some reason it's been all these stupid projects. First I needed to fix the kernel tty refcounting, then I got…

Beitrag
0
Seite
0
↗ Quelle (torvalds-family.blogspot.com)
Cloud & Tech-Stack · 2 Min. Lesezeit
Quelle: torvalds-family.blogspot.com
Rubrik: Serveurs Unix & Linux
I've actually written code lately, although for some reason it's been all these stupid projects. First I needed to fix the kernel tty refcounting, then I got all OCD on the git SHA1 routines.

I don't quite know why I wasted that much time on something as trivial as SHA1 hashing, but it was kind of fun in a "let's use the compiler as a glorified assembler" kind of way. Some people seem to think that C is a real programming language, but they are sadly mistaken. It really is about writing almost-portable assembly language, and it turns out that getting good results from SHA1 really is mostly about trying to fight the compilers tendency to try to be clever.

So here is the current result of me trying to get gcc (well, arguably of it is mostly the C pre-processor, rather than the compiler proper ) to generate good assembly code. On my Nehalem machine (but not Netburst or Atom - poor fragile micro-architectures that they are), it actually seems to outperform the OpenSSL hand-written assembly language implementation.

And once I get rid of libcrypt from openssl, I get rid of two silly runtime loadable libraries that git no longer needs. And that in turn speeds up the test-suite by a couple of seconds.

Did I mention that I seem to have some OCD issues?
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Discussion communautaire et commentaires

🌐 Rejoindre le chat principal

Lancez la discussion dans le flux diffusé du Social Chat ou proposez ci-dessus une contribution experte via le formulaire de complément.

Briefing sécurité Gratuit · désabonnement en 1 clic

Intelligence Digest — gratuit

Chaque jour, les principales actualités sécurité · résiliable à tout moment

Évaluation communautaire & preuve sociale
⭐ Avis des lecteurs
–
Ø / 5.0
Pas encore d'évaluation des lecteurs
Cet article vous a-t-il été utile ?
0
Donner votre évaluation
Évaluation détaillée (facultatif)
Contenu & qualité
Source & fiabilité
Actualité

Groupes d’histoires apparentées & sources (IA vectorielle)

6 Cluster
26 sources
Black Friday Oura Ring deals: The best of the deals so far, picked by a wearable-tech expert
Latest from TechRadar il y a 25 min.
25 autres sources
CNETil y a 6 ansOur Favorite Blenders of 2026 Are on Sale Ahead of Black Friday CNETil y a 29 min.Brighten Up Your Day by Saving 20% Off Flashlights With Olight’s Black Friday Sale CNETil y a 21 min.Live: Black Friday Deals Are Here. Shop Expert Picks Across Tech, Everyday Essentials and More at Up to 60% Off Golem.deil y a 35 min.Anzeige: Logitech-Tastatur MX Keys S am Black Friday zum Sensationspreis auf Amazon PC-WELTil y a 47 min.Luminar zum Black Friday: KI-Bildbearbeitung für nur 79,20 Euro Latest from TechRadaril y a 1 hThis is the pair of open earbuds to hunt down over Black Friday Latest from TechRadaril y a 1 hBest AirPods Black Friday deals: all live savings on AirPods Pro 3 and more Computer Bildil y a 1 hPhilips Sonicare DiamondClean 9000 zum Black Friday günstiger netzwelt.deil y a 2 hESR startet mit Black-Friday-Rabatten: Diese AirPods-Hüllen lohnen sich jetzt netzwelt.deil y a 2 hPlayStation 5 geschenkt: Diese Black-Friday-Aktion legt die Konsole gratis obendrauf netzwelt.deil y a 2 h6 Dyson-Staubsauger im Vergleich: Dieser Sauger wird am Black Friday überraschend zum Preis/Leistungssieger netzwelt.deil y a 1 hMonitore im Angebot zum Black Friday: Gutes Bild für Office, Gaming und mehr Golem.deil y a 1 hAnzeige: Akkuschrauber mit 20 Bits zum Black Friday erstmals unter 50 Euro bei Amazon PC-WELTil y a 1 hDie günstigsten Handytarife an Black Friday von 10 GB bis Unlimited: Hier lohnt sich ein Wechsel PC-WELTil y a 1 hBlack Friday 2026 bei LiberNovo: Ergonomische Bürostühle mit bis zu 44 Prozent Rabatt Latest from TechRadaril y a 1 hThe best Black Friday robot vacuum deals: Dreame, Shark, Dyson, and Roborock Golem.deil y a 1 hAnzeige: Topdon-Starthilfe-Powerbank für Kfz zum Black-Friday-Bestpreis nur rund 85 Euro heise online Newsil y a 1 hBlack Friday: Die besten Kopfhörer zum Tiefstpreis – Sonos Ace, Nothing & Shokz Latest from Windows Centralil y a 1 hDell's Black Friday deals drop major savings on Alienware OLED monitors CNETil y a 2 ansMake Every Night Game Night and Save $90 on the Nex Playground With This Black Friday Deal DEV Communityil y a 1 hThe app is part of the gadget: 14,000 App Store reviews of 28 device apps before Black Friday Latest from TechRadaril y a 2 hBlack Friday tech deals under $100 / £100: Fire TV Sticks, earbuds, coffee machines and more Caschys Blogil y a 3 hGoogle One: Black-Friday-Angebot mit bis zu 50 Prozent Rabatt netzwelt.deil y a 3 hDem Testsieger ebenbürtig: Zum Black Friday stürzt Xiaomis stärkster E-Scooter im Preis ab Macerkopf.deil y a 3 hFotos verbessern mit Aiarty: 52 % Rabatt + Gratisgeschenke zum Black Friday
Articles similaires
🔍 Verwandte News

Auch interessante Nachrichten Programming

Thematisch verwandte Begriffe: Programming · 6 Treffer

Laden...

Chargement des vidéos ...

Laden...

Chargement des articles ...

Laden...

Chargement des vidéos ...

💬 Chargement des commentaires…
Sentinel CTI: ONLINE
Tirer pour actualiser
Widgets & Topics
Loading widgets…
Nächster Beitrag