• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Tuesday, August 26, 2025
Techcratic
No Result
View All Result
  • AI
    Artificial Intelligence

    7 Python Built-ins That Seem Like a Joke (Until You Use Them)

    Artificial Intelligence

    Learn Python (+ AI) and Become a Certified Data Analyst for FREE This Week

    Artificial Intelligence

    From JSON to Dashboard: Visualizing DuckDB Queries in Streamlit with Plotly

    Artificial Intelligence

    The “Super Weight:” How Even a Single Parameter can Determine a Large Language Model’s…

    Artificial Intelligence

    10 Python One-Liners to Optimize Your Machine Learning Pipelines

    Artificial Intelligence

    Streamline employee training with an intelligent chatbot powered by Amazon Q Business

    Artificial Intelligence

    Writing Your First GPU Kernel in Python with Numba and CUDA

    Artificial Intelligence

    Build a scalable containerized web application on AWS using the MERN stack with Amazon Q…

    Artificial Intelligence

    Introducing Amazon Bedrock AgentCore Identity: Securing agentic AI at scale

  • Apple
    How to watch Apple’s iPhone 17 event live on September 9

    How to watch Apple’s iPhone 17 event live on September 9

    Apple’s September iPhone event: Date, time, and what will Apple launch

    Apple’s September iPhone event: Date, time, and what will Apple launch

    iPad Pro, M4 iMac, iPhone 15 Pro Max, MacBook Air, more 9to5Mac

    iPad Pro, M4 iMac, iPhone 15 Pro Max, MacBook Air, more 9to5Mac

    Apple researchers taught an LLM to predict tokens up to 5x faster

    Apple still debating Mistral and Perplexity M&A amid looming Google Search shakeup

    Microphone, volume control for iPhone

    Microphone, volume control for iPhone

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    Apple @ Work Podcast: Streamlining patch management for macOS

    Apple @ Work Podcast: Device security vs identity management in the enterprise

    iPadOS 26 beta 8 now available, launch only weeks away

    iPadOS 26 beta 8 now available, launch only weeks away

    iOS 26 beta 8 now available

    iOS 26 beta 8 now available

  • ComputerWorld
    Dropbox to offer its genAI service Dash for download

    Dropbox to offer its genAI service Dash for download

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    Why IT leaders think generative AI will create jobs

    Why IT leaders think generative AI will create jobs

    Developers who don’t document code? Blame the bosses

    Developers who don’t document code? Blame the bosses

    Rise of AI crawlers and bots causing web traffic havoc

    Rise of AI crawlers and bots causing web traffic havoc

    Adobe Acrobat Studio brings genAI power to PDFs

    Adobe Acrobat Studio brings genAI power to PDFs

  • Gaming
    DIABLO 4 SEASON 1 REVIEW

    DIABLO 4 SEASON 1 REVIEW

    REDRAGON S101 GAMING KEYBOARD

    CRKD’s Vortex is a twist on a Peak Design backpack, but for gaming

    Sonic Frontiers Final Review: The Supercut

    Sonic Frontiers Final Review: The Supercut

    Gears of War: Reloaded PC performance: The updated graphics are easy work for any desktop GPU from the past six years but they’re still enough to give handhelds grief

    Gears of War: Reloaded PC performance: The updated graphics are easy work for any desktop GPU from the past six years but they’re still enough to give handhelds grief

    Gotham Knights Running on SteamOS! Steam Deck Handheld Gameplay

    Gotham Knights Running on SteamOS! Steam Deck Handheld Gameplay

    Linus Torvalds has apparently met Bill Gates for the first time in person and before you ask, no he didn’t clock him in the face

    It’s downright nuts how good this fan remake of Fallout 1 in Doom looks, and I’m begging Bethesda to take note

    Assassin’s Creed III: Come Sail Away

    Assassin’s Creed III: Come Sail Away

    KTC H27T22C-3 gaming monitor review

    KTC H27T22C-3 gaming monitor review

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

  • Retro Rewind
    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

  • Tech Art
    Don’t make these shading mistakes

    Don’t make these shading mistakes

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Using Colored Pencil with Art Markers | Mixed Media Tips

    Using Colored Pencil with Art Markers | Mixed Media Tips

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    AK Interactive 3rd Gen | Black Primer | Try out

    AK Interactive 3rd Gen | Black Primer | Try out

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

  • Tech Deals
    DUMOS L Shaped Desk Computer Gaming Corner Table 50 Inch Home Office Writing Student…

    DUMOS L Shaped Desk Computer Gaming Corner Table 50 Inch Home Office Writing Student…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

  • Techs Got To Eat
    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

  • Tesla
    Carwiner Center Console Cover for Tesla Model 3 Model Y, PU Leather Armrest Box Cushion…

    Carwiner Center Console Cover for Tesla Model 3 Model Y, PU Leather Armrest Box Cushion…

    Tesla announces Cybertruck expansion into South Korea

    Tesla announces Cybertruck expansion into South Korea

    Metra – Speaker Plate – Fits Select BMW, Porsche, Range Rover, Tesla (82-8601)

    Metra – Speaker Plate – Fits Select BMW, Porsche, Range Rover, Tesla (82-8601)

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

  • UFO
    Under Armour Men’s Freedom Banner Short Sleeve T Shirt

    Under Armour Men’s Freedom Banner Short Sleeve T Shirt

    #most #famous #encounters of #3types with #extraterrestrial in #history P.1.3 –

    #most #famous #encounters of #3types with #extraterrestrial in #history P.1.3 –

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    #love #truth

    #love #truth

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Calvine “UFO” Investigation Update

    Calvine “UFO” Investigation Update

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

  • AI
    Artificial Intelligence

    7 Python Built-ins That Seem Like a Joke (Until You Use Them)

    Artificial Intelligence

    Learn Python (+ AI) and Become a Certified Data Analyst for FREE This Week

    Artificial Intelligence

    From JSON to Dashboard: Visualizing DuckDB Queries in Streamlit with Plotly

    Artificial Intelligence

    The “Super Weight:” How Even a Single Parameter can Determine a Large Language Model’s…

    Artificial Intelligence

    10 Python One-Liners to Optimize Your Machine Learning Pipelines

    Artificial Intelligence

    Streamline employee training with an intelligent chatbot powered by Amazon Q Business

    Artificial Intelligence

    Writing Your First GPU Kernel in Python with Numba and CUDA

    Artificial Intelligence

    Build a scalable containerized web application on AWS using the MERN stack with Amazon Q…

    Artificial Intelligence

    Introducing Amazon Bedrock AgentCore Identity: Securing agentic AI at scale

  • Apple
    How to watch Apple’s iPhone 17 event live on September 9

    How to watch Apple’s iPhone 17 event live on September 9

    Apple’s September iPhone event: Date, time, and what will Apple launch

    Apple’s September iPhone event: Date, time, and what will Apple launch

    iPad Pro, M4 iMac, iPhone 15 Pro Max, MacBook Air, more 9to5Mac

    iPad Pro, M4 iMac, iPhone 15 Pro Max, MacBook Air, more 9to5Mac

    Apple researchers taught an LLM to predict tokens up to 5x faster

    Apple still debating Mistral and Perplexity M&A amid looming Google Search shakeup

    Microphone, volume control for iPhone

    Microphone, volume control for iPhone

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    Apple @ Work Podcast: Streamlining patch management for macOS

    Apple @ Work Podcast: Device security vs identity management in the enterprise

    iPadOS 26 beta 8 now available, launch only weeks away

    iPadOS 26 beta 8 now available, launch only weeks away

    iOS 26 beta 8 now available

    iOS 26 beta 8 now available

  • ComputerWorld
    Dropbox to offer its genAI service Dash for download

    Dropbox to offer its genAI service Dash for download

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    Why IT leaders think generative AI will create jobs

    Why IT leaders think generative AI will create jobs

    Developers who don’t document code? Blame the bosses

    Developers who don’t document code? Blame the bosses

    Rise of AI crawlers and bots causing web traffic havoc

    Rise of AI crawlers and bots causing web traffic havoc

    Adobe Acrobat Studio brings genAI power to PDFs

    Adobe Acrobat Studio brings genAI power to PDFs

  • Gaming
    DIABLO 4 SEASON 1 REVIEW

    DIABLO 4 SEASON 1 REVIEW

    REDRAGON S101 GAMING KEYBOARD

    CRKD’s Vortex is a twist on a Peak Design backpack, but for gaming

    Sonic Frontiers Final Review: The Supercut

    Sonic Frontiers Final Review: The Supercut

    Gears of War: Reloaded PC performance: The updated graphics are easy work for any desktop GPU from the past six years but they’re still enough to give handhelds grief

    Gears of War: Reloaded PC performance: The updated graphics are easy work for any desktop GPU from the past six years but they’re still enough to give handhelds grief

    Gotham Knights Running on SteamOS! Steam Deck Handheld Gameplay

    Gotham Knights Running on SteamOS! Steam Deck Handheld Gameplay

    Linus Torvalds has apparently met Bill Gates for the first time in person and before you ask, no he didn’t clock him in the face

    It’s downright nuts how good this fan remake of Fallout 1 in Doom looks, and I’m begging Bethesda to take note

    Assassin’s Creed III: Come Sail Away

    Assassin’s Creed III: Come Sail Away

    KTC H27T22C-3 gaming monitor review

    KTC H27T22C-3 gaming monitor review

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

  • Retro Rewind
    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

  • Tech Art
    Don’t make these shading mistakes

    Don’t make these shading mistakes

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Using Colored Pencil with Art Markers | Mixed Media Tips

    Using Colored Pencil with Art Markers | Mixed Media Tips

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    AK Interactive 3rd Gen | Black Primer | Try out

    AK Interactive 3rd Gen | Black Primer | Try out

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

  • Tech Deals
    DUMOS L Shaped Desk Computer Gaming Corner Table 50 Inch Home Office Writing Student…

    DUMOS L Shaped Desk Computer Gaming Corner Table 50 Inch Home Office Writing Student…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

  • Techs Got To Eat
    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

  • Tesla
    Carwiner Center Console Cover for Tesla Model 3 Model Y, PU Leather Armrest Box Cushion…

    Carwiner Center Console Cover for Tesla Model 3 Model Y, PU Leather Armrest Box Cushion…

    Tesla announces Cybertruck expansion into South Korea

    Tesla announces Cybertruck expansion into South Korea

    Metra – Speaker Plate – Fits Select BMW, Porsche, Range Rover, Tesla (82-8601)

    Metra – Speaker Plate – Fits Select BMW, Porsche, Range Rover, Tesla (82-8601)

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

  • UFO
    Under Armour Men’s Freedom Banner Short Sleeve T Shirt

    Under Armour Men’s Freedom Banner Short Sleeve T Shirt

    #most #famous #encounters of #3types with #extraterrestrial in #history P.1.3 –

    #most #famous #encounters of #3types with #extraterrestrial in #history P.1.3 –

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    #love #truth

    #love #truth

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Calvine “UFO” Investigation Update

    Calvine “UFO” Investigation Update

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

