whats the difference between haskell in plutus and haskel in marlowe
I’m just guessing here, but nothing…?
Haskell is the functional programming language used for both. Plutus is for more general smart contracts (any type of smart contract) and Marlowe is designed specifically for Financial smart contracts.
Hi Jordan - the point is that Marlowe is embedded in Haskell, rather than the other way around, while Plutus is, essentially, Haskell.
So we can use Haskell constructs to describe Marlowe contracts, but before we run them they are turned into pure Marlowe, eliminating Haskell constructs like recursion.
Idk what u mean haskell contructs to decribe Marlowe contracts. and eliminating haskells recurrsion. Which platform is… yeah idk im not clear as to what this means haha sorry. So marlowe is a language for cardano smart contracts? and smart contracts are written in marlowe? so everything ends up in marlowe and haskell compiles into marlowe? and so all this haskell functional programming recursion stuff is just not used and converted into marlowe however it works there? I guess I figured haskell was the end language. But yeah haskell is taking me so long to figure out I’ve hardly been able to look more into anything cardano specific
And those Marlowe examples, for one js idk why even bother call it that because its not js. All those look the same its like 80 nested when functions. Idk this might just not be for me.
Ho Jordan, if you want to use the full power of Haskell for writing smart contracts, then Plutus is the thing for you. Marlowe gives a special purpose language designed to help with financial contracts of a certain kind, but for generality you still have Plutus.
I’m trying to make a youtube video about Cardano Smart Contract in Indonesian Language, where in my video I’m planning to explain both Marlowe and Plutus. Can you please help me to put in humanly possible language about what’s the different?
While I’m read your post. Can I conclude that Plutus = Haskell ?
While Marlowe is ?
And which one is more complicated? Which one is for the beginner? Which one is for advance user?
Sorry I’m asking so much question.
Dan - sorry for taking so long to reply.
So Plutus is intended for developers with programming experience, whereas Marlowe is more for end users. Marlowe is simpler than Plutus, because it is special purpose.
Hope this helps!
Is that mean
Marlowe = Beginner
Plutus = Advance
both are to programming smart contract for Cardano
Yes, but also
Marlowe - financial contracts
Plutus - all contracts
Marlowe - guarantees: contracts terminate; no assets held after termination
Plutus - no such guarantees
Loud and clear. Thanks a lot for explaining me this. Hope this will help other people too.