Domain Specific Languages in software reuse [closed] - dsl

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I would like to ask about the advantages of using Domain Specific Languages vs software libraries in software reuse research.
I have read some papers stating that using DSLs is a better approach than using software libraries for software reuse field but without mentioning many reasons.
One reason I read is that DSLs receive direct support from compiler while software libraries do not, I could not understand this issue also.
Regards

You should read James Neighbor's papers on Draco for an eye-opening view of "code" (generation knowledge) reuse and DSLs.
Jim is the guy who invented the term "domain analysis".
The fundamental lesson is that reuse of construction knowledge is more powerful than reuse of code libraries, yet easier to use for the domain expert.
Me? I just use the stuff.

Related

Dynamic programming in Aerospace Engineering Problems [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
According to Wikipedia, Dynamic Programming
has found applications in numerous fields, from aerospace engineering to economics.
What are some example problems solved by DP in Aerospace Engineering?
Maybe something with optimizing launch trajectory?
Dynamic programming is a fundamental core of aerospace vehicles, corporations typically don't want to disclose information like this as it is their intellectual property.
However, there are many scholarly articles that overview how dynamic programming affects aerospace vehicles
Here's even a book on it: https://books.google.com/books?hl=en&lr=&id=MIdp-9rbYSQC&oi=fnd&pg=PP1&dq=dynamic+programming+in+aerospace&ots=K6BSIMGze4&sig=VMDcLYNTYWuUcv87D6zqGejfhOA#v=onepage&q=dynamic%20programming%20in%20aerospace&f=false
I would assume that they are used in other systems besides just launch trajectory.

What is extreme programming and when it is using? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am new to programming and I try to research as much as possible in this field. And once I came across to this expression: "Extreme and pair programming". Pair programming is an easy term, and I found quite clear documentation about this. But extreme programming... I found some articles about it, but explanation wasn't so well. All I understood that extreme programming is an Agile development framework. But why I must use that, what is difference between this and another types of programming styles?
Can anyone explain me what is extreme programming language very clearly?
Extreme programming (often called XP) is an agile framework that was developed by Kent Beck in the 1990's.
There aren't too many people that use the whole XP framework these days, but a lot of the engineering practices it popularised are very common.
Examples include:
Pair programming
Test driven development
Continuous integration
Frequent releases
Constant refactoring
XP favours an approach of writing the minimum amount of code to solve the problem at hand. Things like optimisation and forward planning are generally a low priority. This is the 'extreme' part of extreme programming.
The idea is that you write code to solve the current requirement. If you then find you need the code to be faster, or scaleable, etc. then you refactor it.

Haskell RPC framework in production [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I really think Haskell is a awesome programming language, but it seems that Haskell lacks the handy and mature tools can be used in production.
Does Haskell have a mature, stable and convenient RPC framework to use like Finagle in Scala? Has any one use Haskell in production and how do they handle the communication between different ends?
Thanks.
Yes. There is https://www.haskell.org/haskellwiki/HaXR. If JSON is more your thing then there's also http://hackage.haskell.org/package/json-rpc-server, but that's only for the server side (the same guy is also doing a client library but it's not as mature)
Having said that: RPC should always be the last resort because it's always bad for reliability and performance (this is general programming advice, not specific to Haskell)

Haskell for Robotics [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am looking up on web about Haskell and its applications. Basically i trying to learn functional programming language and i see Haskell is very famous among them. What i want to know is, is it possible to use Haskel as substitute for c in robotics? Can i use Haskell for embedded system programming and getting data from sensors, moving the motors, implementing mathematical model that is used to design the robot and its behaviour and if possible apply machine learning algorithms?
I am just starting off in this field so if the question is naive enough, please answer like you would answer any newbie.
Update: If the Question is too broad, i would like to know the specifics. Do people compile down the haskell to the embedded hardware or use haskell as a remote control in most of the cases? Which one is more approachable using haskell? What is the general way of using haskell in hardware embedded programming? If it is only used as a remote control, how to implement genetic algorithms and machine learning algorithms using haskell? I know its too broad but i would just like to know the general usage if my requirement is such.

Which is language is best for MCU to PC Communication applications? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am looking forward to learn a language mainly for my electronic projects. My projects may include PC to MCU communications, TCP/IP (like catching new facebook comments and sending it to MCU) etc. I have seen a lot of similar projects using python and perl. So which one will be better and easier to learn as well as to implement?
At the risk of suggesting something "weird" -- you might want to take a look at Processing and its microcontroller counterpart Wiring. They are designed for exactly this sort of use case.

Resources