Bitcoin Forum

Economy => Service Discussion => Topic started by: CIYAM on February 20, 2015, 07:38:00 PM



Title: How to do a Crowfund app with only 28 lines of code...
Post by: CIYAM on February 20, 2015, 07:38:00 PM
The Crowdfund AT created by CIYAM Developers (and now running on Burst) is only 28 lines of assembly code (3 of which are actually effectively "labels" so only 25 code steps).

https://bitcointalk.org/index.php?topic=949438.msg10522786#msg10522786

When people question about "why don't you build a high level language" I would say - when you have something as efficient as this then why rush to make it "less efficient"?

(and after initialisation it actually requires *zero* processing from all nodes until the "decision block" is reached - so arguably the most cost effective crowdfunding platform in the world and is available for anyone to use "commission free" right now)


Title: Re: How to do a Crowfund app with only 28 lines of code...
Post by: RodeoX on February 20, 2015, 07:44:11 PM
The Crowdfund AT created by CIYAM Developers (and now running on Burst) is only 28 lines of assembly code (3 of which are actually effectively "labels" so only 25 code steps).

https://bitcointalk.org/index.php?topic=949438.msg10522786#msg10522786

When people question about "why don't you build a high level language" I would say - when you have something as efficient as this then why rush to make it "less efficient"?

(and after initialisation it actually requires *zero* processing from all nodes until the "decision block" is reached - so arguably the most cost effective crowdfunding platform in the world and is available for anyone to use "commission free" right now)


You code in assembly?, yikes. Do you also speak ancient Chinese?
Anyway nice job!


Title: Re: How to do a Crowfund app with only 28 lines of code...
Post by: CIYAM on February 20, 2015, 07:45:01 PM
You code in assembly?, yikes. Do you also speak ancient Chinese?

I do speak Mandarin (which is actually harder than ancient Chinese btw).

:D

But seriously the point is that nodes do *zero* work (after initialisation which is only two steps) running that AT until the deadline is reached and then only execute a part of those 25 steps (depending upon whether the funding target was reached or not) per tx (so it is *super efficient* meaning that it can scale up hugely).


Title: Re: How to do a Crowfund app with only 28 lines of code...
Post by: RodeoX on February 20, 2015, 07:47:41 PM
You code in assembly?, yikes. Do you also speak ancient Chinese?

I do speak Mandarin (which is actually harder than ancient Chinese btw).

:D


Haha. Wow, your the man!

I got a D in English for comparison.  :D


Title: Re: How to do a Crowfund app with only 28 lines of code...
Post by: coinits on February 20, 2015, 09:14:35 PM
The BURST Community is lucky to have you. Thanks for everything that you do!