IT討論區(168) - 切勿做爛市

支那武肺

1001 回覆
10 Like 7 Dislike
Goldman_Sex 2022-07-12 17:18:04
高端區
全日本空氣運輸 2022-07-12 17:20:46
仆街,比我抖吓啦 2022-07-12 17:33:22
lm
素晴 2022-07-12 17:35:35
頭大過腦 2022-07-12 17:36:31
lm
Flinty 2022-07-12 18:42:26
唉 兩日無追,又爆左,無開
腦若傷殘 2022-07-12 18:57:06
飲水教父 2022-07-12 19:10:50
Lm 完回去低端區。。
我愛傻豬傻豬豬 2022-07-12 19:16:22
咁辛苦為乜呀 2022-07-12 19:23:13
點解大陸人咁鐘意golang
其實nodejs python ruby java 都做到backend/api
performance我相信唔會差好撚多
除非你話真係會1m + request per second
咁可能你咁玩真係勁D
情迷芫茜蔥 2022-07-12 19:27:11
殘酷的小賓周 2022-07-12 19:39:28
唔係想讚golang
但你舉呢4個例子 頭3個就interpreted
Java compiled但就jvm
你真係覺得performance 唔會差好多?
殘酷的小賓周 2022-07-12 19:42:05
咁辛苦為乜呀 2022-07-12 19:42:50
我意思寫既時間
用golang 你知啦 有D撚屌鐘意唔用framework
好撚難睇
點解無人講 2022-07-12 19:56:23
點解無咩人講C# .net framework
明明techempower ranking 都排第8
https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=composite
performance 唔差
又有microsoft support
Anchora 2022-07-12 20:29:28
香港好似唔多人寫
利申 份工寫.net同angular
好似兩樣都冷門
殘酷的小賓周 2022-07-12 20:30:53
想回應你關於framework嘅睇法
golang認為呢個係用家嘅責任去maintain readability之類嘅嘢
而有一班golang developer係有意識地唔用framework
通常都係java或者其他oop over-engineering嘅受害者
無framework唔代表無design pattern
千祈唔好一竹竿打沉一船人

https://talks.golang.org/2012/splash.article

The goals of the Go project were to eliminate the slowness and clumsiness of software development at Google, and thereby to make the process more productive and scalable. The language was designed by and for people who write—and read and debug and maintain—large software systems.

Go's purpose is therefore not to do research into programming language design; it is to improve the working environment for its designers and their coworkers. Go is more about software engineering than programming language research. Or to rephrase, it is about language design in the service of software engineering.
殘酷的小賓周 2022-07-12 20:31:54
你最尾個句咪已經講咗個原因
咁辛苦為乜呀 2022-07-12 20:34:01
之前搵到一個叫
buffalo
似rails
咁就睇落唔錯
飲水教父 2022-07-12 20:37:20
現實係你唔需要咁low latency做咁大量計算
寫得快好過program run 得快
至於你話 scalable
呢家野係講係個system design 講你有幾多resources幾多replica 多過講你揀邊隻Lang
連登用php 味一樣scale 到
唔洗咁掛 2022-07-12 20:38:09
幾時有工請呀
咁辛苦為乜呀 2022-07-12 20:40:28
寫得快好過program run 得快
好同意
所以我咪話其實nodejs python ruby java 都一樣得
你要寫golang唔係問題
但你唔用framework 個下就好難睇 你寫得亂 咪難main囉
而家D cloud咁勁 又container 又kubenetes 又load balancer 又可以serverless
大把野setup 加大CPU 加大memory 加大storage 大把方法可以搞得快D
真係好過整D冷門野
飲水教父 2022-07-12 20:42:13
樓上個傻晒系度嘈嘈嘈
系牙go 好能把炮,令你慳到幾百蚊cloud resources 錢牙,go 好能勁
然後為左寫go 就請人又麻煩,寫得又慢,人工蝕番幾十倍
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