Release application of research before publish its paper I'm doing independent research in computer sciences and i develop some program that i think i might be could write a couple paper for this.

My question is what should i do between


Publish a paper first then release its application
Release application first then publish its paper


In actually i prefer the second choice because i start developing application already and this can finish soon. May be better to release it than waiting to finish writing a paper that a little bit take time.

Any advice or concern please ans below.
Your threat model just doesn't work out in reality. By knowing your code well (because you wrote it), you have a huge advantage over everyone else in the world. It is very unlikely that someone, even an expert in Domain Specific Languages, will pick up your application, fully understand it, and be able to write an article about it before you can finish your article and get it submitted. I really wouldn't worry about it. 

Besides, my experience is that people are out there talking about their open source codes well before they get their marker papers published. It's good to be able to discuss your work with colleagues and to drum up users before you finish the paper. Perhaps you will find several collaborators in the process.