No Result
View All Result
Techcratic
No Result
View All Result
Home Hacker News

What’s faster than Memcmp? | richardcocks

Hacker News by Hacker News
March 30, 2025
in Hacker News
Reading Time: 16 mins read
122
A A
0

2025-03-30 10:53:00
richardcocks.github.io

In this post I look at improvements in .NET and using Span for performance and portability.

I was examining portability issues in a code base that I wanted to migrate from .NET framework 4.8.1 to .NET8. I discovered use of msvcrt.dll. I quickly established it is a popular stackoverflow answer for a fast way to compare byte arrays in .NET

The answer as provided, and faithfully copied into codebases, is this:

[DllImport("msvcrt.dll", CallingConvention=CallingConvention.Cdecl)]
static extern int memcmp(byte[] b1, byte[] b2, long count);

static bool ByteArrayCompare(byte[] b1, byte[] b2)
{
    // Validate buffers are the same length.
    // This also ensures that the count does not exceed the length of either buffer.  
    return b1.Length == b2.Length && memcmp(b1, b2, b1.Length) == 0;
}

A big performance improvement in modern .NET is the Span type. The documentation describes it as:

Provides a type-safe and memory-safe representation of a contiguous region of arbitrary memory.

That’s not a super helpful description, but the summary is that it’s stack-allocated rather than heap allocated.

