Hacker Newsnew | past | comments | ask | show | jobs | submit | pharrington's commentslogin

He means its about a message loop, as opposed to an update loop.

The main loop of any GUI application is an event loop. You can't do that without using a platform API, and the platform API happens to be GetMessage() / TranslateMessage() / DispatchMessage(). There is nothing Win32 specific that somehow gives you less ownership of the main loop than you would have otherwise. If anything, it gives you more customization than most other platforms / frameworks by having three separate functions between which you can manipulate events.

At best, what the article is trying to say is "This is a GUI application, so we need to handle user input and paint request events etc in the main loop. Here is how to set up such a main loop in Win32:"

Win32 messages are higher-level than what you get out of select() and such, but that only serves to make it easier to customize things at the appropriate level of abstraction and with sufficient high-level information.


Fat chance, Satya!

This is actually nuts. You can't even constantly implement "age verification" at the system level in a way that makes sense across world cultures.

The only sane way to do this is you were playing along with arbitrary legislative age-gaters would be to add a generic "additional user info" blob to the account fields, if it didn't already exist.


Desktop and laptop sellers need to end their abusive business relationship with Microsoft, and start selling systems with a Linux distribution. They'll save costs while selling a better product. People who know they need Windows will always have the option to install it themselves.


I actually belive that is what triggered this.

There was a rumour 1-2 months ago about Lenovo and Asus meeting Microsoft execs and warning them that if win11 issues continued to cost them support hours and devicw returns they would be forced to find an alternative.


Now there's an idea I can get behind.


I've installed Win 11 in VMs and linux on bare metal quite a few times this years.

If you count "time to unobstructed desktop + working hardware drivers", Debian beats windows by a large margin. (10 minutes vs. 1-2 hours). Also, with windows, you need to type weird crap like this into a terminal:

   & ([scriptblock]::Create((irm "https://debloat.raphi.re/")))
Debian mostly lets you avoid such stuff.


Highly doubt it's good for the mass consumers and non-power users in the long term. Most consumers would prefer household OS name like Windows or MacOS over Linux as a pre-installed OS. OEMs will always prefer Windows because of the profits they make whenever there's a Windows Refresh, no matter how bad the version is.


Fat chance Elon!


Lt Cmdr Data goes hard AF on the decks.



ReasonML if you want a slightly more Rustic syntax.


Why do the deliverables always take about 1 hour? Is this fully automated?


Where is the place you'd like to see someone say "Declare variables, not war"?


On their blog I guess? Not in my text editor, that's for sure. I'm busy trying to get work done; I neither have time for nor want to hear about the author's opinions on current events.


2fa, except its 0 factors instead of two?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: