I usually don&#x27;t comment on these posts, but I felt the need to in this one. A couple of things stood out:<p>- Python 2.4? Really? In 2014?<p>- Yes, writing compatible code with a 10+ year old release of Python is going to be hard. Who uses 2.4 still? You have to use the lowest common denominator, I mean I don&#x27;t think Python 2.4 even supports context managers!<p>- Yes, in 2014 you should be supporting Python 3, or at least have it on your roadmap.<p>- The ethernet address (MAC?) via uuid.get_node(). Or for something a bit more advanced you can use netifaces[1] (or even better psutil.net_if_addrs[3]). One of Pythons core strengths is the number and variety of the packages available. Took 2 seconds of googling to find a  cross platform solution.<p>- Calling C from Python is really really simple. Use the built in ctypes library, or something better like cffi[2]<p>I&#x27;m obviously firmly in the Python camp so perhaps I&#x27;m a bit biased, but I don&#x27;t see any clearcut reason to switch other than &quot;the current code is not optimal, let&#x27;s re-write it in X&quot;, where X could be anything. I would actually say Go would be a much better fit than Lua in this situation. I guess the memory reduction&#x2F;CPU usage is a point, but really your program seems to be network orientated. What&#x27;s wrong with asyncio? How is replacing everything with a C library <i>actually</i> better?<p>1. <a href="https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;netifaces" rel="nofollow">https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;netifaces</a><p>2. <a href="https:&#x2F;&#x2F;cffi.readthedocs.org&#x2F;en&#x2F;latest&#x2F;overview.html#simple-example-abi-level-in-line" rel="nofollow">https:&#x2F;&#x2F;cffi.readthedocs.org&#x2F;en&#x2F;latest&#x2F;overview.html#simple-...</a><p>3. <a href="https:&#x2F;&#x2F;pythonhosted.org&#x2F;psutil&#x2F;#psutil.net_if_addrs" rel="nofollow">https:&#x2F;&#x2F;pythonhosted.org&#x2F;psutil&#x2F;#psutil.net_if_addrs</a>