Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Lua? (Score 1) 425

Python being the poorer choice because it is not designed to be an extension (scripting) language.

Well somebody needs to tell CCP of Eve-Online they're doing it wrong, same goes for Stackless Python project, and the authors who wrote the official Python documentation that they were wrong to document Embedding Python in Another Application. Because batrick on Slashdot said it wasn't designed for that...

If you go back to the history of Python you'll see that it wasn't originally designed with embedding in mind. As a consequence, many of its features and choices make it very difficult to do [1]. Keep drinking the Koolaid. If you hammer on a screw enough times, it will eventually sink into the wood.

[1] http://developers.slashdot.org/comments.pl?sid=2406518&cid=37267170

Comment Re:Lua? (Score 2) 425

I just lost everything I was writing because Slashdot discarded my post when changing to plain text. I'm not going to hunt down references again. Google yourself.

Here's the rundown:

[I'm talking about the difficult in embedding Python in an application (extending the application. This is the usual domain of a scripting language.]

1) Python is huge. It is improper for small devices like FPGAs. Python weighs in at multiple megabytes.
2) Python is very difficult to sandbox.
3) It is difficult to have multiple independent Python instances running concurrently (GIL).
4) It is difficult to have multiple contexts. Python lacks proper coroutines.
5) Python is built with the extend rather than embed mindset e.g. [1].
6) Python is whitespace sensitive. It is unnecessarily difficult to write small embedded scripts or macros for your application (see WoW).
7) Python libraries make it difficult to embed in e.g. an ANSI C only environment.

[1] http://www.twistedmatrix.com/users/glyph/rant/extendit.html

Comment ZFS ZIL (Score 1) 222

This would be really nice for ZFS ZILs I think. You only need a ZIL twice the size of your RAM *at most*. Put a 2 of these on my motherboard for that please :). (Buying a whole SSD is way too expensive just for a ZIL : /)
Businesses

Comcast Awarded the Golden Poo Award 286

ISoldat53 writes "The Consumerist has awarded Comcast the Golden Poo award for the worst company in America. From the article: 'After four rounds of bloody battle against some of the most publicly reviled businesses in America, Comcast can now run up the steps of the Philadelphia Museum of Art and hold its hands high in victory — it has bested everyone else to earn the title of Worst Company In America for 2010.'"
Security

Submission + - Help Nmap by filling out the SecTools.org survey! (nmap.org)

An anonymous reader writes: Help Nmap and the security world in general by filling out the 2010 SecTools.org survey! Results from this survey help the security community discover new tools, improve old ones, and gives everyone a chance to have their say. Besides being a great venue to learn about lesser known tools, this survey has lead to many of the advanced Nmap features including the Nmap Scripting Engine (which currently has well over 100 user-contributed scripts), Ndiff for comparing scans, the Zenmap interface, and, my personal favourite, despite a lack of votes, a script to check the availability of California vanity plates. With the Summer of Code projects coming up fast, this is your chance to shape Nmap's future!

Slashdot Top Deals

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...