What do the two share in common? The original end-concept of the latter was that ultimately, via socialism, the State would simply disappear altogether.
How did that work out?
As to the former, it rests on the idea that, election after election, laws can be kept few, taxes low, agencies small and highly restricted in their functions, court judges pure in their rulings that ever demonstrate strict fealty to words on parchment (“constitutions”), and police always noble and respectful of the many rights the population is supposed to be able to forever enjoy.
How has that ever worked out?
Answer to the opening question posed: Both are foolishly utopian, and based on utter fantasy.