Span has an extension method SequenceEqual(this ReadOnlySpan span, ReadOnlySpan other), and we’ll see how it fares.

    public static bool EqualsSpan(ReadOnlySpanbyte> b1, ReadOnlySpanbyte> b2)
    {
        return b1.SequenceEqual(b2);
    }

Let’s see how it stacks up against a couple of naive implementations, a for loop and using Enumerable.SequenceEquals:

    public static bool EqualsLoop(byte[] b1, byte[] b2)
    {

        if (b1.Length != b2.Length) return false;
        for (int i = 0; i  b1.Length; i++)
        {
            if (b1[i] != b2[i]) return false;
        }

        return true;
    }

    public static bool EqualsSequenceEqual(byte[] b1, byte[] b2)
    {
        return b1.SequenceEqual(b2);
    }

We compare using two identical arrays since this is typically the worst-case for equality checking, and we’re going to benchmark on a range of array sizes: 10 bytes, 1KB, 1MB and 1GB.

    [Params(10, 1_024, 1_048_576, 1073741824)]
    public int Length { get; set; }

    byte[] first;
    byte[] second;

    [GlobalSetup]
    public void Setup()
    {
        var r = new Random(0);

        first = new byte[Length];
        second = new byte[Length];

        r.NextBytes(first);
        Array.Copy(first, second, Length);
    }

