6 ms·
"2. API ties windows to threads" OK, so what's the alternative? Automatic locking at OS-level? How can the performance penalty in those many cases where it is
by roel_v 15y ago
"2. API ties windows to threads"
OK, so what's the alternative? Automatic locking at OS-level? How can the performance penalty in those many cases where it is not needed be justified? Same goes for your arguments 3, 4 and 5 btw. Why should such low-level functionality impose important design decisions on those who follow the documentation, just to protect the beginners who don't? I much prefer my raw control, thanks - and I'll happily take the few times I shoot myself in the foot with it, err, with it.
Despite its warts and its legacy cruft, the win32 is quite flexible, and easy to understand - at a very basic level, not much studying of under-the-hood stuff required. For an OS-level API, it packs a lot of power into a small set of concepts.
- molo_ 15y agoYou argue for more control, but tying windows to threads at the OS layer is actually enforcing less control.
- chollida1 15y agoJust a quick meta response because i see you're new. You don't need to sign your posts as your user name appears above your post.
- molo_ 15y agoHi, thanks but that is what I've been doing for ages.
- molo_ 15y agoIs it really necessary to downmod me for that?
- chollida1 15y agoI think we're way off topic but I'll try to end on a good note by pointing out that I can't downvote you as you responded to my post. You'll find the community here is great, but you should try to play by it's rules:)
- molo_ 15y agoSure, that wasn't directed at you personally. Thanks and cheers.
- sp332 15y agoTo be more specific, it is against the posting guidelines here. Nothing personal. http://ycombinator.com/newsguidelines.html http://ycombinator.com/newsguidelines.html
- chollida1 15y agoPerhaps you should read the guidelines here: Specifically > Please don't sign comments, especially with your url. They're already signed with your username. If other users want to learn more about you, they can click on it to see your profile.
- molo_ 15y agoWell it seems that we hit the nesting limit, so I will reply to this post. I'm not including a URL, I'm just signing my name. Please keep in mind that is a guideline.
- roel_v 15y agoHow?