Click here to Skip to main content
15,394,700 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: When something looks too good to be true, it normally is Pin
_Maxxx_13-Apr-10 14:45
professional_Maxxx_13-Apr-10 14:45 
GeneralRe: When something looks too good to be true, it normally is Pin
leppie13-Apr-10 18:55
Memberleppie13-Apr-10 18:55 
GeneralRe: When something looks too good to be true, it normally is Pin
_Maxxx_13-Apr-10 23:31
professional_Maxxx_13-Apr-10 23:31 
GeneralDo you know what's also slow? Pin
martin_hughes13-Apr-10 10:34
Membermartin_hughes13-Apr-10 10:34 
GeneralRe: Do you know what's also slow? Pin
CPallini13-Apr-10 10:42
mveCPallini13-Apr-10 10:42 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 11:02
Membermartin_hughes13-Apr-10 11:02 
GeneralRe: Do you know what's also slow? Pin
AspDotNetDev13-Apr-10 11:08
protectorAspDotNetDev13-Apr-10 11:08 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 11:33
Membermartin_hughes13-Apr-10 11:33 
There might be more "Python friendly" ways of doing things, but I don't think there's anything intrinsically wrong with my implementation. Line for line, it's almost exactly the same as the C# version (syntactic differences notwithstanding).

Where IronPython seems to hit a bottleneck, in this instance at any rate, is indexing into .Net typed arrays. My guess is the hit comes from all the fancy things IPY does to ensure that whilst it can do all the duck typing and dynamic stuff it can ensure that what it's dealing with is correct at runtime. C# doesn't have that problem having being assured of it all at compile time.

Give it a whirl for yourself; Python is quite a nice and friendly language and useful for a lot of things and well worth knowing something about - IronPython doubly so. I'd recommend Guido van Rossum's An Introduction to Python also: not only a useful Python introduction, but also a model of a language introductory book.

GeneralRe: Do you know what's also slow? Pin
S. Senthil Kumar13-Apr-10 16:34
MemberS. Senthil Kumar13-Apr-10 16:34 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 20:51
Membermartin_hughes13-Apr-10 20:51 
GeneralRe: Do you know what's also slow? Pin
S. Senthil Kumar14-Apr-10 3:44
MemberS. Senthil Kumar14-Apr-10 3:44 
GeneralBest Slogan Ever Pin
Ian Shlasko13-Apr-10 10:16
MemberIan Shlasko13-Apr-10 10:16 
GeneralRe: Best Slogan Ever Pin
Kschuler13-Apr-10 10:37
MemberKschuler13-Apr-10 10:37 
GeneralRe: Best Slogan Ever [NSFW] Pin
Pete O'Hanlon13-Apr-10 10:46
mvaPete O'Hanlon13-Apr-10 10:46 
GeneralRe: Best Slogan Ever [NSFW] Pin
AspDotNetDev13-Apr-10 11:00
protectorAspDotNetDev13-Apr-10 11:00 
GeneralRe: Best Slogan Ever [NSFW] Pin
Pete O'Hanlon13-Apr-10 11:12
mvaPete O'Hanlon13-Apr-10 11:12 
GeneralRe: Best Slogan Ever [NSFW] Pin
Ian Shlasko13-Apr-10 11:14
MemberIan Shlasko13-Apr-10 11:14 
GeneralRe: Best Slogan Ever Pin
Ian Shlasko13-Apr-10 11:13
MemberIan Shlasko13-Apr-10 11:13 
GeneralRe: Best Slogan Ever Pin
Mark_Wallace13-Apr-10 19:53
MemberMark_Wallace13-Apr-10 19:53 
GeneralRe: Best Slogan Ever Pin
martin_hughes13-Apr-10 11:05
Membermartin_hughes13-Apr-10 11:05 
GeneralRe: Best Slogan Ever Pin
Ian Shlasko13-Apr-10 11:13
MemberIan Shlasko13-Apr-10 11:13 
GeneralRe: Best Slogan Ever Pin
Pete O'Hanlon13-Apr-10 11:20
mvaPete O'Hanlon13-Apr-10 11:20 
GeneralRe: Best Slogan Ever Pin
martin_hughes13-Apr-10 11:35
Membermartin_hughes13-Apr-10 11:35 
GeneralRe: Best Slogan Ever [modified] Pin
Mechanical13-Apr-10 12:07
MemberMechanical13-Apr-10 12:07 
GeneralRe: Best Slogan Ever Pin
Ian Shlasko13-Apr-10 12:29
MemberIan Shlasko13-Apr-10 12:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   293 votes