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: Server Unix e 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)

💬 Discussione della community e commenti

🌐 Entra nella chat principale

Avvia la discussione nel flusso broadcast della Social Chat oppure invia qui sopra un contributo esperto tramite il modulo di integrazione.

Briefing di sicurezza Gratuito · disdetta in 1 clic

Intelligence Digest — gratuito

Ogni giorno le notizie di sicurezza più importanti · annullabile in qualsiasi momento

Valutazione della community & prova sociale
⭐ Giudizio dei lettori
–
Ø / 5.0
Ancora nessuna valutazione dei lettori
Questo articolo ti è stato utile?
0
Lascia ora la tua valutazione
Valutazione dettagliata (facoltativa)
Contenuto & qualità
Fonte & credibilità
Attualità

Cluster di storie correlate & fonti (IA vettoriale)

6 Cluster
28 fonti
GOG Black Friday sale is live, plus multiple Lara Croft games enter the GOG Preservation Program
GamingOnLinux Latest Articles 41 min. fa
27 altre fonti
Latest from TechRadar56 min. faBlack Friday Sonos: the best deals on wireless speakers, soundbars and more Latest from TechRadar51 min. faBlack Friday discounts on Seagate's Expansion Desktop Hard Drive make it one of the cheapest of its kind, with discounts of up to 22% on higher storage capacities Latest from TechRadar47 min. faThe best Black Friday Philips Hue deals: save on smart bulbs, string lights, and light strips Latest from TechRadar45 min. faNewegg knocks $348 off its AMD Ryzen 7 5800X3D PC bundle for Black Friday Latest from TechRadar43 min. faThe best early Black Friday Garmin deals, picked by a smartwatch tester Latest from TechRadar34 min. faWork like it's 1998: Aura Displays' retro-inspired Bondi Blue Triple Aero ’98 Pro Max laptop screen extender gets a 16% discount for Black Friday Latest from TechRadar33 min. faThe Disney+ and Hulu Black Friday streaming deal for just $5 has returned Golem.de43 min. faAnzeige: Beliebter WLAN-Repeater für nur 23,32 Euro im Black Friday Angebot Android54 min. faBose Black Friday: Diese Kopfhörer, Soundbars und Boxen sind heute reduziert Latest from TechRadar1 h faBlack Friday phone deals: 35 hand-picked deals on Apple iPhones, Pixels, Samsung phones, and more PC-WELT1 h faBlack Friday: Saugroboter von Dyson, Roborock und Mova heute zum Amazon-Tiefstpreis PC-WELT1 h faBlack Friday: Saugroboter von Dyson, Roborock und Mova heute zum Amazon-Tiefstpreis Latest from TechRadar1 h faApple's lightweight 2026 M5 MacBook Air gets $250 off for Black Friday Engadget1 h faFive solar generators going for deep discounts on Black Friday The Verge1 h faXteink’s pocketable X4 Classic e-reader is down to just $55 for Black Friday PC-WELT1 h faMein liebstes Produktivitäts-Gadget: Stream Deck zum Black Friday günstiger PC-WELT1 h faApple Mac mini wird immer günstiger: Diese Mini-PCs sind im Black-Friday-Sale PC-WELT1 h faMein liebstes Produktivitäts-Gadget: Stream Deck zum Black Friday günstiger Codrops2 giorni faBlack Friday 2026: 10 Deals for Web Designers and Front-End Developers CNET12 giorni faSave $112 on Sony’s Flagship WH-1000XM6 Headphones This Black Friday CNET1 h faSave $56 on Baseus Inspire XC1 Open Earbuds With This Black Friday Deal Golem.de1 h faAnzeige: Ankers Soundcore-Lautsprecher zum Black Friday für 18 Euro bei Amazon PC-WELT2 h faBlack Friday: MacBook, Surface & Co. jetzt bis zu 630 Euro günstiger Latest from TechRadar2 h faThousands of Black Friday deals are live right now. These are the 175 best Latest from Windows Central2 h faXBOX 25th anniversary hardware has a perfect companion for mobile gaming — and it's 20% off for Black Friday PC-WELT2 h faDas beste Tool, das ich je für unter 14 Euro gekauft habe – jetzt als Black-Friday-Schnäppchen CNET2 h faShop Top Apple Watch Black Friday Deals, Starting at $179
3 fonti
Twilio's New 10DLC Rejection Codes (Dec 2026): What Each Means and How to Avoid Paying for a Rejection
DEV Community 31 min. fa
2 altre fonti
Articoli simili
🔍 Verwandte News

Auch interessante Nachrichten Programming

Thematisch verwandte Begriffe: Programming · 6 Treffer

Laden...

Caricamento degli articoli ...

Laden...

Caricamento dei video ...

💬 Caricamento dei commenti…
Trascina per aggiornare
Widgets & Topics
Loading widgets…
Nächster Beitrag