由买买提看人间百态

topics

全部话题 - 话题: scalajs
(共0页)
H****S
发帖数: 1359
1
来自主题: Programming版 - scala.js
还有scalaJs-angular。这些库用起来还是有点脱裤子放屁的感觉。scalajs技术层面极
其强大,基本上支持Scala jvm的所有feature。但是要真正流行起来,还得需要一个
native mvc library/framework。
Y**G
发帖数: 1089
2
来自主题: Programming版 - scala.js
https://github.com/japgolly/scalajs-react
不喜勿喷。
H****S
发帖数: 1359
3
来自主题: Programming版 - 再挖一个语言坑:scala流年不顺
我觉得用什么json完全取决于实际的使用情况,做后端的选择多点不是坏事,关键要知
道什么适合自己什么不适合。比如说spray json,最好完全不要用,稍微做点research
就知道它的benchmark是最差的。同样json4s,最好用的是jackson binding,因为同样
的理由,benchmark比liftweb binding要好。如果是做functional programming的后端
,就要考虑jawn或者argonaut,因为这些用builtin的cats/scalaz的interop support
。jawn还可以做incremental parsing。如果再进一步需要要用scalajs前后端通吃,那
就得考虑使用upickle。还是那句话,选择多点从来不是件坏事情。既然json这么重要
,一种solution通吃显然风险太大。
x***4
发帖数: 1815
4
来自主题: Programming版 - scala is leaving JVM
标题党了。还有个scalajs呢。

发帖数: 1
5
I agree with this guy:
"One note on ClojureScript: you're being unfair to it. Assuming that the
developer has picked up some Clojure basics, the "let" form is just how you
do bindings in Clojure, the dot form is how you interop with *both* Java and
Javascript and "set!" is how you mutate things. This is basic syntax that a
Clojure developer can read. It's a little unfair because there's a
difference between somebody that has never read Clojure and somebody who
does know the language.
If you want... 阅读全帖
(共0页)