Skip to content
0:00 / 0:00

#win32#assembly#msvc

C vs ASM: Making the World's SMALLEST Windows App

Dave's Garage

1.1M subscribers • 9 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

155K views3 years ago2 recommendations

Systems programmingProgramming languagesCPerformance and optimizationOperating systems

Dave Plummer compares C and assembly language to see how small a functional Windows application can be made using aggressive optimization techniques.

How small can a fully functional Windows application get? 4K? 2K? 1K? Can ASM best the C version? Find out as Dave takes you on a tour of Windows apps in both C and assembly and demonstrates some aggressive optimization techniques! For my book "Secrets of the Autistic Millionaire": amzn.to/3diQILq Follow me on Twitter: @davepl1968 Discord Chat w/ Myself and Subscribers: discord.gg/eMVWUvrkP6. Code: github.com/PlummersSoftwareLLC/HelloAssembly "David's" Page on his tiny app: davidesnotes.com/ Primary Equipment (Amazon Affiliate Links): * AppleTV 4K - amzn.to/3Web65S * Dell Monitor - amzn.to/3Dmbsyx * Indigo Automation Software: indigodomo.com/ * Black and Decker Stud Finder - amzn.to/3fvEMuu * Camera: Sony FX-3 - amzn.to/3w31C0Z * Camera Lens: 50mm F1.4 Art DG HSM - amzn.to/3kEnYk4 * Microphone: Electro-Voice RE 320 - amzn.to/37gL65g * Teleprompter: Glide Gear TMP 100 - amzn.to/3MN2nlA * SD Cards: Sony TOUGH - amzn.to/38QZGR9 Bridge desktop image by Rex Lau Photopgraphy PE format image by Rick's Blog: 0xrick.github.io/win-internals/pe2/

Why it's here

2 people recommend this

What people say. Recommended as an interesting demonstration of low-level Windows API programming and binary size optimization.

u/yksvaanin r/C_Programming • Recommends

On “How did C programmers write GUIs in the 80s and early 90s?”

Here's a nice video link to this video The guy writes a really tiny simple app, you'll probably get the idea even if the details go over your head.  Using winapi diectly is tedious but there's some charm to it. I've actually written some minimal utilities with but those were basically CLI wrappers for normies with a file selector and button or something else trivial.

u/tastygames_officialin r/C_Programming • Recommends

On “Helpful Windows GUI Program in 60 lines of C”

this might also interest anyone interested in low-level windows programming: [video