The setup is straightforward, we fill the first array with random data, and copy the data to the second array.

Results

Benchmark results graph

BenchmarkDotNet v0.14.0, Windows 10 (10.0.19045.5679/22H2/2022Update)
AMD Ryzen 7 3800X, 1 CPU, 16 logical and 8 physical cores
.NET SDK 10.0.100-preview.2.25164.34
  [Host]               : .NET 9.0.3 (9.0.325.11113), X64 RyuJIT AVX2
  .NET 8.0             : .NET 8.0.14 (8.0.1425.11118), X64 RyuJIT AVX2
  .NET 9.0             : .NET 9.0.3 (9.0.325.11113), X64 RyuJIT AVX2
  .NET Framework 4.8.1 : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256

Method Job Runtime Length Mean Ratio RatioSD Allocated
MemCmp .NET 8.0 .NET 8.0 10 7.957 ns 0.65 0.01 –
MemCmp .NET 9.0 .NET 9.0 10 7.877 ns 0.64 0.01 –
MemCmp .NET Framework 4.8.1 .NET Framework 4.8.1 10 12.239 ns 1.00 0.02 –
Loop .NET 8.0 .NET 8.0 10 4.390 ns 0.88 0.03 –
Loop .NET 9.0 .NET 9.0 10 6.439 ns 1.29 0.05 –
Loop .NET Framework 4.8.1 .NET Framework 4.8.1 10 4.995 ns 1.00 0.03 –
SequenceEqual .NET 8.0 .NET 8.0 10 21.341 ns 0.15 0.00 –
SequenceEqual .NET 9.0 .NET 9.0 10 7.611 ns 0.05 0.00 –
SequenceEqual .NET Framework 4.8.1 .NET Framework 4.8.1 10 139.476 ns 1.00 0.02 64 B
Span .NET 8.0 .NET 8.0 10 2.394 ns 0.21 0.00 –
Span .NET 9.0 .NET 9.0 10 1.624 ns 0.14 0.00 –
Span .NET Framework 4.8.1 .NET Framework 4.8.1 10 11.523 ns 1.00 0.01 –
MemCmp .NET 8.0 .NET 8.0 1024 36.745 ns 0.89 0.01 –
MemCmp .NET 9.0 .NET 9.0 1024 36.317 ns 0.88 0.01 –
MemCmp .NET Framework 4.8.1 .NET Framework 4.8.1 1024 41.452 ns 1.00 0.01 –
Loop .NET 8.0 .NET 8.0 1024 247.326 ns 0.66 0.01 –
Loop .NET 9.0 .NET 9.0 1024 246.738 ns 0.66 0.01 –
Loop .NET Framework 4.8.1 .NET Framework 4.8.1 1024 372.410 ns 1.00 0.01 –
SequenceEqual .NET 8.0 .NET 8.0 1024 32.069 ns 0.003 0.00 –
SequenceEqual .NET 9.0 .NET 9.0 1024 21.439 ns 0.002 0.00 –
SequenceEqual .NET Framework 4.8.1 .NET Framework 4.8.1 1024 9,542.293 ns 1.000 0.02 64 B
Span .NET 8.0 .NET 8.0 1024 12.408 ns 0.51 0.01 –
Span .NET 9.0 .NET 9.0 1024 12.310 ns 0.51 0.01 –
Span .NET Framework 4.8.1 .NET Framework 4.8.1 1024 24.117 ns 1.00 0.01 –
MemCmp .NET 8.0 .NET 8.0 1048576 31,477.776 ns 0.99 0.02 –
MemCmp .NET 9.0 .NET 9.0 1048576 31,790.009 ns 1.00 0.02 –
MemCmp .NET Framework 4.8.1 .NET Framework 4.8.1 1048576 31,693.469 ns 1.00 0.02 –
Loop .NET 8.0 .NET 8.0 1048576 247,350.116 ns 0.65 0.01 –
Loop .NET 9.0 .NET 9.0 1048576 251,317.223 ns 0.66 0.02 –
Loop .NET Framework 4.8.1 .NET Framework 4.8.1 1048576 379,628.993 ns 1.00 0.02 –
SequenceEqual .NET 8.0 .NET 8.0 1048576 20,974.963 ns 0.002 0.00 –
SequenceEqual .NET 9.0 .NET 9.0 1048576 20,615.505 ns 0.002 0.00 –
SequenceEqual .NET Framework 4.8.1 .NET Framework 4.8.1 1048576 9,744,674.688 ns 1.000 0.01 –
Span .NET 8.0 .NET 8.0 1048576 20,955.331 ns 0.99 0.02 –
Span .NET 9.0 .NET 9.0 1048576 20,598.672 ns 0.97 0.01 –
Span .NET Framework 4.8.1 .NET Framework 4.8.1 1048576 21,176.643 ns 1.00 0.02 –
MemCmp .NET 8.0 .NET 8.0 1073741824 111,762,734.375 ns 1.04 0.03 80 B
MemCmp .NET 9.0 .NET 9.0 1073741824 110,374,794.400 ns 1.03 0.03 80 B
MemCmp .NET Framework 4.8.1 .NET Framework 4.8.1 1073741824 107,072,063.077 ns 1.00 0.01 –
Loop .NET 8.0 .NET 8.0 1073741824 280,450,679.167 ns 0.69 0.02 200 B
Loop .NET 9.0 .NET 9.0 1073741824 523,091,792.857 ns 1.29 0.02 400 B
Loop .NET Framework 4.8.1 .NET Framework 4.8.1 1073741824 404,927,735.714 ns 1.00 0.01 –
SequenceEqual .NET 8.0 .NET 8.0 1073741824 95,954,794.298 ns 0.010 0.00 67 B
SequenceEqual .NET 9.0 .NET 9.0 1073741824 94,486,122.500 ns 0.010 0.00 80 B
SequenceEqual .NET Framework 4.8.1 .NET Framework 4.8.1 1073741824 9,944,911,760.000 ns 1.000 0.00 –
Span .NET 8.0 .NET 8.0 1073741824 92,945,091.026 ns 0.97 0.01 67 B
Span .NET 9.0 .NET 9.0 1073741824 94,375,230.882 ns 0.99 0.03 67 B
Span .NET Framework 4.8.1 .NET Framework 4.8.1 1073741824 95,817,247.619 ns 1.00 0.02 –

