tag:blogger.com,1999:blog-8935780327334775165.post4247236464201160804..comments2023-08-07T22:48:57.800+08:00Comments on Entity Crisis: Cobra vs PythonUnknownnoreply@blogger.comBlogger12125tag:blogger.com,1999:blog-8935780327334775165.post-19062562571370297592009-05-21T21:32:02.509+08:002009-05-21T21:32:02.509+08:00It could be interesting but, the whole .net/mono t...It could be interesting but, the whole .net/mono thing makes it a nonstarter for me.Chris Austinhttps://www.blogger.com/profile/16210264163821848517noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-43594259323397496152009-05-20T22:07:00.858+08:002009-05-20T22:07:00.858+08:00I'm completely unsold on the 'self-hosted' argumen...I'm completely unsold on the 'self-hosted' argument. It seems like circular logic for someone to claim that since they like a language, it is good to code in the language, and that since it's good to code in the language, it's good to have the language implemented in that same language. If anything I think the opposite is true because higher level languages like Python, Ruby, Cobra, etc, all have limitations compared to C, C++, etc. Since those limitations are actually side-effects of benefits in other applications, you can't meaningfully fix or bypass them without damaging the language itself. The 'feedback loop' as they call it is damaging in this respect.<br /><br />On the other features, static typing I'm not sold on, contracts could be useful, accurate maths might be a very good feature, if (and only if) there's a guarantee that your float operations won't be arbitrarily promoted to decimals at times unknown to you, compiling down to native code is great, and the Python-like syntax is fine.<br /><br />I don't know whether the .NET libraries compare positively to the Python ones though. What little I see about them seems to be reasonable, but Python does come with quite a few handy ones that I'd have trouble coping without.Ben Sizerhttps://www.blogger.com/profile/16973645498493273495noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-80763832221023165622009-05-20T01:23:00.000+08:002009-05-20T01:23:00.000+08:00Sebastien, I'm actively working on the JVM back-en...Sebastien, I'm actively working on the JVM back-end each week, but it's not ready yet.<br /><br />I haven't decided what back-end #3 will be. I'm leaning towards Obj-C for the sake of building native Mac and iPhone applications. LLVM is a candidate as well.<br /><br />Also, after completing backend #2 it will be easier for other devs to step in and provide their own favorite target.Chuck Esterbrookhttps://www.blogger.com/profile/12828427007919562636noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-47484409097052978052009-05-19T16:30:00.000+08:002009-05-19T16:30:00.000+08:00hi,
I see that you have some stubs (?) to generat...hi,<br /><br />I see that you have some stubs (?) to generate JVM code.<br />Do you plan to target that VM ?<br />What about LLVM ? Nowadays, all the cool kids on the street target LLVM :)<br /><br />cheers,<br />sebastien.Unknownhttps://www.blogger.com/profile/08296238373904697344noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-20823276649111608392009-05-19T10:17:00.000+08:002009-05-19T10:17:00.000+08:00illume: yeah, I understand your comments about .ne...illume: yeah, I understand your comments about .net.<br /><br />The only reason I'm straying from the fold is that I need a .net language (to be used with mono) that is more like Python than C#. IronPython is not an option unfortunately, as it can't build assemblies.Simon Wittberhttps://www.blogger.com/profile/02730025645144151014noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-20133735304682142182009-05-19T10:05:00.000+08:002009-05-19T10:05:00.000+08:00cobra is nice. More elegant syntax than python.
...cobra is nice. More elegant syntax than python.<br /><br />Also, a dictator with better taste than Guido :)<br /><br />Would need to try it out on some real projects for a while first... the only this that's stopping me is the .net requirement. But I'll almost do anything to allow typing less syntax noise :)<br /><br />With so many elegant usability improvements to python Cobra seems to be on a winning path.<br /><br /><br />Robert, it's much faster than any python implementation. Except maybe the shedskin/rpython subsets of python.<br /><br />rgz, I think cobra was doing this stuff before py3k.René Dudfieldhttps://www.blogger.com/profile/17762358075557755436noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-4579160274187100222009-05-19T06:23:00.000+08:002009-05-19T06:23:00.000+08:00Sadly it still doesn't have the widespread compati...Sadly it still doesn't have the widespread compatibility of the original Python, but it looks like an improvement to IronPython.<br /><br />So many keywords is unpythonic, using the keyword "cue" for special methods is cute but makes me worry about the implementation differences between special and non special methods.<br /><br />The lack of colons make it look a little "naked" but I guess it is the good kind of nakedness.<br /><br />Type declarations should follow python3.1 style instead of inventing their own. I'm uneasy about a language without dynamic classes and type declarations.<br /><br />But then again I often find it hard to sell python due some slowness, being a .Net language cobra might be an easier sell, but then again I don't trust MS "promise" to not sue mono when it see fit.rgzhttps://www.blogger.com/profile/00299003818364105534noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-14307651641142881952009-05-19T05:23:00.000+08:002009-05-19T05:23:00.000+08:00Speed comparison?Speed comparison?Roberthttps://www.blogger.com/profile/05513580456463140264noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-34080111700929940562009-05-19T03:27:00.000+08:002009-05-19T03:27:00.000+08:00Cobra is .Net/mono?
.Net is DOS only.
mono is th...Cobra is .Net/mono?<br /><br />.Net is DOS only.<br /><br />mono is the red headed cousin on *nix systems.James Thielehttp://james-thiele.appspot.com/noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-8373796460738619852009-05-19T03:16:00.000+08:002009-05-19T03:16:00.000+08:00Ohh, that's an interesting little language. Might ...Ohh, that's an interesting little language. Might have a play...Michaelhttp://yeoldeclue.com/blognoreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-81583156454188133242009-05-18T23:22:00.000+08:002009-05-18T23:22:00.000+08:00Thanks Mr Anonymou.Thanks Mr Anonymou.Simon Wittberhttps://www.blogger.com/profile/02730025645144151014noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-72045892103571133812009-05-18T23:14:00.000+08:002009-05-18T23:14:00.000+08:00s/cam/cames/cam/cameAnonymousnoreply@blogger.com