Future of Gnucash (Javascript?)

Herbert Thoma herbert.thoma at iis.fraunhofer.de
Wed Dec 29 04:32:44 EST 2010


On 28.12.2010 22:35, Christian Stimming wrote:
> Am Dienstag, 28. Dezember 2010 schrieb Jeff Warnica:
>> The question shouldn't be "C++ or not", but "what is the best
>> 2nd/runtime/scripting language?"
>>
>> In 2010/2011, given that Gnucash isn't a game, there is really only one
>> choice: Javascript. While http://live.gnome.org/Gjs seems rather dead,
>> http://live.gnome.org/GnomeShell is obviously committed to Javascript (and
>> Gjs as the binding toolkit). The low-level infrastructure is there, Gnome
>> 3.0/GnomeShell 1.0 time frame is shorter then Gnucash 2.6, at the very
>> least.
>
> As I've written in my other message: Yes. A scripting language might be even
> better than any compiled language such as C++. I would love to see an example
> project which shows how something similar to gnucash can be build using
> Javascript. I'm not familiar with GnomeShell so far, so I won't work on such
> an experiment as a starter. But if someone can show to us how something
> similar to gnucash would be started in Javascript, I would surely consider
> this a very good option to choose.

Hmm, I just would like to point out that GnuCash was kind of a script once:
It was a guile script that called the C/gtk/gnome code (OK, the GUI code
was not directly scripted). It took us a long time to rework this back to
a C application that called guile for the reports ...

I am not that sure that an interpreted language is a good idea. But I am
an electrical engineer not a computer scientist. So I tend to prefer
languages that are closer to the hardware ...

  Herbert.

> One minor issue against the language, though: IMHO the syntax sucks. Also, for
> a newcomer it sucks that the syntax tricks you into thinking it were similar
> to Java. It is not, not at all. In reality it is rather much more similar to
> Scheme (heh), but the syntax tries its best to hide this from the programmer.
> Ok, maybe that's just the beginner's learning curve, but currently I don't
> like the language. You are heartly invited to prove me otherwise.
>
> Best Regards,
>
> Christian
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>

-- 
Herbert Thoma
Dipl.-Ing., MBA
Head of Video Group
Multimedia Realtime Systems Department
Fraunhofer IIS
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-6130
Fax:   +49-9131-776-6099
email: tma at iis.fhg.de
www: http://www.iis.fhg.de/


More information about the gnucash-devel mailing list