Search   Feed   Browse   Add
Feed items 1 - 4 of 4 for May 2008

Advogato blog for pphaneuf

Advogato blog for pphaneuf

Moving On - May 28, 2008

Reg Braithwaite was writing not long ago about how we can be the biggest obstacle to our own growth. It made me realize how I've dropped things that I was once a staunch supporter of.I was once a Borland Pascal programmer, and I believed that it was better than C or even C++. I believed that the flexibility of runtime typing would win over the static typing of C++ templates, as computers got faster. I belived that RPC were a great idea, and even worked on an RPC system that would work over...
http://www.advogato.org/person/pphaneuf/diary.html?start=333

Timeouts In Blocking Socket Code - May 25, 2008

I was wondering how to handle timeouts correctly while blocked for IO on sockets, with as few system calls as possible.Thanks to slamb for reminding me of SO_SNDTIMEOSO_RCVTIMEO! Combined with recv() letting me do short reads, I think I've got what I need for something completely portable.
http://www.advogato.org/person/pphaneuf/diary.html?start=332

Following Up On The End Of The World - May 20, 2008

Being the end of the world and all, I figure I should go into a bit more details, especially as omnifarious went as far as commenting on this life-altering situation.He's unfortunately correct about a shared-everything concurrency model being too hard for most people, mainly because the average programmer has a lizard's brain. There's not much I can do about that, unfortunately. We might be having an issue of operating systems here, rather than languages, for that aspect. We can fake it in our..
http://www.advogato.org/person/pphaneuf/diary.html?start=331

The End Of The World (As We Know It)! - May 18, 2008

Ok, here we go:Event-driven non-blocking IO isn't the way anymore for high-performance network servers, blocking IO on a bunch of threads is better now.Wow, I can't believe I just wrote that! Here's a post that describes some of the reasons (this is talking more about Java, but the underlying reasons apply to C++ as well, it's not just JVMs getting wackier at optimizing locking). It depends on your platform (things don't change from being true to being false just out of the blue!), and more...
http://www.advogato.org/person/pphaneuf/diary.html?start=330
Available Archives
- April (1 item)
- May (4 items)
- June (2 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact