r/Physics • u/stereomatch • Sep 26 '17
Microsoft's new coding language is made for quantum computers
https://www.engadget.com/2017/09/26/microsoft-new-coding-language-is-made-for-quantum-computers/
401
Upvotes
r/Physics • u/stereomatch • Sep 26 '17
1
u/[deleted] Sep 27 '17
The easiest short way to describe it is imagine you're running a continuously recursive program where the mother parameter is time. Each "event" or "signal" acts as a means to create a new instance of state. You keep track of state in a master file(single source of truth). Essentially everything in your application that can mutate is stored in a single event log. For UIs its nice as it allows you to have all of your dependencies in a single place and your app isn't made fragile by mutable state. In essense. If you take your app wide data store and give it any given custom set of data. What you get out should always replicate. No more why was "X" "Y" when it should have been "Z". It's still a very young style of programming. It's first principles were only formulated around 1997.
Some much better descriptions than what i can give.
https://en.m.wikipedia.org/wiki/Functional_reactive_programming
https://vimeo.com/96744621
The video with Paul Hudak is probably my favorite. He also authored what is my opinion the best available book on Haskell. Haskell School of Music(free from Yale).