Strict functional language which can be compiled into native code [closed] - functional-programming

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Recently I started looking at functional languages to make some algorithmic parts of my application more reliable. Of course I bumped into Haskell. But it prepared too many surprises for me with its laziness. Sometimes simple things become very and very slow.
So I'm wondering is there a language I can use to write small algorithms in functional style but without unnecessary laziness which causes more problems then helps.
The program should be compiled into Win32/64 native code (preferably dll) and have comparable performance with C++.

OCaml is probably the closest to Haskell, but it's strict and impure. It's a successor to ML.
OCaml, ML, and Haskell can all be compiled to machine code on any common platform.
In my experience, though, laziness is usually a great feature once you get a sense for how it works.

Related

Does anyone know good "Hello, world" SOA (service oriented architecture) coding examples? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am interested in learning more about SOA. Most of the explanations I see have little code and a lot of chatter, philosophy and rambling. I am a kind of person that learns best when I have code to look at (it does not have to be perfect or 100% right, just a good example). Does anyone know of good and simple coding examples of SOA?
SOA is an architecture (not a framework), you can't simply code entier SOA. It involves lot of factors, that is why you see lot of chatter, but I know the confusion you are having (which is same for people with coding background).
Real SOA implementation involves lot of co-ordination, integration and maintenance than coding. Coding will be small part, which is writing services. If you can write any webservice, then you learned required coding for SOA. So, read about Web Services (REST WS and JAX-WS (assuming java background) etc.,) using any programming language.
Once you are done with service writing, it will be integrators part, which also involves little bit coding (lot of integration tools are there by Oracle and other vendros), so little coding here.
Only these two layers really involve coding part in SOA.
In a nutshell, come out from programmer perspective, if you want to enter SOA world. Programming is small part in SOA world.

Functional Languages + Algorithmic Trading [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is anyone knowledgeable on programming language implementation of algorithmic trading?
I am going to propose a research project on functional programming and algorithmic trading.
My proposal is here: http://pastebin.com/wcigd5tk
Any comments would be very appreciated.
What do you think the future of functional languages in the financial field is? I see many job postings that ask for experience in java and C++, and i dont understand why.
Jane Street is very well known for using OCaml for their trading software. Here you can find some reasons why they decided to use functional languages rather than imperative ones. They also have a blog describing several specific solutions to problems they encountered during development.
C++ is the most popular in that field.
java , python ,haskall ,c# are all runners up
haskall and c# are functional with haskell being purely functional
eventually the field will move to a more "modern language" like c# or haskall but right now c++ has so much support the libraries are already made and its implementation is the easiest .
For Trading application, it usually has Real time, multithread, low latency, high availability to consider too. I was working in a company developing a trading application using both(mixed) C++ and Java as it fit with the behaviour of the application.

Is there a reason for which Donald Knuth choose procedural programming instead of functional programming? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Donald Knuth's Art of Computer Programming Series uses his own procedural assembly languaged called MIX. Now, the question becomes: should Knuth have used a functional language to describe his algorihtms? Should TeX have been written in a functional language?
Computers have a procedural architecture. Do the roots of computation imply anything about the best branches?
The original AoCP was written in MIX. The updated AoCP used MMIX which was based on more modern architectures.
However, the fundamental point still holds. Knuth went from one procedural architecture to another... with apparently no need for functional programming.

Disadvantages of Qt [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I'm beginner in qt. I think it's useful but there is some thing wrong. I think it's not the number one developer's choice. Why developers don't like using Qt?
And what is the best replacement for Qt?
When you use Qt you get spoiled by the extensive documentation so when you switch to another toolkit you'll be miserable.
This is my only complaint with the Qt.
If you are developing purely on Windows then C# may give you easier links into Windows technologies, it's also a simpler language than C++ - although they are working on that.
For C++ there isn't really a good alternative toolkit.
On Windows, MFC is a bit long in the tooth, managed c++ (or whatever it's called this week) together with .Net is a pain^2.
On Linux, Gnome requires you to write c in c++ while thinking in objective c.
depends on language but most developers that i know use visual studio, especially for c++ etc

Good cryptography/encryption books [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
More of a side thing I want to learn since they never really went much over it in college, and yes im sure this has been asked plenty of times but Books/Algorithms get updated. So I wanted to most updated opinions/reviews of it.
I am less concerned about the history of it, but more concerned about actual implementation. And maybe by the end of the book implementing my own pseudo encryption algorithm.
I recall hearing something about Crpytool being a good learning program. I don't know if that is still true or not.
I am guessing typical encryption algorithms can be pretty much implemented in most languages right? Like MD5 in php and c?
http://www.schneier.com/book-practical.html
And please don't use your pseudo-encryption algorithm for anything more important than your own love letters. It's probably best not to use your own implementations of standard algorithms either.
Here is Cryptography for Developers and Cryptography in C and C++ books which I advise you much
The handbook of applied cryptography is worth to read, especially chapter 14.
http://www.cacr.math.uwaterloo.ca/hac/
Wikipedia has a good bibliography page on the subject which history page shows frequent updates.

Resources