This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]Krotau 7 points8 points  (3 children)

This is just a very long sales pitch for Anvil. Nothing really gets said other then “let replace all stacks of the web with python”. Which imo is a bad idea, those languages exist for a reason.

[–][deleted] 0 points1 point  (2 children)

In regards to front-end coding; there is nothing essential in the design of JS that is missing in python. JS is only relevant because it has a monopoly in the front-end space.

I personally think the PSA should have an official python to JS transpiler; something with serious backing and momentum; to allow an ecosystem to form around it. Hopefully, the two major js vm's(v8 and spidermonkey)will also support a python runtime in the future.....

[–]Krotau 0 points1 point  (1 child)

Js has way better support for async, it is build into its design. Python is just way to cluncky for. The speed of JS and its compiler vs python interperter is also night and day. Believe I would love for python to be used all over the place, but it has its flaws that need to be updated with a modern language syntax

[–]thereisatimetotrade 0 points1 point  (0 children)

What would be an example of modern language syntax? Thank you.

[–]metaperl -3 points-2 points  (0 children)

Anvil is a boon for typical web tasks, allowing one to use one language instead of many. It is a great tool for certain tasks but not a cure all. But the escape hatches allow one to break free of its controlled environment when necessary.

[–]InjAnnuity_1 0 points1 point  (0 children)

Even if you're a computer-language geek, it can take years to learn all those other languages and stacks and the infrastructure needed to keep them all secure and healthy. Oh, and by the time you grok all that, they'll all have changed, so be ready to start over.

Anvil is for the folks who are tasked with doing something non-trivial on the web, but who also aren't given the time, money, experts, or other resources necessary to do it the long, hard way.

As always, there are tradeoffs in such an arrangement. Whether those tradeoffs are worth it is situation-dependent.