other scripting languages? (like ruby) - Script Writing - CHDK Forum supplierdeeply

other scripting languages? (like ruby)

  • 2 Replies
  • 3243 Views
other scripting languages? (like ruby)
« on: 23 / March / 2009, 11:25:01 »
Advertisements
Is it possible to use other scripting languages, like Ruby (my personal favorite), with the CHDK firmware?  Is there any planned support for additional languages in the future?
thanks,
Cory

*

Offline zeno

  • *****
  • 891
Re: other scripting languages? (like ruby)
« Reply #1 on: 23 / March / 2009, 11:34:14 »
It is possible to add other scripting languages - lua has been already. However I think the chances of adding Ruby are I think vanishingly small - there's just not enough free memory for a full-blown OO language like Ruby.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline reyalp

  • ******
  • 14117
Re: other scripting languages? (like ruby)
« Reply #2 on: 23 / March / 2009, 23:43:23 »
I can't imagine additional languages being added until we have some kind of executable file support. Having one real language in addition to ubasic makes some sense. Having more would just be a waste. Maintaining two is already a pain.

Porting random C code to CHDK is not trivial. Even lua, which is small and religious about being strictly ANSI had to be hacked up a lot. As zeno points out, memory is also very tight.

When loadable binaries are eventually implemented, people can build whatever scripting languages they want. Until then, use lua. It's not hard to learn.
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal