2022年9月12日月曜日

If I'm going to build a web app, is it Python FastAPI ? or do you recommend Rails or Laravel?

Rails


Rails is good for initial developers because it is fun to develop and can be developed in a short period of time.


However, it is difficult to hand over to a successor, and for large scale sites, there will be a problem that only the first developer can maintain the site.


It is not suitable for team development, and since it cannot be maintained by others, it becomes a big liability for the company, and there are many companies that have gone bankrupt.

ーーー

Larevel


Larevel is not recommended because of its low speed.


ーーー

Python FastAPI


It is as fast as Go's Gin framework and can use a lot of AI libraries.


Compatible with Snowflake. It is easier to learn than Rust or other languages.


The challenge is that the future of Python will require an upgrade to develop a hybrid Python language that is based on the V language, which is faster, but has the look and syntax of Python.


Compatibility with WuderGraph will also be a work in progress.


Multi-core, multi-threaded support, but single-threaded multi-processing also has many advantages and should be considered.




Vulnerability-free (no security issues); application of Rust technology would be desirable.


ーーー


これからWebアプリを作るならRailsとLaravelのどちらがオススメですか?

・Rails

Railsに関しては、初期開発者は、開発が楽しく、短期間で開発出来て良いです。

しかし、後任に引き継ぎが難しい、大規模さサイトだと、最初の開発者でないとメンテナンス出来ない問題が発生致します。

チームでの開発にも向かない、他人でもメンテナンス出来ないので、企業にとっては大きな負債になる為に、倒産する企業も多数存在する様で御座います。

ーーー

・Larevel

低速なのでお勧め出来ません。

ーーー

・PythonのFastAPI

Go言語のGinフレームワーク並に高速で、AIライブラリが豊富に使えます。

Snowflakeとの互換性があります。学習がRustや他の言語に比べて簡単な方だと思います。

課題としては、Pythonの将来もバージョンアップで、より高速なV言語ベースで、見た目や構文はPythonのハイブリッドなPython言語を開発する必要が御座います。

WuderGraphとの互換性の動作もこれからになります。

マルチコア、マルチスレッド対応、ただしシングルスレッドのマルチプロセスにもメリットが多いので、要検討だと思います。


脆弱性の発生しない(セキュリティ問題の発生しない)仕様。Rustの技術の応用が望ましいと思います。

0 コメント:

コメントを投稿