The first notable result is that for very small arrays, the overhead of calling memcmp is a waste compared to a naive loop. In .NET Framework, the loop is overall fastest for 10 element arrays. This is not unexpected, but it’s important to note; don’t try to optimise if you actually have small arrays. The loop does not scale well at all however, and that advantage has completely disappeared by just 1000 elements.

The more biggest difference is between .NET framework and .NET 8. Even the loop is notably faster in .NET 8. There is a bizarre performance regression from .NET 8 to .NET 9 for 1GB arrays, which I will investigate separately to try to confirm that result, it may have been a glitch in the benchmark, given twice the memory allocations and twice the time taken.

When we look at IEnumerable.SequenceEqual, it is 500 times faster for our 1MB array in .NET 8 than in .NET framework. In .NET8 and .NET9, IEnumerable.SequenceEqual is faster than the version of memcmp I have on my machine.

There wasn’t a significant difference between ReadOnlySpan.SequenceEqual and IEnumerable.SequenceEqual, with the difference around the margin of error.

memcmp is still a little slower than SequenceEqual across the board. It’s still very fast, much faster than naive methods, but it’s clearly no longer necessary for achieving high performance for array comparisons. When the original stackoverflow answer was written, there was nothing available in .NET that could come close to that performance, as it was before Span was added to the runtime.

