Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Top five things Linux can learn from Microsoft

Top five things Linux can learn from Microsoft



Jul. 20, 2006
Linux does a lot of things right -- open-source
,
security, reliability -- but it's far from perfect. In fact, Linux and
its vendors could stand to learn a few things from Microsoft. Yes,
Microsoft. Like what? Here's my list of the top five things that Linux
could learn from Microsoft.
1. MSDN
Spread the word:
digg this story
With Linux and open-source software
,
all the code is open, so any developer can leap right in and start
working. That's grand, but what if you don't know where to start? What
if you're not really sure, or perhaps not too sure, about what's the
right way to program for a given project? What if you want to write
something new and useful... but you discover three months into your
project that you're duplicating work that's been done a dozen times
over?
There are no easy-to-use guides on how to program
successfully in open-source. To learn how to do it right, usually takes
a couple of years of getting to know the lay of the free software
landscape.
With Microsoft, however, there's the
Microsoft Developer Network
(MSDN). MSDN provides developers with help in writing applications
using Microsoft products and programming tools. And, when I say help, I
mean: Help.
There are well-written tutorials, best practices
guides, the latest betas and production copies of operating systems and
software, software development tools, code examples, online
communities, endless articles on the nuts and bolts of Microsoft
programming, and on and on. Best of all, it's all well-organized, so
that you can easily learn what you need when you need to learn it.
MSDN isn't cheap, but for Microsoft developers it's worth every penny. Open-source sites like SourceForge
are very handy, but they're more useful as project incubators than as
educational sites. No, open source and Linux don't have anyt


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

[×ªÔØ]linuxµÄtestÃüÁî

ÿһÖÖÌõ¼þÓï¾äµÄ»ù´¡¶¼ÊÇÅжÏʲôÊÇÕæÊ²Ã´ÊǼ١£ÊÇ·ñÁ˽âÆä¹¤×÷Ô­Àí½«¾ö¶¨Äú±àдµÄÊÇÖÊÁ¿Ò»°ãµÄ½Å±¾»¹ÊÇÄú½«ÒýÒÔΪÈٵĽű¾¡£
Shell ½Å±¾µÄÄÜÁ¦Ê±³£±»µÍ¹À£¬µ«Êµ¼ÊÉÏÆäÄÜÁ¦µÄ·¢»ÓÊÜÖÆÓڽű¾×«Ð´ÕßµÄÄÜÁ¦¡£ÄúÁ˽âµÃÔ½¶à£¬Äú¾ÍÔ½ÄÜÏñ±äÏ··¨ËƵØ×«Ð´Ò»¸öÎļþÀ´Ê¹ÈÎÎñ×Ô¶¯»¯ºÍ¼ò»¯ÄúµÄ¹ÜÀí¹¤×÷¡£
ÔÚ shell ½Å±¾ÖнøÐеÄÃ¿Ò»Ö ......

LinuxϵÄÖ÷¶¯¶ÔÏóÀàµÄʵÏÖ

#pragma once
#include <pthread.h>
class ThreadWrapper
{
public:
    virtual ~ThreadWrapper();
    static void EnterFunc(void *p);
    int Open();
    int Close();
    bool TestCancel();
    void ......

linux socketµÄselectº¯ÊýʾÀý

ʹÓÃselectº¯Êý¿ÉÒÔÒÔ·Ç×èÈûµÄ·½Ê½ºÍ¶à¸ösocketͨÐÅ¡£³ÌÐòÖ»ÊÇÑÝʾselectº¯ÊýµÄʹÓ㬹¦Äܷdz£¼òµ¥£¬¼´Ê¹Ä³¸öÁ¬½Ó¹Ø±ÕÒÔºóÒ²²»»áÐ޸ĵ±Ç°Á¬½ÓÊý£¬Á¬½ÓÊý´ïµ½×î´óÖµºó»áÖÕÖ¹³ÌÐò¡£
1. ³ÌÐòʹÓÃÁËÒ»¸öÊý×éfd_A£¬Í¨ÐÅ¿ªÊ¼ºó°ÑÐèҪͨÐŵĶà¸ösocketÃèÊö·û¶¼·ÅÈë´ËÊý×é¡£
2. Ê×ÏÈÉú³ÉÒ»¸ö½Ðsock_fdµÄsocketÃèÊö·û£¬ÓÃÓÚ¼àÌý¶Ë¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