News for hackers. Stuff that matters.
Re:Why Isn't Functional Programming the Norm? [video] by throwaway87537 on Thursday October 17, 2019 @08:43AM (#21281404)
Streeter here.

Although I don’t work directly with the FPGA stuff, it’s still a very, very small piece of the overall pie (and new).

The motivation behind using Ocaml is mainly in its correctness(!) not because it’s fast (it’s not). See Knight Capital for a good example as to why. There are great videos on YT by Yaron Minsky that explain this better than I can.

Re:Why Isn't Functional Programming the Norm? [video] by johnisgood on Thursday October 17, 2019 @04:15PM (#21285948)
Speaking of correctness and performance, was Ada/SPARK ever considered before you guys picked OCaml? Hypothetically, would you consider Ada/SPARK now, especially that SPARK has safe pointers and whatnot?
Re:Why Isn't Functional Programming the Norm? [video] by Jtsummers on Thursday October 17, 2019 @04:36PM (#21286137)
SPARK was barely making waves when they selected OCaml. OCaml was much more established by that time.
Re:Why Isn't Functional Programming the Norm? [video] by johnisgood on Thursday October 17, 2019 @04:58PM (#21286307)
Fair enough. Then they should probably just focus on the second question. :)
Re:Why Isn't Functional Programming the Norm? [video] by dooglius on Thursday October 17, 2019 @10:07AM (#21282184)
> See Knight Capital for a good example as to why

Not really, that was about incompatible versions of software talking to each other, which would not really fall under what is meant by "correctness".

Re:Why Isn't Functional Programming the Norm? [video] by fennecfoxen on Thursday October 17, 2019 @11:25AM (#21283049)
While Knight Capital's problem was caused by incompatible versions of the software talking to each other, one of the reasons that happened was the deployment of the code was not correct. The SEC notes:

> “During the deployment of the new code, however, one of Knight’s technicians did not copy the new code to one of the eight SMARS computer servers. Knight did not have a second technician review this deployment and no one at Knight realized that the Power Peg code had not been removed from the eighth server, nor the new RLP code added. Knight had no written procedures that required such a review.

Rumor on the outside suggests that Jane St uses OCaml for things like deploying software.

Re:Why Isn't Functional Programming the Norm? [video] by gowld on Thursday October 17, 2019 @04:54PM (#21286278)
How does OCaml prevent you from deploying working code that you didn't want to run?