Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: TonyMark on July 18, 2018, 08:25:30 AM



Title: What is Viper?
Post by: TonyMark on July 18, 2018, 08:25:30 AM
Has anyone used this Viper language? I have been told that Viper is designed to be easier, How simple is it and what are the Similarities between Python language and Viper language?


Title: Re: What is Viper?
Post by: bob123 on July 18, 2018, 09:34:32 AM
Vyper shouldn't be considered a real programming language.
Vyper is a new smart contract development language. Python, on the other hand, is an (interpreted) scripting language.


The basic differences are:

  • Vyper:
    Is used to code smart contracts on the ethereum network (only)
    You can read more about vyper here: https://github.com/ethereum/vyper (https://github.com/ethereum/vyper)

  • Python:
    Is used to code any script to be run on any OS in any context (as long the python module is installed)
    You can use it for any automated task you want to be accomplished (e.g. simple I/O operations, API querys, basic or advanced bots, even object oriented (with quite a bad runtime), etc.. )
    If you want to learn more about python, visit https://wiki.python.org/moin/BeginnersGuide/Overview (https://wiki.python.org/moin/BeginnersGuide/Overview)