A benefit of the ReadOnlySpan implementation over using IEnumerable.SequenceEqual is that we can also trust that it still perform acceptably when we target .NET Framework.

Conclusion

If you’re using .NET 8 and don’t need to run in the .NET Framework runtime, don’t write your own utility function and just use IEnumerable.SequenceEqual, it’s incredibly fast and doesn’t need any external dependencies to just work.

If you’re on .NET Framework, then bring in System.Memory and use Span.SequenceEquals instead of relying on external C libraries. Make sure any calls to IEnumerable.SequenceEquals are checked to make sure they aren’t operating on large arrays.

Other considerations

If you regularly need to compare very large arrays and they are append-only and/or are compared more often than constructed, then it may make sense to avoid the comparison entirely by using a data structure that includes and maintains an order-sensitive hash of its contents. Most negative cases can be discounted through a hash comparison before doing the more expensive array comparison. Rebuilding this hash could be expensive for arrays that shuffle or remove items however.

Source Code

The source code to generate these results is available at https://github.com/richardcocks/memcomparison/ .

Pull requests always welcome.

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Unlock unlimited streaming with a free Amazon Prime trial!
Sign up today!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share162Share28ShareShare4ShareTweet101
Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

We regret but have to temporary suspend the shipments to USA
Hacker News

We regret but have to temporary suspend the shipments to USA

August 26, 2025
1.3k
China’s Share in Global Display Capacity to Reach 75% in 2028
Hacker News

China’s Share in Global Display Capacity to Reach 75% in 2028

August 26, 2025
1.3k
pandax381/xv6-riscv-net: Xv6 for RISC-V with Networking
Hacker News

pandax381/xv6-riscv-net: Xv6 for RISC-V with Networking

August 26, 2025
1.3k
Omarchy is out
Hacker News

Omarchy is out

August 25, 2025
1.3k
IBM’s Power11 Processor Architecture at Hot Chips 2025
Hacker News

IBM’s Power11 Processor Architecture at Hot Chips 2025

August 25, 2025
1.3k
GitHub – ENDESGA/PEP: Prediction-Encoded Pixels
Hacker News

GitHub – ENDESGA/PEP: Prediction-Encoded Pixels

August 25, 2025
1.3k
The Size of Adobe Reader Installers Through The Years
Hacker News

The Size of Adobe Reader Installers Through The Years

August 25, 2025
1.3k
Attaxion Releases Agentless Traffic Monitoring for Immediate Risk Prioritization – GBHackers Security
Hacker News

Attaxion Releases Agentless Traffic Monitoring for Immediate Risk Prioritization – GBHackers Security

August 25, 2025
1.3k
Load More
Next Post
Smartphone

Galaxy S25 caught testing Samsung’s upcoming One UI 8 (Android 16) update

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Forbes
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

How to Save Your Favorite Websites to the Mac Menu Bar

Here’s The Worst Ferrari Engine Ever Made

XRP Open Interest Dips 30% Amid Whale Inflows

Apple’s next iPhone event is happening September 9 at 1 pm Eastern

Latest Play Store update flags power-hungry watch faces

Microsoft will now automatically install 'quality updates' on some Windows 11 PCs during setup

Techcratic – Your All In One Tech Hub
© 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Gaming
  • I Like Cats ™
  • I Like Dogs ™
  • MacRumors
  • Macworld
  • Tech Deals
  • Techcratic ™
  • Techs Got To Eat ™
  • Tesla
  • UFO
  • Wired