[POLL] Programming language for OpenTransactions-like software

Languages taken from langpop

I’m trying to check if we’re able to start and maintain (zero-funds probably) simplified OpentTransactions-like project. Original OT is highly complicated and weights a ton, I’d like to cut off rich features and create small extendable testable core, directly suited to our needs, concentrating on:

  • account transfer
  • chaumian cash
  • voting pool

Language requirements:

  • [MOST IMPORTANT!] it have to be fun for you to code and test with it / you want to learn it
  • key-value store and encryption libraries available
  • networking/messaging framework available
  • portability?

Please vote, max 2 votes per user, and post your choice and questions in the comment.
Thanks!

P.

Thanks for fist votes!
Please post your choice also in comments. The choice isn’t obligation to participate in project, let’s just see if what where we are, what we can do and what we can learn from each other.
Your post here can be helpful when there will be language specific task/bounty in other projects.

Python takes leading position, though differences are minimal!
I coded some things in Python few years ago, nice lang.
Even Lisp has a vote!

Whoa, I really thought Perl was going to be on that list:

a) It has a huge repository www.cpan.org of plug-in modules which can make creating code really quick.

b) It’s easy to learn (similar to a combination of BASIC and Pascal)

c) It runs on “every thing” including Windows, Linux, Mac, even Android!

The only thing is that it can be a little slow, depending on what you’re doing. But the regex routines for searching is super fast. NXT people should have written their stuff in Perl, not Java.

Other wise my second choice is C++

[quote=“ppcman, post:4, topic:2460”]Whoa, I really thought Perl was going to be on that list:

a) It has a huge repository www.cpan.org of plug-in modules which can make creating code really quick.

b) It’s easy to learn (similar to a combination of BASIC and Pascal)

c) It runs on “every thing” including Windows, Linux, Mac, even Android!

The only thing is that it can be a little slow, depending on what you’re doing. But the regex routines for searching is super fast. NXT people should have written their stuff in Perl, not Java.

Other wise my second choice is C++[/quote]
Language war begins? No civil wars here! :wink:
Thanks, langs were taken from langpop.com, I added Go. It’s an opportunity to learn new ones.

Perl on a list, Python lost first place. No dumps?

I’m not a programmer, but was always a fan of haxe :slight_smile:

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.

[quote=“irritant, post:6, topic:2460”]I’m not a programmer, but was always a fan of haxe :slight_smile:

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.
[/quote]It's the first I've heard of it, added.

Ok, now we have the new [new… hmmm] leader that starts with “C” :slight_smile:

If you’re curious what’s ~whole OT thing about, Truledger docs [Bill St. Clair] shows, more or less, how OT accounting looks like. Yup, it isn’t as scary as you may thought!
Differences[some]:

  • with OT you fetch transaction number pool separately (in Truledger it’s part of reply to getinbox request)
  • OT has the Nymbox - mailbox for server responses = you have to confirm that you received replies
  • OT has advanced and extendable authentication/authorization layer
  • Truledger has “Usage tokens”, OT doesn’t

Whatever language will be chosen, it would be good to code in the same time JavaScript implementation imo- for web browsers and cross-tests.

[quote=“kac-, post:1, topic:2460”]Languages taken from langpop
…create small extendable testable core…

Language requirements:

  • [MOST IMPORTANT!] it have to be fun for you to code and test with it / you want to learn it
  • key-value store and encryption libraries available
  • networking/messaging framework available
  • portability?[/quote]

My vote is on JavaScript because, it takes no time to setup the programming environment. No need to port it, since it already runs on on many platforms. You can do much in little code, without loosing readability (if you do it right) and full-fills all of the language requirements mentioned above.

Many people already know JavaScript, so getting people to build on-top or extend the pot-lib (peercoin open transactions… what did you think? ;)) is probably easy.

I would very much like to see this project someday be used together with http://openbazaar.org/ (which I believe it developed in python).

Extremely interesting project!!!