惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
爱范儿
爱范儿
罗磊的独立博客
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
U
Unit 42
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
H
Help Net Security
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理

Java不加糖的Blog

假设, AI 把我代替的那一刻真的到来 | szhshp 的第三边境研究所 小傻瓜都能懂的 AstrBot QQ 机器人集成 MCP 功能实战指南 | szhshp 的第三边境研究所 《智人之上: 从石器时代到 AI 时代的信息网络简史》阅读笔记 | szhshp 的第三边境研究所 iPadOS 26 无法设置空间场景图片壁纸的解决方法 | szhshp 的第三边境研究所 《一路云海》(终) | szhshp 的第三边境研究所 《一路云海》(四): 如何不按套路旅行 | szhshp 的第三边境研究所 《一路云海》(三): In Ya Mellow Tone | szhshp 的第三边境研究所 《一路云海》(二): 关西世博参观纪实 | szhshp 的第三边境研究所 《一路云海》(一): 新的征程 | szhshp 的第三边境研究所 2025 大阪世博会 [ 3 天前-先到先得 ] 阶段 场馆预约必中独家攻略 | szhshp 的第三边境研究所 Hackathon 随想 | szhshp 的第三边境研究所 一杯双皮奶 | szhshp 的第三边境研究所 Armbian + CasaOS + NAS 配置指南 | szhshp 的第三边境研究所 Docker 构建镜像报错: error getting credentials - err: exit status 1, out: `` | szhshp 的第三边境研究所 Disqus RIP! 论过高的维护成本如何治疗固执的坏习惯 | szhshp 的第三边境研究所 炸弹猫桌游变体规则 | szhshp 的第三边境研究所 《小岛经济学》阅读笔记 | szhshp 的第三边境研究所 《金钱心理学》阅读笔记 | szhshp 的第三边境研究所 为知笔记 RIP: 迁移剩余的笔记 | szhshp 的第三边境研究所 2025 博客第十年展望 - 再见我的过去 | szhshp 的第三边境研究所 我在独立游戏里面致敬的作品 | szhshp 的第三边境研究所 《How to make thing faster》阅读笔记 | szhshp 的第三边境研究所 《The Art of Clean Code》阅读笔记 | szhshp 的第三边境研究所 《Clean Architecture: A Craftsman Guide to Software Structure and Design》阅读笔记 | szhshp 的第三边境研究所 《How AI Works》阅读笔记 | szhshp 的第三边境研究所 游戏策划废案 - Project Uranus | szhshp 的第三边境研究所 游戏策划废案 - Project X | szhshp 的第三边境研究所 人生第一款独立游戏开发复盘 | szhshp 的第三边境研究所 Trap of Life | szhshp 的第三边境研究所 wireguard折腾记录
Server-Side Languages Comparation | szhshp 的第三边境研究所
2018-04-20 · via Java不加糖的Blog

Meta

目录

公司很无聊,突然想比较一下,很多种不同的服务端语言, 于是就有了下面这篇文章

Coldfusion

  • Based on JAVA

Pros

  • Based on Tags, easy to learn, very easy to learn, connot be easier.
  • Based on JAVA, easy hosting on Win/Linux
  • Better build-in debugging tools
  • The query operations are very easy

Cons

  • JSON support is not good?
  • Price
  • Based on JAVA, run virtual machine need more memory/resource
  • Powerful server required
  • Not free as JAVA, not easy to extend
  • Support community is not large

PHP

  • Open-source

Pros

  • Free!!
  • Free 3rd apps
  • Free hosting
  • Large support community
  • Many 3rd libs
  • Very low system requirements
  • OOP
  • Interpreted language, easier and faster relatively

Cons

  • Output: needs to wrap the output(something like AJAX in JS), which is clumsy
  • Security, required some additional tools for security consideration

JAVA

Props

  • OOP
  • Better for bigdata analytics
  • Cross-platform, can be compiled for many OS3
  • Memory safe(GC is good)
  • Static type checking, you can find the error in Dev Env

Python

Pros

  • Security, better security than php
  • More compact and clean syntax for dev
  • Many powerful standard lib

Cons

  • Speed, slower than C?
  • Mobile Dev is not very good
  • Memory consumption
  • Database access

Node

Pros

  • Performance(Real fast)
  • Written in JS
  • Highly extensible, NodeJS will provide low-level API which is easy to control all.
  • AJAX, JSON, HTTP Server are easy to use
  • Single-threaded (will create multipld-node process)
  • High compatibility of NOSQL
  • Rich community-driven open-source modules. NPM is cool!

Cons

  • Single thread, would be difficult for complex I/O operation, asynchronos programming is hard To understand
  • Not suitable for large and complex Web Apps
  • Single-threaded
  • Upgrade usually. (May need to rewrite a project for some new changes?)

Reference