BitcoinTalk

minimalistic bitcoin client on D language?

minimalistic bitcoin client on D language?

I think to start writing a minimalistic bitcoin client on D language. Do you think this makes sense?

Re: minimalistic bitcoin client on D language?

I think to start writing a minimalistic bitcoin client on D language. Do you think this makes sense?

The more implementations we have, the better.

Unfortunately, writting a client is no easy task.   Satoshi's code is far from from trivial.

Re: minimalistic bitcoin client on D language?

Maybe then wait bitdns?

I'm just bored and a want to write a code

Re: minimalistic bitcoin client on D language?

If you're bored you should learn some Ruby it's really sweet !

Re: minimalistic bitcoin client on D language?

+1 on Ruby.  Didn't someone recently write a Ruby interface to bitcoind?

Re: minimalistic bitcoin client on D language?

I wrote a bitcoin daemon wrapper in Ruby
Fully extensible since it's heavily based on method missing

EDIT : Made it for Rails so it includes a lovely initializer and a sweet yml configuration file

Re: minimalistic bitcoin client on D language?

I do not like ruby, python, perl or java  Angry

Re: minimalistic bitcoin client on D language?

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.

Re: minimalistic bitcoin client on D language?

I wrote a bitcoin daemon wrapper in Ruby
Fully extensible since it's heavily based on method missing

EDIT : Made it for Rails so it includes a lovely initializer and a sweet yml configuration file
I'll have to spend some time playing with it over the winter break.  Any thoughts on keeping a server running bitcoind relatively secure?  It seems like having a wallet.dat file on a publicly-accessible server is an accident waiting to happen.

Re: minimalistic bitcoin client on D language?

I do not like ruby, python, perl or java  Angry
Well, I don't like C or Java or anything else that uses braces.  Tongue

Re: minimalistic bitcoin client on D language?

python

I don't like IndentationErrors

perl

Not gonna criticize what I don't know

or java  Angry

I'll leave you the bob = new InstanceLocatorFactoryProxyWrapper<GenericInstanceBuilder>();

Smiley

Re: minimalistic bitcoin client on D language?

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.


It's pointless, I think. There is may be a "multidimensional" result.

Use jsawk:

Code:
$ ./bitcoin listreceivedbylabel | jsawk -n 'out(this.label+" "+this.amount+" "+this.confirmations)'
user_id:1080 106 5189
user_id:1081 0.05 5557
user_id:1083 2.89 2800
user_id:1087 500 5276
user_id:1105 0.4 462
user_id:1109 0.1 922
user_id:1110 0.04 431

Re: minimalistic bitcoin client on D language?

You want to re-implement the entire client?

Why make a convenient wrapper around the JSON API? That's much easier and just as useful.


It's just not as fun ! Cheesy
I would love a ruby bitcoin client so much !!

Re: minimalistic bitcoin client on D language?

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

Re: minimalistic bitcoin client on D language?

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

I bet you're also shocked by what restaurant kitchens look like, and by what goes into sausages.

Re: minimalistic bitcoin client on D language?

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.

I bet you're also shocked by what restaurant kitchens look like, and by what goes into sausages.
No, I happen to be aware of that, and that's why I usually try to eat at places with a semi-open kitchen.

The cryptography code that competent people use, doesn't look like a mess, btw. That 99% of the world uses this kind of obfuscated cryptography only shows that users don't know what they use. Have you ever looked at TrueCrypt for example? It's the exact same kind of mess.

Re: minimalistic bitcoin client on D language?

Here we are with the Language war once again. Please just stop!

As for the topic, yes please get an alternative implementation started, the more the merrier Smiley
Maybe some good code actually makes it out there, helping future generations of clients to build on top of your code.

+1 on the D implementation (I'm starting a Java one in the holidays)

Re: minimalistic bitcoin client on D language?

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.
I'd like to hear some specific criticisms of the code. To me it looks like an impressive job, although I'd wish for more comments. Now I've mostly studied the init, main, script and a bit of net modules. This is some powerful machinery.

Re: minimalistic bitcoin client on D language?

Another client is useful, especially since the current Bitcoin client is a big mess. I was *shocked* that cryptography code looked like this.
Can you be more specific? What exactly makes it a 'mess'?

Re: minimalistic bitcoin client on D language?

+1 on scala if you're bored Wink

Re: minimalistic bitcoin client on D language?

I'd like to hear some specific criticisms of the code. To me it looks like an impressive job, although I'd wish for more comments. Now I've mostly studied the init, main, script and a bit of net modules. This is some powerful machinery.

I agree.  Actually I'm amazed this is the product of only one person's work.

Re: minimalistic bitcoin client on D language?

It's easy to complain about code. But unless a person can show that they did something better, they have no moral authority to complain.

Re: minimalistic bitcoin client on D language?

I'd like to hear some specific criticisms of the code. To me it looks like an impressive job, although I'd wish for more comments. Now I've mostly studied the init, main, script and a bit of net modules. This is some powerful machinery.
That means a lot coming from you, Hal.  Thanks.