Jump to...
redirecting...

Log for #sitcon

<RSChiang>: (@AndyLou1999: 在台湾ph...) 流行的語言很多吧owo)
<RSChiang>: ↓底下開放大戰
<hfhchan>: 自從轉用 node 之後爽好多😂
<hfhchan>: 配合 async / await
<hfhchan>: 習慣了 functional 搞得返回 php 也寫 functional 然後巨大 performance penalty 😂
<hfhchan>: 但惟獨 $array[] = xxx 要寫成 array.push(xxx) 好不慣
<tonyhhyip>: 管理學教我能 effectively and efficiently 解決問題就是好方法
<tonyhhyip>: 所以 Elixir, Perl 甚麼我都會用
<yoyo930021>: (@AndyLou1999: 在台湾ph...) 還算流行吧
<james58899>: 可是node不是會被單核心運算限制效能
<james58899>: 必須搞LB
<yoyo930021>: (@james58899: 可是nod...) 預設 php 應該也會
<yoyo930021>: (@james58899: 可是nod...) 所以 node 適合 IO 密集應用啊
<james58899>: (@yoyo930021: 所以 no...) async io很讚
<hfhchan>: 當開始用 async await, 真的回不了頭 加上 JavaScript lexical scoping 無得頂
<hfhchan>: Static 也能 polymorph🤤
<hfhchan>: 然後現在公司一堆舊 Java code 都是 static 🤦🏻‍♂
<mmis1000>: (@yoyo930021: 預設 ph...) php本來就是分thread或分process啊
<hfhchan>: 話説 Node 也應該可以開 thread..?
<yoyo930021>: (@hfhchan: 話説 No...) 以前可以 fork 最新的有 worker
<yoyo930021>: (@mmis1000: php本來...) 是 除非 swoole
為什麼不用 @fuck_spam_bot 之類的處理 spam 呢…
<james58899>: 怕誤判吧
<mmis1000>: node.js可以做到在用的最少的thread的情況下榨出最多的io效能
<mmis1000>: 但是對於多核心的利用不怎麼樣
<mmis1000>: 是說kotlin同時有thread model跟event loop model,等於是把node.js跟java的模型合併起來
<mmis1000>: 用起來超舒爽
<mmis1000>: 需要開thread就能開,只是要處理 io 不希望開一堆 thread 浪費資源,就丟給 event loop 讓他自己決定要開幾個 thread,跟呼叫回調的時機
<excfergodst>: spam
<seadog007>: (倒
<pennyken>: (reply @k1tten) 來加蔥啊
<pennyken>: (reply @seadog007) 你的殼類
<seadog007>: (@pennyken: 你的殼勒) drop again
<seadog007>: 我直接翻了這個給他
<daisuke1230>: XD
<pennyken>: ㄎㄧㄤ
<licson>: (reply @k1tten) https://i.imgur.com/WZYmDos.jpg
<licson>: (reply @k1tten) https://i.imgur.com/nOnMpsW.jpg
<tonyhhyip>: @seadog007 甚麼時候離開香港?
<seadog007>: (@tonyhhyip: @sead...) 明天
<seadog007>: CX406
<tonyhhyip>: (@seadog007: 明天) 那沒你的事了
<tonyhhyip>: 一路順風
<mingtsay>: (@seadog007: CX406) 好哦
<DennyHuang>: (@DennyHuang: https...) 這啥XD
<DennyHuang>: 西班牙語 看不懂