10 messages in com.googlegroups.sketchuprubyRe: Python vs. Ruby| Subject: | Re: Python vs. Ruby![]() |
|---|---|
| From: | Dr. YSG (ygut...@gmail.com) |
| Date: | 07/29/2007 05:27:53 PM |
| List: | com.googlegroups.sketchupruby |
I suggested Python because it is more suited to embedded programinng, systems programming, network programming and other issues of interfacing SU to the outside world. Which seem to be the main reasons for having an embedded language. Otherwise, any langauge is as good as another as long as it is complete (if all your care about is automating the manipulation of entities and enhancing the UI (witness embedded VB in Office documents).
However, just to walk on the wild side. Maybe Google will consider teaming with Adobe to put an embeded Flash engine. Afterall, the Flash player is open at this point in time (no fee). There are a number of open implementations.
Flash would not only give one a general purspose scripting language (ActionScript) but also allow one to overlay 2D flash animations, video, and other high end animation effects to SU models.
For the Flash people, this would augment Flash animations to provide true 3D in Flash.
As far as ease of use, this would be far easier than learning Microsoft Blend and XAML and Expressions which also allow one to create 2D, 3D virtual worlds.
On the business side, Google would then have a competitve entry for creating 2D/3D virtual worlds such as second life (and other multiverses)
But, as I said, this is pretty wild to start stretching SU to be a general purpose 3D multiverse sim environment (althout I know a lot of people want to make Google Earth into that).
On Jul 28, 7:04 pm, tomot wrote:
Don't be sorry!, we all learn from each other I hope.
And I'm not hear to promote ArchiCad. But they also provide a developers API that hooks into GDL. This is directed especially to to those "power users" you mentioned. If you then become an API developer, for GraphiSoft. They will support your sales.
below is a theURL of a certified Grahisoft developer.
http://www.cigraph-store.com/html/home/DESCRIPTION/plug-in-list.htm
Perhaps this is a path SU should follow.
On Jul 28, 12:55 am, Herodes wrote:
I am sorry but basic-kind-of-language would throw away the power users that usually do all the scripting. Especially when you change to it from Ruby which can be used in an elementary way, but its powers surface using it in a advanced way.
The syntax of BASIC-like languages is easy to learn programming into but this kind of syntax shows its age and definitely cannot guarantee a more advance way of using the language, in order to satisfy the power users. I've been in involved a couple of scripting communities in the past 6 years. I have seen ruby perfoming in this aspect and I have experienced GDL a lot. None of those two languages compare in the way new users are attracted through scripting, to Lua.
Thx for your time..
On Jul 27, 10:43 pm, tomot wrote:
Speaking of alternate languages.
ArchiCad has its on built in GDL language that is very similar to Basic. Its operates within ArchiCad. And you don't have to constantly reload ascript your working on to see is you have made errors. Very easy to learn, to create 3d objects together with proper dialog boxes that mirror the ones used by the main ArchiCad program.
I think something as simple as a Basis Internal language implementation would have tempted more users of SU to give programming a go.
On Jul 27, 12:22 am, Herodes wrote:
I am sorry but I'd rather see Lua doing the Ruby part in Sketchup. It is a language that is easy as a snap to embed in applications and can be learned from basically anyone. I regret that I don't have time to convince you any further but I can tell you it is an amazing language. Look for it ;)
On Jul 25, 7:59 pm, Dr. YSG wrote:
Please don't get me wrong, I don't have a dogmatic viewpoint on this, and religous wars about languages bore me, I am a practical engineer.
But I wonder if Google would consider supplementing the Ruby embedded engine with Python.
a. I find Python syntactically much more mathematical and symetric (smaller brain footprint)
b. The documentation (especially of the libraries) is much more complete
c. Ruby (the framework) seems more developed for web work, and Python
for embedded and system work (also a much better socket and networking
system, which is really key for getting Sketchup to work with other
programs, which seems to be the key idea with an embedded API).- Hide quoted
text -
- Show quoted text -




